CodecConfigurer.DefaultCodecs that serves
as a base for client and server specific variants.
| Modifier and Type | Class and Description |
|---|---|
| protected class | BaseDefaultCodecs.
Default implementation of |
| Modifier and Type | Field and Description |
|---|---|
| private Consumer | |
| private Boolean | |
| private Decoder | |
| private Encoder | |
| pack-priv static final boolean | |
| private Decoder | |
| private Encoder | |
| private static final boolean | |
| private Decoder | |
| private Encoder | |
| private static final boolean | |
| private Decoder | |
| private Encoder | |
| pack-priv static final boolean | |
| private Decoder | |
| private Encoder | |
| pack-priv static final boolean | |
| private Decoder | |
| private Encoder | |
| pack-priv static final boolean | |
| private Integer | |
| private BaseDefaultCodecs. | |
| private HttpMessageReader | |
| pack-priv static final boolean | |
| pack-priv static final boolean | |
| private final List | |
| private final List | |
| private Supplier | |
| private Decoder | |
| private Encoder | |
| private static final boolean | |
| private boolean | |
| pack-priv static final boolean | |
| private final List | |
| private final List |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected <T> void | |
| pack-priv void | |
| private void | |
| public void | configureDefaultCodec(Consumer<Object>
the consumer to apply codecConsumer)Implements org. Register a consumer to apply to default config instances. |
| public void | enableLoggingRequestDetails(boolean
whether to enable or not enable)Implements org. Whether to log form data at DEBUG level, and headers at TRACE level. |
| protected void | extendObjectReaders(List<HttpMessageReader<?>> objectReaders)
Hook for client or server specific Object readers. |
| protected void | extendObjectWriters(List<HttpMessageWriter<?>> objectWriters)
Hook for client or server specific Object writers. |
| protected void | extendTypedReaders(List<HttpMessageReader<?>> typedReaders)
Hook for client or server specific typed readers. |
| protected void | extendTypedWriters(List<HttpMessageWriter<?>> typedWriters)
Hook for client or server specific typed writers. |
| pack-priv final List | |
| pack-priv final List | |
| pack-priv final List | |
| pack-priv List | |
| protected Decoder | |
| protected Encoder | |
| protected Decoder | |
| protected Encoder | |
| pack-priv final List | |
| pack-priv final List | |
| private List | |
| pack-priv final List | |
| pack-priv final List | |
| private void | initCodec(Object codec)
Apply |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| public Boolean | isEnableLoggingRequestDetails()
Implements org. Whether to log form data at DEBUG level, and headers at TRACE level. |
| public void | jackson2JsonDecoder(Decoder<?>
the decoder instance to use decoder)Implements org. Override the default Jackson JSON |
| public void | jackson2JsonEncoder(Encoder<?>
the encoder instance to use encoder)Implements org. Override the default Jackson JSON |
| public void | jackson2SmileDecoder(Decoder<?>
the decoder instance to use decoder)Implements org. Override the default Jackson Smile |
| public void | jackson2SmileEncoder(Encoder<?>
the encoder instance to use encoder)Implements org. Override the default Jackson Smile |
| public void | jaxb2Decoder(Decoder<?>
the decoder instance to use decoder)Implements org. Override the default JAXB2 |
| public void | jaxb2Encoder(Encoder<?>
the encoder instance to use encoder)Implements org. Override the default JABX2 |
| public void | kotlinSerializationCborDecoder(Decoder<?>
the decoder instance to use decoder)Implements org. Override the default Kotlin Serialization CBOR |
| public void | kotlinSerializationCborEncoder(Encoder<?>
the encoder instance to use encoder)Implements org. Override the default Kotlin Serialization CBOR |
| public void | kotlinSerializationJsonDecoder(Decoder<?>
the decoder instance to use decoder)Implements org. Override the default Kotlin Serialization JSON |
| public void | kotlinSerializationJsonEncoder(Encoder<?>
the encoder instance to use encoder)Implements org. Override the default Kotlin Serialization JSON |
| public void | kotlinSerializationProtobufDecoder(Decoder<?>
the decoder instance to use decoder)Implements org. Override the default Kotlin Serialization Protobuf |
| public void | kotlinSerializationProtobufEncoder(Encoder<?>
the encoder instance to use encoder)Implements org. Override the default Kotlin Serialization Protobuf |
| public void | maxInMemorySize(int
the max number of bytes to buffer, or -1 for unlimited byteCount)Implements org. Configure a limit on the number of bytes that can be buffered whenever the input stream needs to be aggregated. |
| public Integer | maxInMemorySize()
Implements org. Get the configured limit on the number of bytes that can be buffered whenever the input stream needs to be aggregated. |
| public CodecConfigurer. | multipartCodecs()
Implements org. Configure encoders or writers for use with
|
| public void | multipartReader(HttpMessageReader<?>
the message reader to use for multipart requests. multipartReader)Implements org. Configure the |
| public void | protobufDecoder(Decoder<?>
the decoder instance to use decoder)Implements org. Override the default Protobuf |
| public void | protobufEncoder(Encoder<?>
the encoder instance to use encoder)Implements org. Override the default Protobuf |
| pack-priv void | registerDefaults(boolean registerDefaults)
Delegate method used from |
| pack-priv void | setPartWritersSupplier(Supplier<List<HttpMessageWriter<?>>> supplier)
Set a supplier for part writers to use when
|