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 |
Provides implementations of
Encoder
and Decoder for web use. |
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.web.multipart.support |
Support classes for the multipart resolution framework.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HttpInputMessage
|
interface |
HttpOutputMessage
|
interface |
HttpRequest
|
interface |
ReactiveHttpInputMessage
A "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
org.springframework.web.reactive.function.client.ClientRequest |
interface |
ClientHttpRequest
Represents a client-side HTTP request.
|
interface |
ClientHttpResponse
Represents a client-side HTTP response.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractClientHttpRequest
Abstract base for
ClientHttpRequest that makes sure that headers
and body are not written multiple times. |
class |
AbstractClientHttpResponse
Abstract base for
ClientHttpResponse . |
Modifier and Type | Class and Description |
---|---|
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 |
DelegatingServerHttpResponse
Implementation of
ServerHttpResponse that delegates all calls to a
given target ServerHttpResponse . |
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 |
RequestPartServletServerHttpRequest
ServerHttpRequest implementation that accesses one part of a multipart
request. |