Interface ServerCodecConfigurer
- All Superinterfaces:
- CodecConfigurer
- All Known Implementing Classes:
- DefaultServerCodecConfigurer
Extension of 
CodecConfigurer for HTTP message reader and writer
options relevant on the server side.
HTTP message readers for the following are registered by default:
- ByteBuffer
- DataBuffer
- Resource
- String
- MultiValueMap<String,String>for form data
- MultiValueMap<String,Object>for multipart data
- JSON and Smile, if Jackson is present
- XML, if JAXB2 is present
byte[]
HTTP message writers registered by default:
- ByteBuffer
- DataBuffer
- Resource
- String
- MultiValueMap<String,String>for form data
- JSON and Smile, if Jackson is present
- XML, if JAXB2 is present
- Server-Sent Events
byte[]
- Since:
- 5.0
- Author:
- Rossen Stoyanchev
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceCodecConfigurer.DefaultCodecsextension with extra server-side options.Nested classes/interfaces inherited from interface CodecConfigurerCodecConfigurer.CustomCodecs, CodecConfigurer.DefaultCodecConfig, CodecConfigurer.DefaultCodecs, CodecConfigurer.MultipartCodecs
- 
Method SummaryModifier and TypeMethodDescriptionclone()Create a copy of thisCodecConfigurer.static ServerCodecConfigurercreate()Static factory method for aServerCodecConfigurer.Provides a way to customize or replace HTTP message readers and writers registered by default.Methods inherited from interface CodecConfigurercustomCodecs, getReaders, getWriters, registerDefaults
- 
Method Details- 
defaultCodecsServerCodecConfigurer.ServerDefaultCodecs defaultCodecs()Provides a way to customize or replace HTTP message readers and writers registered by default.On the server side, built-in default also include customizations related to the encoder for SSE. - Specified by:
- defaultCodecsin interface- CodecConfigurer
- See Also:
 
- 
cloneServerCodecConfigurer clone()Create a copy of thisCodecConfigurer. 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.- Specified by:
- clonein interface- CodecConfigurer
 
- 
createStatic factory method for aServerCodecConfigurer.
 
-