public interface ClientCodecConfigurer extends CodecConfigurer
CodecConfigurer
for HTTP message reader and writer
options relevant on the client side.
HTTP message readers for the following are registered by default:
byte[]
ByteBuffer
DataBuffer
Resource
String
MultiValueMap<String,String>
for form data
HTTP message writers registered by default:
byte[]
ByteBuffer
DataBuffer
Resource
String
MultiValueMap<String,String>
for form data
MultiValueMap<String,Object>
for multipart data
Modifier and Type | Interface and Description |
---|---|
static interface |
ClientCodecConfigurer.ClientDefaultCodecs
CodecConfigurer.DefaultCodecs extension with extra client-side options. |
static interface |
ClientCodecConfigurer.MultipartCodecs
Registry and container for multipart HTTP message writers.
|
CodecConfigurer.CustomCodecs, CodecConfigurer.DefaultCodecConfig, CodecConfigurer.DefaultCodecs
Modifier and Type | Method and Description |
---|---|
ClientCodecConfigurer |
clone()
Create a copy of this
CodecConfigurer . |
static ClientCodecConfigurer |
create()
Static factory method for a
ClientCodecConfigurer . |
ClientCodecConfigurer.ClientDefaultCodecs |
defaultCodecs()
Provides a way to customize or replace HTTP message readers and writers
registered by default.
|
customCodecs, getReaders, getWriters, registerDefaults
ClientCodecConfigurer.ClientDefaultCodecs defaultCodecs()
On the client side, built-in default also include customizations related to multipart readers and writers, as well as the decoder for SSE.
defaultCodecs
in interface CodecConfigurer
CodecConfigurer.registerDefaults(boolean)
ClientCodecConfigurer clone()
CodecConfigurer
. The returned clone has its
own lists of default and custom codecs and generally can be configured
independently. Keep in mind however that codec instances (if any are
configured) are themselves not cloned..clone
in interface CodecConfigurer
static ClientCodecConfigurer create()
ClientCodecConfigurer
.