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
Modifier and TypeMethodDescriptionAdd a PartEncoder, internally wrapped withEncoderHttpMessageWriter.writer(HttpMessageWriter<?> writer) Add a PartHttpMessageWriter.
-
Method Details
-
encoder
Add a PartEncoder, internally wrapped withEncoderHttpMessageWriter.- Parameters:
encoder- the encoder to add
-
writer
Add a PartHttpMessageWriter. For writers of typeEncoderHttpMessageWriterconsider using the shortcutencoder(Encoder)instead.- Parameters:
writer- the writer to add
-