Uses of Interface
org.springframework.http.ReactiveHttpOutputMessage
Package
Description
Contains a basic abstraction over client/server-side HTTP.
Abstractions for reactive HTTP client support including
ClientHttpRequest
and
ClientHttpResponse
as well as a
ClientHttpConnector
.Multipart support.
Provides an encoder and a decoder for
Google Protocol Buffers.
Abstractions for reactive HTTP server support including a
ServerHttpRequest
and
ServerHttpResponse
along with an
HttpHandler
for processing.Mock implementations of reactive HTTP client contracts.
Mock implementations of reactive HTTP server contracts.
Provides a foundation for both the reactive client and server subpackages.
-
Uses of ReactiveHttpOutputMessage in org.springframework.http
Modifier and TypeInterfaceDescriptioninterface
Sub-interface ofReactiveOutputMessage
that has support for "zero-copy" file transfers. -
Uses of ReactiveHttpOutputMessage in org.springframework.http.client.reactive
Modifier and TypeInterfaceDescriptioninterface
Represents a client-side reactive HTTP request.Modifier and TypeClassDescriptionclass
Base class forClientHttpRequest
implementations.class
Wraps anotherClientHttpRequest
and delegates all methods to it. -
Uses of ReactiveHttpOutputMessage in org.springframework.http.codec
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
ResourceHttpMessageWriter.addDefaultHeaders
(ReactiveHttpOutputMessage message, Resource resource, MediaType contentType, Map<String, Object> hints) Adds the default headers for the given resource to the given message.void
ResourceHttpMessageWriter.addHeaders
(ReactiveHttpOutputMessage message, Resource resource, MediaType contentType, Map<String, Object> hints) Deprecated, for removal: This API element is subject to removal in a future version.reactor.core.publisher.Mono<Void>
EncoderHttpMessageWriter.write
(Publisher<? extends T> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) reactor.core.publisher.Mono<Void>
FormHttpMessageWriter.write
(Publisher<? extends MultiValueMap<String, String>> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) reactor.core.publisher.Mono<Void>
HttpMessageWriter.write
(Publisher<? extends T> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) Write a given stream of object to the output message.reactor.core.publisher.Mono<Void>
ResourceHttpMessageWriter.write
(Publisher<? extends Resource> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) reactor.core.publisher.Mono<Void>
ServerSentEventHttpMessageWriter.write
(Publisher<?> input, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) -
Uses of ReactiveHttpOutputMessage in org.springframework.http.codec.multipart
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
MultipartHttpMessageWriter.write
(Publisher<? extends MultiValueMap<String, ?>> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage outputMessage, Map<String, Object> hints) reactor.core.publisher.Mono<Void>
PartEventHttpMessageWriter.write
(Publisher<? extends PartEvent> partDataStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage outputMessage, Map<String, Object> hints) reactor.core.publisher.Mono<Void>
PartHttpMessageWriter.write
(Publisher<? extends Part> parts, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage outputMessage, Map<String, Object> hints) -
Uses of ReactiveHttpOutputMessage in org.springframework.http.codec.protobuf
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>
ProtobufHttpMessageWriter.write
(Publisher<? extends com.google.protobuf.Message> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) -
Uses of ReactiveHttpOutputMessage in org.springframework.http.server.reactive
Modifier and TypeInterfaceDescriptioninterface
Represents a reactive server-side HTTP response.Modifier and TypeClassDescriptionclass
Abstract base class for listener-based server responses.class
Base class forServerHttpResponse
implementations.class
ServerHttpResponse
decorator for HTTP HEAD requests.class
Wraps anotherServerHttpResponse
and delegates all methods to it. -
Uses of ReactiveHttpOutputMessage in org.springframework.mock.http.client.reactive
-
Uses of ReactiveHttpOutputMessage in org.springframework.mock.http.server.reactive
Modifier and TypeClassDescriptionclass
Mock extension ofAbstractServerHttpResponse
for use in tests without an actual server. -
Uses of ReactiveHttpOutputMessage in org.springframework.web.reactive.function
Modifier and TypeInterfaceDescriptioninterface
BodyInserter<T,
M extends ReactiveHttpOutputMessage> A combination of functions that can populate aReactiveHttpOutputMessage
body.Modifier and TypeMethodDescriptionstatic <T> BodyInserter<T,
ReactiveHttpOutputMessage> BodyInserters.empty()
Inserter that does not write.static <T extends Publisher<DataBuffer>>
BodyInserter<T,ReactiveHttpOutputMessage> BodyInserters.fromDataBuffers
(T publisher) Inserter to write the givenPublisher<DataBuffer>
to the body.static <T> BodyInserter<T,
ReactiveHttpOutputMessage> BodyInserters.fromObject
(T body) Deprecated.As of Spring Framework 5.2, in favor ofBodyInserters.fromValue(Object)
static <T extends Publisher<DataBuffer>>
BodyInserter<T,ReactiveHttpOutputMessage> BodyInserters.fromOutputStream
(Consumer<OutputStream> outputStreamConsumer, Executor executor) Inserter based on bytes written to aOutputStream
.static <T extends Publisher<DataBuffer>>
BodyInserter<T,ReactiveHttpOutputMessage> BodyInserters.fromOutputStream
(Consumer<OutputStream> outputStreamConsumer, Executor executor, int chunkSize) Inserter based on bytes written to aOutputStream
.static <T> BodyInserter<T,
ReactiveHttpOutputMessage> BodyInserters.fromProducer
(T producer, Class<?> elementClass) Inserter to write the given producer of value(s) which must be aPublisher
or another producer adaptable to aPublisher
viaReactiveAdapterRegistry
.static <T> BodyInserter<T,
ReactiveHttpOutputMessage> BodyInserters.fromProducer
(T producer, ParameterizedTypeReference<?> elementTypeRef) Inserter to write the given producer of value(s) which must be aPublisher
or another producer adaptable to aPublisher
viaReactiveAdapterRegistry
.static <T,
P extends Publisher<T>>
BodyInserter<P,ReactiveHttpOutputMessage> BodyInserters.fromPublisher
(P publisher, Class<T> elementClass) Inserter to write the givenPublisher
.static <T,
P extends Publisher<T>>
BodyInserter<P,ReactiveHttpOutputMessage> BodyInserters.fromPublisher
(P publisher, ParameterizedTypeReference<T> elementTypeRef) Inserter to write the givenPublisher
.static <T extends Resource>
BodyInserter<T,ReactiveHttpOutputMessage> BodyInserters.fromResource
(T resource) Inserter to write the givenResource
.static <T> BodyInserter<T,
ReactiveHttpOutputMessage> BodyInserters.fromValue
(T body) Inserter to write the given value.static <T> BodyInserter<T,
ReactiveHttpOutputMessage> BodyInserters.fromValue
(T body, ParameterizedTypeReference<T> bodyType) Inserter to write the given value.
ResourceHttpMessageWriter.addDefaultHeaders(ReactiveHttpOutputMessage, Resource, MediaType, Map)
, for removal = 6.2