public static interface ClientCodecConfigurer.MultipartCodecs
Modifier and Type | Method and Description |
---|---|
ClientCodecConfigurer.MultipartCodecs |
encoder(Encoder<?> encoder)
Add a Part
Encoder , internally wrapped with
EncoderHttpMessageWriter . |
ClientCodecConfigurer.MultipartCodecs |
writer(HttpMessageWriter<?> writer)
Add a Part
HttpMessageWriter . |
ClientCodecConfigurer.MultipartCodecs encoder(Encoder<?> encoder)
Encoder
, internally wrapped with
EncoderHttpMessageWriter
.encoder
- the encoder to addClientCodecConfigurer.MultipartCodecs writer(HttpMessageWriter<?> writer)
HttpMessageWriter
. For writers of type
EncoderHttpMessageWriter
consider using the shortcut
encoder(Encoder)
instead.writer
- the writer to add