Uses of Interface
org.springframework.http.HttpMessage
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.
Provides HttpMessageConverter implementations for handling JSON.
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.
Support for testing Spring WebFlux server endpoints via
WebTestClient
.Support classes for the multipart resolution framework.
-
Uses of HttpMessage in org.springframework.http
Modifier and TypeInterfaceDescriptioninterface
interface
interface
interface
A "reactive" HTTP input message that exposes the input asPublisher
.interface
A "reactive" HTTP output message that accepts output as aPublisher
.interface
Represents an HTTP output message that allows for setting a streaming body.interface
Sub-interface ofReactiveOutputMessage
that has support for "zero-copy" file transfers. -
Uses of HttpMessage in org.springframework.http.client
Modifier and TypeInterfaceDescriptioninterface
Represents a client-side HTTP request.interface
Represents a client-side HTTP response.Modifier and TypeClassDescriptionclass
Abstract base forClientHttpRequest
that makes sure that headers and body are not written multiple times.class
Deprecated.as of 6.0, with no direct replacement; scheduled for removal in 6.2 -
Uses of HttpMessage in org.springframework.http.client.reactive
Modifier and TypeInterfaceDescriptioninterface
Represents a client-side reactive HTTP request.interface
Represents a client-side reactive HTTP response.Modifier and TypeClassDescriptionclass
Base class forClientHttpRequest
implementations.class
Wraps anotherClientHttpRequest
and delegates all methods to it.class
Wraps anotherClientHttpResponse
and delegates all methods to it. -
Uses of HttpMessage in org.springframework.http.client.support
Modifier and TypeClassDescriptionclass
Provides a convenient implementation of theHttpRequest
interface that can be overridden to adapt the request. -
Uses of HttpMessage in org.springframework.http.codec
Modifier and TypeMethodDescriptionprotected MediaType
DecoderHttpMessageReader.getContentType
(HttpMessage inputMessage) Determine the Content-Type of the HTTP message based on the "Content-Type" header or otherwise default toMediaType.APPLICATION_OCTET_STREAM
. -
Uses of HttpMessage in org.springframework.http.converter.json
Modifier and TypeClassDescriptionclass
HttpInputMessage
that can eventually stores a Jackson view that will be used to deserialize the message. -
Uses of HttpMessage in org.springframework.http.server
Modifier and TypeInterfaceDescriptioninterface
Represents a server-side HTTP request.interface
Represents a server-side HTTP response.Modifier and TypeClassDescriptionclass
Implementation ofServerHttpResponse
that delegates all calls to a given targetServerHttpResponse
.class
ServerHttpRequest
implementation that is based on aHttpServletRequest
.class
ServerHttpResponse
implementation that is based on aHttpServletResponse
. -
Uses of HttpMessage in org.springframework.http.server.reactive
Modifier and TypeInterfaceDescriptioninterface
Represents a reactive server-side HTTP request.interface
Represents a reactive server-side HTTP response.Modifier and TypeClassDescriptionclass
Abstract base class for listener-based server responses.class
Common base class forServerHttpRequest
implementations.class
Base class forServerHttpResponse
implementations.class
ServerHttpResponse
decorator for HTTP HEAD requests.class
Wraps anotherServerHttpRequest
and delegates all methods to it.class
Wraps anotherServerHttpResponse
and delegates all methods to it. -
Uses of HttpMessage in org.springframework.mock.http
Modifier and TypeClassDescriptionclass
Mock implementation ofHttpInputMessage
.class
Mock implementation ofHttpOutputMessage
. -
Uses of HttpMessage in org.springframework.mock.http.client
Modifier and TypeClassDescriptionclass
Mock implementation ofClientHttpRequest
.class
Mock implementation ofClientHttpResponse
. -
Uses of HttpMessage in org.springframework.mock.http.client.reactive
Modifier and TypeClassDescriptionclass
Mock implementation ofClientHttpRequest
.class
Mock implementation ofClientHttpResponse
. -
Uses of HttpMessage in org.springframework.mock.http.server.reactive
Modifier and TypeClassDescriptionfinal class
Mock extension ofAbstractServerHttpRequest
for use in tests without an actual server.class
Mock extension ofAbstractServerHttpResponse
for use in tests without an actual server. -
Uses of HttpMessage in org.springframework.test.web.reactive.server
Modifier and TypeInterfaceDescriptioninterface
SimpleClientHttpResponse
extension that also exposes a result object from the underlying mock server exchange for further assertions on the state of the server response after the request is performed. -
Uses of HttpMessage in org.springframework.web.multipart.support
Modifier and TypeClassDescriptionclass
ServerHttpRequest
implementation that accesses one part of a multipart request.