インターフェースの使用
org.springframework.http.codec.CodecConfigurer.DefaultCodecConfig
org.springframework.http.codec 内の CodecConfigurer.DefaultCodecConfig 使用
修飾子と型メソッド説明void
CodecConfigurer.CustomCodecs.registerWithDefaultConfig
(ObjectSE codec, ConsumerSE<CodecConfigurer.DefaultCodecConfig> configConsumer) 呼び出し元がCodecConfigurer.DefaultCodecConfig
のプロパティを特定のコーデックに適用できるようにするCodecConfigurer.CustomCodecs.register(Object)
のバリアント。void
CodecConfigurer.CustomCodecs.withDefaultCodecConfig
(ConsumerSE<CodecConfigurer.DefaultCodecConfig> codecsConfigConsumer) 使用すべきではありません。
CodecConfigurer.CustomCodecs.registerWithDefaultConfig(Object)
またはCodecConfigurer.CustomCodecs.registerWithDefaultConfig(Object, Consumer)
を使用してください。