Top Description Interfaces Classes Enums
module spring.web

Package org.springframework.http

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Contains a basic abstraction over client/server-side HTTP. This package contains the HttpInputMessage and HttpOutputMessage interfaces.

Interface Summary

Modifier and TypeInterface and Description
public interface
HttpInputMessage

Represents an HTTP input message, consisting of headers and a readable body.

public interface
HttpMessage

Represents the base interface for HTTP request and response messages.

public interface
HttpOutputMessage

Represents an HTTP output message, consisting of headers and a writable body.

public interface
HttpRequest

Represents an HTTP request message, consisting of a method and a URI.

public interface
HttpStatusCode

Represents an HTTP response status code.

public interface
ReactiveHttpInputMessage

A "reactive" HTTP input message that exposes the input as Publisher.

public interface
ReactiveHttpOutputMessage

A "reactive" HTTP output message that accepts output as a Publisher.

public interface
StreamingHttpOutputMessage

Represents an HTTP output message that allows for setting a streaming body.

public interface
ZeroCopyHttpOutputMessage

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

Class Summary

Modifier and TypeClass and Description
public class
CacheControl

A builder for creating "Cache-Control" HTTP response headers.

public class
ContentDisposition

Representation of the Content-Disposition type and parameters as defined in RFC 6266.

pack-priv class
DefaultHttpStatusCode

Default implementation of HttpStatusCode.

public class
HttpCookie

Represents an HTTP cookie as a name-value pair consistent with the content of the "Cookie" request header.

public class
HttpEntity<
the body type
T
>

Represents an HTTP request or response entity, consisting of headers and body.

public class
HttpHeaders

A data structure representing HTTP request or response headers, mapping String header names to a list of String values, also offering accessors for common application-level data types.

public abstract class
HttpLogging

Holds the shared logger named "org.springframework.web.HttpLogging" for HTTP related logging when "org.springframework.http" is not enabled but "org.springframework.web" is.

public class
HttpMethod

Represents an HTTP request method.

pack-priv class
HttpMimeTypesRuntimeHints

RuntimeHintsRegistrar implementation that makes sure mime types are available in constrained environments.

public abstract class
HttpRange

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

public class
InvalidMediaTypeException

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

public class
MediaType

A subclass of MimeType that adds support for quality parameters as defined in the HTTP specification.

public class
MediaTypeEditor

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

public class
MediaTypeFactory

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

public class
ProblemDetail

Representation for an RFC 7807 problem detail.

pack-priv class
ReadOnlyHttpHeaders

HttpHeaders object that can only be read, not written to.

public class
RequestEntity<
the body type
T
>

Extension of HttpEntity that also exposes the HTTP method and the target URL.

public class
ResponseCookie

An HttpCookie subclass with the additional attributes allowed in the "Set-Cookie" response header.

public class
ResponseEntity<
the body type
T
>

Extension of HttpEntity that adds an HttpStatusCode status code.

Enum Summary

Modifier and TypeEnum and Description
public enum
HttpStatus

Enumeration of HTTP status codes.