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.DefaultCodecs
Modifier and Type | Method and Description |
---|---|
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)
static ClientCodecConfigurer create()
ClientCodecConfigurer
.