Package | Description |
---|---|
org.springframework.http |
Contains a basic abstraction over client/server-side HTTP.
|
org.springframework.http.client |
Contains an abstraction over client-side HTTP.
|
org.springframework.http.client.reactive |
Abstractions for reactive HTTP client support including
ClientHttpRequest and
ClientHttpResponse as well as a
ClientHttpConnector . |
org.springframework.http.client.support |
This package provides generic HTTP support classes,
to be used by higher-level classes like RestTemplate.
|
org.springframework.http.codec | |
org.springframework.http.converter.json |
Provides HttpMessageConverter implementations for handling JSON.
|
org.springframework.http.server |
Contains an abstraction over server-side HTTP.
|
org.springframework.http.server.reactive |
Abstractions for reactive HTTP server support including a
ServerHttpRequest and
ServerHttpResponse along with an
HttpHandler for processing. |
org.springframework.mock.http |
Mock implementations of client/server-side HTTP abstractions.
|
org.springframework.mock.http.client |
Mock implementations of client-side HTTP abstractions.
|
org.springframework.mock.http.client.reactive |
Mock implementations of reactive HTTP client contracts.
|
org.springframework.mock.http.server.reactive |
Mock implementations of reactive HTTP server contracts.
|
org.springframework.web.multipart.support |
Support classes for the multipart resolution framework.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HttpInputMessage
|
interface |
HttpOutputMessage
|
interface |
HttpRequest
|
interface |
ReactiveHttpInputMessage
An "reactive" HTTP input message that exposes the input as
Publisher . |
interface |
ReactiveHttpOutputMessage
A "reactive" HTTP output message that accepts output as a
Publisher . |
interface |
StreamingHttpOutputMessage
Represents an HTTP output message that allows for setting a streaming body.
|
interface |
ZeroCopyHttpOutputMessage
Sub-interface of
ReactiveOutputMessage that has support for "zero-copy"
file transfers. |
Modifier and Type | Interface and Description |
---|---|
interface |
AsyncClientHttpRequest
Deprecated.
as of Spring 5.0, in favor of
ClientRequest |
interface |
ClientHttpRequest
Represents a client-side HTTP request.
|
interface |
ClientHttpResponse
Represents a client-side HTTP response.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractClientHttpResponse
Abstract base for
ClientHttpResponse . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractClientHttpRequest
Base class for
ClientHttpRequest implementations. |
class |
ClientHttpRequestDecorator
Wraps another
ClientHttpRequest and delegates all methods to it. |
class |
ClientHttpResponseDecorator
Wraps another
ClientHttpResponse and delegates all methods to it. |
Modifier and Type | Class and Description |
---|---|
class |
HttpRequestWrapper
Provides a convenient implementation of the
HttpRequest interface
that can be overridden to adapt the request. |
Modifier and Type | Method and Description |
---|---|
protected MediaType |
DecoderHttpMessageReader.getContentType(HttpMessage inputMessage)
Determine the Content-Type of the HTTP message based on the
"Content-Type" header or otherwise default to
MediaType.APPLICATION_OCTET_STREAM . |
Modifier and Type | Class and Description |
---|---|
class |
MappingJacksonInputMessage
HttpInputMessage that can eventually stores a Jackson view that will be used
to deserialize the message. |
Modifier and Type | Interface and Description |
---|---|
interface |
ServerHttpRequest
Represents a server-side HTTP request.
|
interface |
ServerHttpResponse
Represents a server-side HTTP response.
|
Modifier and Type | Class and Description |
---|---|
class |
ServletServerHttpRequest
ServerHttpRequest implementation that is based on a HttpServletRequest . |
class |
ServletServerHttpResponse
ServerHttpResponse implementation that is based on a HttpServletResponse . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractListenerServerHttpResponse
Abstract base class for listener-based server responses, e.g.
|
class |
AbstractServerHttpRequest
Common base class for
ServerHttpRequest implementations. |
class |
AbstractServerHttpResponse
Base class for
ServerHttpResponse implementations. |
class |
HttpHeadResponseDecorator
ServerHttpResponse decorator for HTTP HEAD requests. |
class |
ServerHttpRequestDecorator
Wraps another
ServerHttpRequest and delegates all methods to it. |
class |
ServerHttpResponseDecorator
Wraps another
ServerHttpResponse and delegates all methods to it. |
Modifier and Type | Class and Description |
---|---|
class |
MockHttpInputMessage
Mock implementation of
HttpInputMessage . |
class |
MockHttpOutputMessage
Mock implementation of
HttpOutputMessage . |
Modifier and Type | Class and Description |
---|---|
class |
MockAsyncClientHttpRequest
Deprecated.
as of Spring 5.0, with no direct replacement
|
class |
MockClientHttpRequest
Mock implementation of
ClientHttpRequest . |
Modifier and Type | Class and Description |
---|---|
class |
MockClientHttpResponse
Mock implementation of
ClientHttpResponse . |
Modifier and Type | Class and Description |
---|---|
class |
MockServerHttpRequest
Mock extension of
AbstractServerHttpRequest for use in tests without
an actual server. |
class |
MockServerHttpResponse
Mock extension of
AbstractServerHttpResponse for use in tests without
an actual server. |
Modifier and Type | Class and Description |
---|---|
class |
RequestPartServletServerHttpRequest
ServerHttpRequest implementation that accesses one part of a multipart
request. |