Package | Description |
---|---|
org.springframework.http |
Contains a basic abstraction over client/server-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.codec | |
org.springframework.http.codec.multipart |
Multipart support.
|
org.springframework.http.codec.protobuf |
Provides an encoder and a decoder for
Google Protocol Buffers.
|
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.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.reactive.function |
Provides a foundation for both the reactive client and server subpackages.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ZeroCopyHttpOutputMessage
Sub-interface of
ReactiveOutputMessage that has support for "zero-copy"
file transfers. |
Modifier and Type | Interface and Description |
---|---|
interface |
ClientHttpRequest
Represents a client-side reactive HTTP request.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractClientHttpRequest
Base class for
ClientHttpRequest implementations. |
class |
ClientHttpRequestDecorator
Wraps another
ClientHttpRequest and delegates all methods to it. |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
ServerSentEventHttpMessageWriter.write(org.reactivestreams.Publisher<?> input,
ResolvableType elementType,
MediaType mediaType,
ReactiveHttpOutputMessage message,
java.util.Map<java.lang.String,java.lang.Object> hints) |
reactor.core.publisher.Mono<java.lang.Void> |
FormHttpMessageWriter.write(org.reactivestreams.Publisher<? extends MultiValueMap<java.lang.String,java.lang.String>> inputStream,
ResolvableType elementType,
MediaType mediaType,
ReactiveHttpOutputMessage message,
java.util.Map<java.lang.String,java.lang.Object> hints) |
reactor.core.publisher.Mono<java.lang.Void> |
ResourceHttpMessageWriter.write(org.reactivestreams.Publisher<? extends Resource> inputStream,
ResolvableType elementType,
MediaType mediaType,
ReactiveHttpOutputMessage message,
java.util.Map<java.lang.String,java.lang.Object> hints) |
reactor.core.publisher.Mono<java.lang.Void> |
HttpMessageWriter.write(org.reactivestreams.Publisher<? extends T> inputStream,
ResolvableType elementType,
MediaType mediaType,
ReactiveHttpOutputMessage message,
java.util.Map<java.lang.String,java.lang.Object> hints)
Write an given stream of object to the output message.
|
reactor.core.publisher.Mono<java.lang.Void> |
EncoderHttpMessageWriter.write(org.reactivestreams.Publisher<? extends T> inputStream,
ResolvableType elementType,
MediaType mediaType,
ReactiveHttpOutputMessage message,
java.util.Map<java.lang.String,java.lang.Object> hints) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
MultipartHttpMessageWriter.write(org.reactivestreams.Publisher<? extends MultiValueMap<java.lang.String,?>> inputStream,
ResolvableType elementType,
MediaType mediaType,
ReactiveHttpOutputMessage outputMessage,
java.util.Map<java.lang.String,java.lang.Object> hints) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Void> |
ProtobufHttpMessageWriter.write(org.reactivestreams.Publisher<? extends com.google.protobuf.Message> inputStream,
ResolvableType elementType,
MediaType mediaType,
ReactiveHttpOutputMessage message,
java.util.Map<java.lang.String,java.lang.Object> hints) |
Modifier and Type | Interface and Description |
---|---|
interface |
ServerHttpResponse
Represents a reactive server-side HTTP response.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractListenerServerHttpResponse
Abstract base class for listener-based server responses, e.g.
|
class |
AbstractServerHttpResponse
Base class for
ServerHttpResponse implementations. |
class |
HttpHeadResponseDecorator
ServerHttpResponse decorator for HTTP HEAD requests. |
class |
ServerHttpResponseDecorator
Wraps another
ServerHttpResponse and delegates all methods to it. |
Modifier and Type | Class and Description |
---|---|
class |
MockClientHttpRequest
Mock implementation of
ClientHttpRequest . |
Modifier and Type | Class and Description |
---|---|
class |
MockServerHttpResponse
Mock extension of
AbstractServerHttpResponse for use in tests without
an actual server. |
Modifier and Type | Interface and Description |
---|---|
interface |
BodyInserter<T,M extends ReactiveHttpOutputMessage>
A combination of functions that can populate a
ReactiveHttpOutputMessage body. |
Modifier and Type | Method and Description |
---|---|
static <T> BodyInserter<T,ReactiveHttpOutputMessage> |
BodyInserters.empty()
Inserter that does not write.
|
static <T extends org.reactivestreams.Publisher<DataBuffer>> |
BodyInserters.fromDataBuffers(T publisher)
Inserter to write the given
Publisher<DataBuffer> to the body. |
static <T> BodyInserter<T,ReactiveHttpOutputMessage> |
BodyInserters.fromObject(T body)
Inserter to write the given object.
|
static <T,P extends org.reactivestreams.Publisher<T>> |
BodyInserters.fromPublisher(P publisher,
java.lang.Class<T> elementClass)
Inserter to write the given
Publisher . |
static <T,P extends org.reactivestreams.Publisher<T>> |
BodyInserters.fromPublisher(P publisher,
ParameterizedTypeReference<T> typeReference)
Inserter to write the given
Publisher . |
static <T extends Resource> |
BodyInserters.fromResource(T resource)
Inserter to write the given
Resource . |