public interface ServerCodecConfigurer extends CodecConfigurer
CodecConfigurer.customCodecs().
The built-in defaults include basic data types such as various byte
representations, resources, strings, forms, but also others like JAXB2 and
Jackson 2 based on classpath detection. There are options to
override some of the defaults or to have them
turned off completely.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ServerCodecConfigurer.ServerDefaultCodecs
Extension of
CodecConfigurer.DefaultCodecs with extra server options. |
CodecConfigurer.CustomCodecs, CodecConfigurer.DefaultCodecs| Modifier and Type | Method and Description |
|---|---|
static ServerCodecConfigurer |
create()
Create a new instance of the
ServerCodecConfigurer. |
ServerCodecConfigurer.ServerDefaultCodecs |
defaultCodecs()
Configure or customize the default HTTP message readers and writers.
|
customCodecs, getReaders, getWriters, registerDefaultsServerCodecConfigurer.ServerDefaultCodecs defaultCodecs()
CodecConfigurerdefaultCodecs in interface CodecConfigurerstatic ServerCodecConfigurer create()
ServerCodecConfigurer.