Interface ClientCodecConfigurer.ClientDefaultCodecs
- All Superinterfaces:
- CodecConfigurer.DefaultCodecs
- Enclosing interface:
- ClientCodecConfigurer
public static interface ClientCodecConfigurer.ClientDefaultCodecs
extends CodecConfigurer.DefaultCodecs
CodecConfigurer.DefaultCodecs extension with extra client-side options.- Since:
- 5.0
- Author:
- Rossen Stoyanchev
- 
Method SummaryModifier and TypeMethodDescriptionvoidserverSentEventDecoder(Decoder<?> decoder) Configure theDecoderto use for Server-Sent Events.Methods inherited from interface CodecConfigurer.DefaultCodecsconfigureDefaultCodec, enableLoggingRequestDetails, gsonDecoder, gsonEncoder, jackson2JsonDecoder, jackson2JsonEncoder, jackson2SmileDecoder, jackson2SmileEncoder, jacksonJsonDecoder, jacksonJsonEncoder, jacksonSmileDecoder, jacksonSmileEncoder, jaxb2Decoder, jaxb2Encoder, kotlinSerializationCborDecoder, kotlinSerializationCborEncoder, kotlinSerializationJsonDecoder, kotlinSerializationJsonEncoder, kotlinSerializationProtobufDecoder, kotlinSerializationProtobufEncoder, maxInMemorySize, multipartCodecs, multipartReader, protobufDecoder, protobufEncoder
- 
Method Details- 
serverSentEventDecoderConfigure theDecoderto use for Server-Sent Events.By default if this is not set, and Jackson is available, the CodecConfigurer.DefaultCodecs.jackson2JsonDecoder(Decoder)override is used instead. Use this method to customize the SSE decoder.Note that CodecConfigurer.DefaultCodecs.maxInMemorySize(int), if configured, will be applied to the given decoder.- Parameters:
- decoder- the decoder to use
 
 
-