public interface ServerCodecConfigurer extends CodecConfigurer
CodecConfigurer
for HTTP message reader and writer
options relevant on the server side.
HTTP message readers for the following are registered by default:
byte[]
ByteBuffer
DataBuffer
Resource
String
MultiValueMap<String,String>
for form data
MultiValueMap<String,Object>
for multipart data
HTTP message writers registered by default:
byte[]
ByteBuffer
DataBuffer
Resource
String
MultiValueMap<String,String>
for form data
Modifier and Type | Interface and Description |
---|---|
static interface |
ServerCodecConfigurer.ServerDefaultCodecs
CodecConfigurer.DefaultCodecs extension with extra client-side options. |
CodecConfigurer.CustomCodecs, CodecConfigurer.DefaultCodecs
Modifier and Type | Method and Description |
---|---|
static ServerCodecConfigurer |
create()
Static factory method for a
ServerCodecConfigurer . |
ServerCodecConfigurer.ServerDefaultCodecs |
defaultCodecs()
Provides a way to customize or replace HTTP message readers and writers
registered by default.
|
customCodecs, getReaders, getWriters, registerDefaults
ServerCodecConfigurer.ServerDefaultCodecs defaultCodecs()
On the server side, built-in default also include customizations related to the encoder for SSE.
defaultCodecs
in interface CodecConfigurer
CodecConfigurer.registerDefaults(boolean)
static ServerCodecConfigurer create()
ServerCodecConfigurer
.