@NonNullApi @NonNullFields

# Package org.springframework.http.codec

Provides implementations of `Encoder` and `Decoder` for web use.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  ClientCodecConfigurer | Extension of `CodecConfigurer` for HTTP message reader and writer options relevant on the client side.
  ClientCodecConfigurer.ClientDefaultCodecs | `CodecConfigurer.DefaultCodecs` extension with extra client-side options.
  ClientCodecConfigurer.MultipartCodecs | Registry and container for multipart HTTP message writers.
  CodecConfigurer | Defines a common interface for configuring either client or server HTTP message readers and writers.
  CodecConfigurer.CustomCodecs | Registry for custom HTTP message readers and writers.
  CodecConfigurer.DefaultCodecConfig | Exposes the values of properties configured through `CodecConfigurer.defaultCodecs()` that are applied to default codecs.
  CodecConfigurer.DefaultCodecs | Customize or replace the HTTP message readers and writers registered by default.
  HttpMessageDecoder<T> | Extension of `Decoder` exposing extra methods relevant in the context of HTTP request or response body decoding.
  HttpMessageEncoder<T> | Extension of `Encoder` exposing extra methods relevant in the context of HTTP request or response body encoding.
  HttpMessageReader<T> | Strategy for reading from a `ReactiveHttpInputMessage` and decoding the stream of bytes to Objects of type `<T>`.
  HttpMessageWriter<T> | Strategy for encoding a stream of objects of type `<T>` and writing the encoded stream of bytes to an `ReactiveHttpOutputMessage`.
  ServerCodecConfigurer | Extension of `CodecConfigurer` for HTTP message reader and writer options relevant on the server side.
  ServerCodecConfigurer.ServerDefaultCodecs | `CodecConfigurer.DefaultCodecs` extension with extra server-side options.
  ServerSentEvent.Builder<T> | A mutable builder for a `SseEvent`.

- Class Summary
  Class | Description
  --- | ---
  DecoderHttpMessageReader<T> | `HttpMessageReader` that wraps and delegates to a `Decoder`.
  EncoderHttpMessageWriter<T> | `HttpMessageWriter` that wraps and delegates to an `Encoder`.
  FormHttpMessageReader | Implementation of an `HttpMessageReader` to read HTML form data, i.e.
  FormHttpMessageWriter | `HttpMessageWriter` for writing a `MultiValueMap<String, String>` as HTML form data, i.e.
  LoggingCodecSupport | Base class for `Encoder`, `Decoder`, `HttpMessageReader`, or `HttpMessageWriter` that uses a logger and shows potentially sensitive request data.
  ResourceHttpMessageReader | `HttpMessageReader` that wraps and delegates to a `ResourceDecoder` that extracts the filename from the `"Content-Disposition"` header, if available, and passes it as the `ResourceDecoder.FILENAME_HINT`.
  ResourceHttpMessageWriter | `HttpMessageWriter` that can write a `Resource`.
  ServerSentEvent<T> | Representation for a Server-Sent Event for use with Spring's reactive Web support.
  ServerSentEventHttpMessageReader | Reader that supports a stream of `ServerSentEvents` and also plain `Objects` which is the same as an `ServerSentEvent` with data only.
  ServerSentEventHttpMessageWriter | `HttpMessageWriter` for `"text/event-stream"` responses.

## Package org.springframework.http.codec Description

Provides implementations of `Encoder` and `Decoder` for web use.

Also declares a high-level `HttpMessageReader` and `HttpMessageWriter` for reading and writing the body of HTTP requests and responses.