spring-framework / org.springframework.http

Package org.springframework.http

Types

ContentDisposition

open class ContentDisposition

Represent the Content-Disposition type and parameters as defined in RFC 2183.

HttpRange

abstract class HttpRange

Represents an HTTP (byte) range for use with the HTTP "Range" header.

MediaTypeEditor

open class MediaTypeEditor : PropertyEditorSupport

java.beans.PropertyEditor for MediaType descriptors, to automatically convert String specifications (e.g. "text/html") to MediaType properties.

MediaTypeFactory

open class MediaTypeFactory

A factory delegate for resolving MediaType objects from Resource handles or filenames.

StreamingHttpOutputMessage

interface StreamingHttpOutputMessage : HttpOutputMessage

Represents a HTTP output message that allows for setting a streaming body. Note that such messages typically do not support #getBody() access.

ZeroCopyHttpOutputMessage

interface ZeroCopyHttpOutputMessage : ReactiveHttpOutputMessage

Sub-interface of ReactiveOutputMessage that has support for "zero-copy" file transfers.

Exceptions

InvalidMediaTypeException

open class InvalidMediaTypeException : IllegalArgumentException

Exception thrown from MediaType#parseMediaType(String) in case of encountering an invalid media type specification String.