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 |
jaxb2Decoder(Decoder<?> decoder)
Override the default JAXB2
Decoder . |
void |
jaxb2Encoder(Encoder<?> encoder)
Override the default JABX2
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 jaxb2Decoder(Decoder<?> decoder)
Decoder
.decoder
- the decoder instance to useJaxb2XmlDecoder
void jaxb2Encoder(Encoder<?> encoder)
Encoder
.encoder
- the encoder instance to useJaxb2XmlEncoder
void enableLoggingRequestDetails(boolean enable)
By default set to false
so that request details are not shown.
enable
- whether to enable or not