spring-framework / org.springframework.http.codec

Package org.springframework.http.codec

Types

DecoderHttpMessageReader

open class DecoderHttpMessageReader<T : Any> : HttpMessageReader<T>

HttpMessageReader that wraps and delegates to a Decoder.

Also a HttpMessageReader that pre-resolves decoding hints from the extra information available on the server side such as the request or controller method parameter annotations.

FormHttpMessageReader

open class FormHttpMessageReader : HttpMessageReader<MultiValueMap<String, String>>

Implementation of an HttpMessageReader to read HTML form data, i.e. request body with media type "application/x-www-form-urlencoded".

HttpMessageEncoder

interface HttpMessageEncoder<T : Any> : Encoder<T>

Extension of Encoder exposing extra methods relevant in the context of HTTP request or response body encoding.

ServerSentEventHttpMessageReader

open class ServerSentEventHttpMessageReader : HttpMessageReader<Any>

Reader that supports a stream of ServerSentEvents and also plain Objects which is the same as an ServerSentEvent with data only.

ServerSentEventHttpMessageWriter

open class ServerSentEventHttpMessageWriter : HttpMessageWriter<Any>

HttpMessageWriter for "text/event-stream" responses.