インターフェース ClientCodecConfigurer.ClientDefaultCodecs
- すべてのスーパーインターフェース:
CodecConfigurer.DefaultCodecs
- 含まれているインターフェース:
- ClientCodecConfigurer
public static interface ClientCodecConfigurer.ClientDefaultCodecs
extends CodecConfigurer.DefaultCodecs
追加のクライアント側オプションを備えた
CodecConfigurer.DefaultCodecs
拡張。方法の概要
インターフェース org.springframework.http.codec.CodecConfigurer.DefaultCodecs から継承されたメソッド
configureDefaultCodec, enableLoggingRequestDetails, jackson2JsonDecoder, jackson2JsonEncoder, jackson2SmileDecoder, jackson2SmileEncoder, jaxb2Decoder, jaxb2Encoder, kotlinSerializationCborDecoder, kotlinSerializationCborEncoder, kotlinSerializationJsonDecoder, kotlinSerializationJsonEncoder, kotlinSerializationProtobufDecoder, kotlinSerializationProtobufEncoder, maxInMemorySize, multipartCodecs, multipartReader, protobufDecoder, protobufEncoder
メソッドの詳細
serverSentEventDecoder
サーバー送信イベントに使用するDecoder
を構成します。デフォルトでは、これが設定されておらず、Jackson が使用可能な場合、代わりに
CodecConfigurer.DefaultCodecs.jackson2JsonDecoder(org.springframework.core.codec.Decoder<?>)
オーバーライドが使用されます。このメソッドを使用して、SSE デコーダーをカスタマイズします。CodecConfigurer.DefaultCodecs.maxInMemorySize(int)
が設定されている場合、指定されたデコーダに適用されることに注意してください。- パラメーター:
decoder
- 使用するデコーダー