接口 CodecConfigurer.MultipartCodecs
- 封闭接口:
- CodecConfigurer
public static interface CodecConfigurer.MultipartCodecs
Registry and container for multipart HTTP message writers.
-
方法概要
修饰符和类型方法说明encoder(cn.taketoday.core.codec.Encoder<?> encoder) Add a PartEncoder, internally wrapped withEncoderHttpMessageWriter.writer(HttpMessageWriter<?> writer) Add a PartHttpMessageWriter.
-
方法详细资料
-
encoder
Add a PartEncoder, internally wrapped withEncoderHttpMessageWriter.- 参数:
encoder- the encoder to add
-
writer
Add a PartHttpMessageWriter. For writers of typeEncoderHttpMessageWriterconsider using the shortcutencoder(Encoder)instead.- 参数:
writer- the writer to add
-