Package org.springframework.http.codec
Interface CodecConfigurer.MultipartCodecs
- Enclosing interface:
- CodecConfigurer
public static interface CodecConfigurer.MultipartCodecs
Registry and container for multipart HTTP message writers.
- Since:
- 6.0.3
-
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
-