インターフェース ServerCodecConfigurer.ServerDefaultCodecs
- すべてのスーパーインターフェース:
CodecConfigurer.DefaultCodecs
- 含まれているインターフェース:
- ServerCodecConfigurer
public static interface ServerCodecConfigurer.ServerDefaultCodecs
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
メソッドの詳細
serverSentEventEncoder
サーバー送信イベントに使用するEncoder
を構成します。デフォルトでは、これが設定されておらず、Jackson が使用可能な場合、代わりに
CodecConfigurer.DefaultCodecs.jackson2JsonEncoder(org.springframework.core.codec.Encoder<?>)
オーバーライドが使用されます。この方法を使用して、SSE エンコーダーをカスタマイズします。