Package org.springframework.http
@NonNullApi
@NonNullFields
package org.springframework.http
Contains a basic abstraction over client/server-side HTTP. This package contains
the
HttpInputMessage
and HttpOutputMessage
interfaces.-
ClassDescriptionA builder for creating "Cache-Control" HTTP response headers.Representation of the Content-Disposition type and parameters as defined in RFC 6266.A mutable builder for
ContentDisposition
.Represents an HTTP cookie as a name-value pair consistent with the content of the "Cookie" request header.HttpEntity<T>Represents an HTTP request or response entity, consisting of headers and body.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.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.Represents the base interface for HTTP request and response messages.Represents an HTTP request method.Represents an HTTP (byte) range for use with the HTTP"Range"
header.Enumeration of HTTP status codes.Enumeration of HTTP status series.Exception thrown fromMediaType.parseMediaType(String)
in case of encountering an invalid media type specification String.A subclass ofMimeType
that adds support for quality parameters as defined in the HTTP specification.Representation of an RFC 7807 problem detail, including all RFC-defined fields.An "reactive" HTTP input message that exposes the input asPublisher
.A "reactive" HTTP output message that accepts output as aPublisher
.Extension ofHttpEntity
that also exposes the HTTP method and the target URL.Defines a builder that adds a body to the response entity.RequestEntity.HeadersBuilder<B extends RequestEntity.HeadersBuilder<B>>Defines a builder that adds headers to the request entity.RequestEntity initialized with a URI template and variables instead of aURI
.AnHttpCookie
subclass with the additional attributes allowed in the "Set-Cookie" response header.A builder for a server-defined HttpCookie with attributes.Extension ofHttpEntity
that adds anHttpStatus
status code.Defines a builder that adds a body to the response entity.ResponseEntity.HeadersBuilder<B extends ResponseEntity.HeadersBuilder<B>>Defines a builder that adds headers to the response entity.Represents an HTTP output message that allows for setting a streaming body.Defines the contract for bodies that can be written directly to anOutputStream
.Sub-interface ofReactiveOutputMessage
that has support for "zero-copy" file transfers.