Uses of Package
org.springframework.http
Package
Description
Contains a basic abstraction over client/server-side HTTP.
Contains an abstraction over client-side HTTP.
Abstractions for reactive HTTP client support including
ClientHttpRequest
and
ClientHttpResponse
as well as a
ClientHttpConnector
.This package provides generic HTTP support classes,
to be used by higher-level classes like RestTemplate.
JSON encoder and decoder support.
Multipart support.
Provides an encoder and a decoder for
Google Protocol Buffers.
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
Provides HttpMessageConverter implementations for handling Atom and RSS feeds.
Provides HttpMessageConverter implementations for handling JSON.
Provides an HttpMessageConverter implementation for handling
Google Protocol Buffers.
Provides HttpMessageConverter implementations for handling XML.
Contains an abstraction over server-side HTTP.
Abstractions for reactive HTTP server support including a
ServerHttpRequest
and
ServerHttpResponse
along with an
HttpHandler
for processing.Mock implementations of client/server-side HTTP abstractions.
Mock implementations of client-side HTTP abstractions.
Mock implementations of reactive HTTP client contracts.
Mock implementations of reactive HTTP server contracts.
A comprehensive set of Servlet API 6.0 mock objects, targeted at usage with
Spring's Web MVC framework.
Mock objects for the functional web framework.
Test support for HTTP concepts.
Contains client-side REST testing support.
Contains built-in
RequestMatcher
implementations.Contains built-in
ResponseCreator
implementations.Support for testing Spring WebFlux server endpoints via
WebTestClient
.AssertJ support for MockMvc.
Support for testing Spring MVC applications via
WebTestClient
with MockMvc
for server request
handling.Contains built-in
RequestBuilder
implementations.Contains built-in
ResultMatcher
and ResultHandler
implementations.Common, generic interfaces that define minimal boundary points
between Spring's web infrastructure and other framework modules.
This package contains classes used to determine the requested the media types in a request.
Provides web-specific data binding functionality.
Annotations for binding requests to controllers and handler methods
as well as for binding request parameters to method arguments.
Core package of the client-side web support.
Classes supporting the
org.springframework.web.client
package.Support for generic request context holding, in particular for
scoping of application objects per HTTP request or HTTP session.
Support for asynchronous request processing.
Support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor
strategy.Reactive support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor
strategy.Provides generic filter base classes allowing for bean-style configuration.
Common infrastructure for handler method processing, as used by
Spring MVC's
org.springframework.web.servlet.mvc.method
package.Support classes for annotation-based handler method processing.
Generic support classes for handler method processing.
Multipart resolution framework for handling file uploads.
Support classes for the multipart resolution framework.
RequestedContentTypeResolver
strategy and implementations to resolve the requested content type for a
given request.Spring WebFlux configuration infrastructure.
Provides a foundation for both the reactive client and server subpackages.
Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive
reactive HTTP adapter layer.Classes supporting the
org.springframework.web.reactive.function.client
package.Provides the types that make up Spring's functional web framework for Reactive environments.
Classes supporting the
org.springframework.web.reactive.function.server
package.Provides HandlerMapping implementations including abstract base classes.
Support classes for serving static resources.
Support for various programming model styles including the invocation of
different types of handlers like an annotated controller or a simple
WebHandler
.RequestCondition
and implementations for matching requests based on different criteria.Infrastructure for annotation-based handler method processing.
Support for result handling through view resolution.
Support classes for the integration of
FreeMarker
as Spring web view technology.
Support classes for views based on the JSR-223 script engine abstraction.
Abstractions and support classes for reactive WebSocket interactions.
Client support for WebSocket interactions.
Core interfaces and classes for Spring's generic, reactive web support.
Provides common WebHandler implementations and a
WebHandlerDecorator
.Auxiliary interfaces and implementation classes for
WebSession
support.Support for creating a client proxy for an HTTP service annotated with
HttpExchange
methods.Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
Annotation-based setup for Spring MVC.
Provides the types that make up Spring's functional web framework for Servlet environments.
Standard controller implementations for the Servlet MVC framework that comes with
Spring.
Common MVC logic for matching incoming requests based on conditions.
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.Support classes for serving static resources.
Support classes for Spring's web MVC framework.
Provides standard View and ViewResolver implementations,
including abstract base classes for custom implementations.
Common abstractions and Spring configuration support for WebSocket applications.
Adapter classes for the Jetty WebSocket API.
Adapter classes for the standard Jakarta WebSocket API.
Client-side abstractions for WebSocket applications.
Client-side classes for use with standard Jakarta WebSocket endpoints.
Convenient
WebSocketHandler
implementations and decorators.SockJS client implementation of
WebSocketClient
.Support classes for SockJS including an
AbstractSockJsService
implementation.Server-side support for SockJS transports including
TransportHandler
implementations
for processing incoming requests, their
session
counterparts for sending messages over the various transports, and
DefaultSockJsService
.TransportHandler
implementation classes as well as a concrete
SockJsService
.SockJS specific implementations of
WebSocketSession
.Miscellaneous web utility classes, such as HTML escaping and cookie handling.
-
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 ETag for HTTP conditional requests.Represents an HTTP cookie as a name-value pair consistent with the content of the "Cookie" request header.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.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.Represents an HTTP response status code.A subclass ofMimeType
that adds support for quality parameters as defined in the HTTP specification.Representation for an RFC 9457 problem detail.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.Defines a builder that adds headers to the request entity.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 anHttpStatusCode
status code.Defines a builder that adds a body to the response entity.Defines a builder that adds headers to the response entity.Defines the contract for bodies that can be written directly to anOutputStream
. -
ClassDescriptionRepresents 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.Represents the base interface for HTTP request and response messages.Represents an HTTP request method.Represents an HTTP response status code.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification. -
ClassDescriptionRepresents an HTTP cookie as a name-value pair consistent with the content of the "Cookie" request header.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.Represents the base interface for HTTP request and response messages.Represents an HTTP request method.Represents an HTTP response status code.A "reactive" HTTP input message that exposes the input as
Publisher
.A "reactive" HTTP output message that accepts output as aPublisher
.AnHttpCookie
subclass with the additional attributes allowed in the "Set-Cookie" response header. -
ClassDescriptionA 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.Represents the base interface for HTTP request and response messages.Represents an HTTP request method.
-
ClassDescriptionRepresents the base interface for HTTP request and response messages.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification.A "reactive" HTTP input message that exposes the input asPublisher
.A "reactive" HTTP output message that accepts output as aPublisher
. -
-
ClassDescriptionA 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.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification.A "reactive" HTTP input message that exposes the input asPublisher
.A "reactive" HTTP output message that accepts output as aPublisher
. -
-
ClassDescriptionRepresents 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.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification. -
ClassDescriptionA subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification. -
ClassDescriptionA 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.Represents the base interface for HTTP request and response messages.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification. -
ClassDescriptionA subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification. -
ClassDescriptionA 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.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification. -
ClassDescriptionA 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.Represents the base interface for HTTP request and response messages.Represents an HTTP request method.Represents an HTTP response status code.
-
ClassDescriptionRepresents an HTTP cookie as a name-value pair consistent with the content of the "Cookie" request header.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.Represents the base interface for HTTP request and response messages.Represents an HTTP request method.Represents an HTTP response status code.A "reactive" HTTP input message that exposes the input as
Publisher
.A "reactive" HTTP output message that accepts output as aPublisher
.AnHttpCookie
subclass with the additional attributes allowed in the "Set-Cookie" response header. -
ClassDescriptionA 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.Represents the base interface for HTTP request and response messages.
-
ClassDescriptionRepresents the base interface for HTTP request and response messages.Represents an HTTP request method.Represents an HTTP response status code.
-
ClassDescriptionA 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.Represents the base interface for HTTP request and response messages.Represents an HTTP request method.Represents an HTTP response status code.A "reactive" HTTP input message that exposes the input as
Publisher
.A "reactive" HTTP output message that accepts output as aPublisher
.AnHttpCookie
subclass with the additional attributes allowed in the "Set-Cookie" response header. -
ClassDescriptionRepresents an HTTP cookie as a name-value pair consistent with the content of the "Cookie" request header.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.A subclass ofMimeType
that adds support for quality parameters as defined in the HTTP specification.A "reactive" HTTP input message that exposes the input asPublisher
.A "reactive" HTTP output message that accepts output as aPublisher
. -
ClassDescriptionA 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.Represents an HTTP request method.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification. -
ClassDescriptionRepresents an HTTP cookie as a name-value pair consistent with the content of the "Cookie" request header.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.Represents an HTTP request method.
-
ClassDescriptionA 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.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification. -
-
ClassDescriptionRepresents an HTTP request method.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification. -
ClassDescriptionA 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.Represents an HTTP response status code.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification.AnHttpCookie
subclass with the additional attributes allowed in the "Set-Cookie" response header. -
ClassDescriptionA builder for creating "Cache-Control" HTTP response headers.Representation of the Content-Disposition type and parameters as defined in RFC 6266.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.Represents the base interface for HTTP request and response messages.Represents an HTTP request method.Represents an HTTP response status code.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification.A "reactive" HTTP input message that exposes the input asPublisher
.AnHttpCookie
subclass with the additional attributes allowed in the "Set-Cookie" response header. -
ClassDescriptionRepresents an HTTP request method.Enumeration of HTTP status codes.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification. -
-
ClassDescriptionA 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.Represents an HTTP request method.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification. -
ClassDescriptionA 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.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification. -
ClassDescriptionA 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.Represents an HTTP request method.Represents an HTTP response status code.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification.Representation for an RFC 9457 problem detail. -
-
ClassDescriptionRepresents an HTTP response status code.Representation for an RFC 9457 problem detail.
-
-
ClassDescriptionRepresents 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.Represents the base interface for HTTP request and response messages.Represents an HTTP request method.Enumeration of HTTP status series.Represents an HTTP response status code.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification.Extension ofHttpEntity
that also exposes the HTTP method and the target URL.Extension ofHttpEntity
that adds anHttpStatusCode
status code.Defines the contract for bodies that can be written directly to anOutputStream
. -
ClassDescriptionA 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.Extension of
HttpEntity
that adds anHttpStatusCode
status code. -
-
ClassDescriptionRepresents an HTTP response status code.Representation for an RFC 9457 problem detail.
-
-
-
ClassDescriptionEnumeration of HTTP status codes.Represents an HTTP response status code.
-
-
-
-
ClassDescriptionA 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.Represents an HTTP request method.Represents an HTTP response status code.Representation for an RFC 9457 problem detail.
-
ClassDescriptionA 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.Represents the base interface for HTTP request and response messages.Represents an HTTP request method.Represents an HTTP response status code.Representation for an RFC 9457 problem detail.
-
-
ClassDescriptionA builder for creating "Cache-Control" HTTP response headers.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification. -
-
ClassDescriptionA 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.Represents an HTTP request method.Represents an HTTP response status code.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification.AnHttpCookie
subclass with the additional attributes allowed in the "Set-Cookie" response header.Extension ofHttpEntity
that adds anHttpStatusCode
status code. -
ClassDescriptionA 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.Represents an HTTP response status code.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification.AnHttpCookie
subclass with the additional attributes allowed in the "Set-Cookie" response header.Extension ofHttpEntity
that adds anHttpStatusCode
status code. -
ClassDescriptionA builder for creating "Cache-Control" HTTP response headers.Represents an HTTP cookie as a name-value pair consistent with the content of the "Cookie" request header.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.Represents an HTTP request method.Represents an HTTP (byte) range for use with the HTTP
"Range"
header.Represents an HTTP response status code.A subclass ofMimeType
that adds support for quality parameters as defined in the HTTP specification.AnHttpCookie
subclass with the additional attributes allowed in the "Set-Cookie" response header. -
ClassDescriptionRepresents an HTTP cookie as a name-value pair consistent with the content of the "Cookie" request header.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.Represents an HTTP request method.Represents an HTTP (byte) range for use with the HTTP
"Range"
header.A subclass ofMimeType
that adds support for quality parameters as defined in the HTTP specification. -
-
ClassDescriptionA builder for creating "Cache-Control" HTTP response headers.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.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification. -
-
-
ClassDescriptionA 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.Enumeration of HTTP status codes.Represents an HTTP response status code.Representation for an RFC 9457 problem detail.Extension of
HttpEntity
that adds anHttpStatusCode
status code. -
ClassDescriptionA 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.Represents an HTTP response status code.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification. -
-
-
ClassDescriptionRepresents an HTTP cookie as a name-value pair consistent with the content of the "Cookie" request header.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.
-
ClassDescriptionA 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.
-
ClassDescriptionA 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.Represents an HTTP request method.Represents an HTTP response status code.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification.Representation for an RFC 9457 problem detail. -
-
ClassDescriptionA builder for a server-defined HttpCookie with attributes.
-
ClassDescriptionA 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.Represents an HTTP request method.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification.Extension ofHttpEntity
that adds anHttpStatusCode
status code. -
ClassDescriptionA 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.Represents an HTTP response status code.Representation for an RFC 9457 problem detail.
-
ClassDescriptionA builder for creating "Cache-Control" HTTP response headers.Represents an HTTP response status code.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification. -
ClassDescriptionA builder for creating "Cache-Control" HTTP response headers.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.Represents an HTTP request method.Represents an HTTP (byte) range for use with the HTTP
"Range"
header.Represents an HTTP response status code.A subclass ofMimeType
that adds support for quality parameters as defined in the HTTP specification. -
ClassDescriptionA builder for creating "Cache-Control" HTTP response headers.Represents an HTTP response status code.
-
-
ClassDescriptionA 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.Enumeration of HTTP status codes.Represents an HTTP response status code.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification.Representation for an RFC 9457 problem detail.Extension ofHttpEntity
that adds anHttpStatusCode
status code. -
ClassDescriptionA 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.Represents an HTTP request method.Represents an HTTP response status code.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification.Representation for an RFC 9457 problem detail. -
-
ClassDescriptionA 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.Represents an HTTP response status code.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification. -
ClassDescriptionA 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.
-
ClassDescriptionA 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.
-
ClassDescriptionA 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.
-
ClassDescriptionA 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.
-
ClassDescriptionA 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.
-
ClassDescriptionA 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.
-
ClassDescriptionA 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.Extension of
HttpEntity
that adds anHttpStatusCode
status code. -
-
-
ClassDescriptionRepresents an HTTP response status code.A subclass of
MimeType
that adds support for quality parameters as defined in the HTTP specification. -
ClassDescriptionA 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.
-
ClassDescriptionA 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.