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