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
DefaultCodecs with extra server options. |
CodecConfigurer.CustomCodecs, CodecConfigurer.DefaultCodecs
Modifier and Type | Method and Description |
---|---|
static ServerCodecConfigurer |
create()
Creates a new instance of the
ServerCodecConfigurer . |
ServerCodecConfigurer.ServerDefaultCodecs |
defaultCodecs()
Configure or customize the default HTTP message readers and writers.
|
customCodecs, getReaders, getWriters, registerDefaults
ServerCodecConfigurer.ServerDefaultCodecs defaultCodecs()
CodecConfigurer
defaultCodecs
in interface CodecConfigurer
static ServerCodecConfigurer create()
ServerCodecConfigurer
.