public static interface CodecConfigurer.DefaultCodecs
ClientDefaultCodecs
and
ServerDefaultCodecs
.Modifier and Type | Method and Description |
---|---|
void |
enableLoggingRequestDetails(boolean enable)
Whether to log form data at DEBUG level, and headers at TRACE level.
|
void |
jackson2JsonDecoder(Decoder<?> decoder)
Override the default Jackson JSON
Decoder . |
void |
jackson2JsonEncoder(Encoder<?> encoder)
Override the default Jackson JSON
Encoder . |
void |
protobufDecoder(Decoder<?> decoder)
Override the default Protobuf
Decoder . |
void |
protobufEncoder(Encoder<?> encoder)
Override the default Protobuf
Encoder . |
void jackson2JsonDecoder(Decoder<?> decoder)
Decoder
.decoder
- the decoder instance to useJackson2JsonDecoder
void jackson2JsonEncoder(Encoder<?> encoder)
Encoder
.encoder
- the encoder instance to useJackson2JsonEncoder
void protobufDecoder(Decoder<?> decoder)
Decoder
.decoder
- the decoder instance to useProtobufDecoder
void protobufEncoder(Encoder<?> encoder)
Encoder
.encoder
- the encoder instance to useProtobufEncoder
,
ProtobufHttpMessageWriter
void enableLoggingRequestDetails(boolean enable)
By default set to false
so that request details are not shown.
enable
- whether to enable or not