Interface ServerCodecConfigurer

All Superinterfaces:
CodecConfigurer
All Known Implementing Classes:
DefaultServerCodecConfigurer

public interface ServerCodecConfigurer extends CodecConfigurer
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:

    byte[]
  • 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

HTTP message writers registered by default:

    byte[]
  • 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
Since:
5.0
Author:
Rossen Stoyanchev