Package org.springframework.http.codec
Interface ClientCodecConfigurer.MultipartCodecs
- Enclosing interface:
- ClientCodecConfigurer
public static interface ClientCodecConfigurer.MultipartCodecs
Registry and container for multipart HTTP message writers.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClientCodecConfigurer.MultipartCodecsencoder(Encoder<?> encoder)Add a PartEncoder, internally wrapped withEncoderHttpMessageWriter.ClientCodecConfigurer.MultipartCodecswriter(HttpMessageWriter<?> writer)Add a PartHttpMessageWriter.
Method Detail
encoder
ClientCodecConfigurer.MultipartCodecs encoder(Encoder<?> encoder)
Add a PartEncoder, internally wrapped withEncoderHttpMessageWriter.- Parameters:
encoder- the encoder to add
writer
ClientCodecConfigurer.MultipartCodecs writer(HttpMessageWriter<?> writer)
Add a PartHttpMessageWriter. For writers of typeEncoderHttpMessageWriterconsider using the shortcutencoder(Encoder)instead.- Parameters:
writer- the writer to add