接口的使用
cn.taketoday.http.codec.CodecConfigurer.DefaultCodecConfig
程序包
说明
Provides implementations of
Encoder
and Decoder for web use.Provides implementations of
ClientCodecConfigurer
and ServerCodecConfigurer based on the converter
implementations from cn.taketoday.http.codec.json and co.-
cn.taketoday.http.codec中CodecConfigurer.DefaultCodecConfig的使用
修饰符和类型方法说明voidCodecConfigurer.CustomCodecs.registerWithDefaultConfig(Object codec, Consumer<CodecConfigurer.DefaultCodecConfig> configConsumer) Variant ofCodecConfigurer.CustomCodecs.register(Object)that also allows the caller to apply the properties fromCodecConfigurer.DefaultCodecConfigto the given codec.voidCodecConfigurer.CustomCodecs.withDefaultCodecConfig(Consumer<CodecConfigurer.DefaultCodecConfig> codecsConfigConsumer) Register a callback for theconfigurationapplied to default codecs. -
cn.taketoday.http.codec.support中CodecConfigurer.DefaultCodecConfig的使用
修饰符和类型类说明(专用程序包) classDefault implementation ofCodecConfigurer.DefaultCodecsthat serves as a base for client and server specific variants.(专用程序包) classDefault implementation ofClientCodecConfigurer.ClientDefaultCodecs.(专用程序包) classDefault implementation ofServerCodecConfigurer.ServerDefaultCodecs.修饰符和类型字段说明private final ArrayList<Consumer<CodecConfigurer.DefaultCodecConfig>>BaseCodecConfigurer.DefaultCustomCodecs.defaultConfigConsumers修饰符和类型方法说明(专用程序包) List<Consumer<CodecConfigurer.DefaultCodecConfig>>BaseCodecConfigurer.DefaultCustomCodecs.getDefaultConfigConsumers()修饰符和类型方法说明voidBaseCodecConfigurer.DefaultCustomCodecs.registerWithDefaultConfig(Object codec, Consumer<CodecConfigurer.DefaultCodecConfig> configConsumer) voidBaseCodecConfigurer.DefaultCustomCodecs.withDefaultCodecConfig(Consumer<CodecConfigurer.DefaultCodecConfig> codecsConfigConsumer)