接口的使用
org.springframework.http.ReactiveHttpOutputMessage
使用ReactiveHttpOutputMessage的程序包 程序包 说明 org.springframework.http Contains a basic abstraction over client/server-side HTTP.org.springframework.http.client.reactive Abstractions for reactive HTTP client support includingClientHttpRequestandClientHttpResponseas well as aClientHttpConnector.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 aServerHttpRequestandServerHttpResponsealong with anHttpHandlerfor 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.org.springframework.http中ReactiveHttpOutputMessage的使用
org.springframework.http中ReactiveHttpOutputMessage的子接口 修饰符和类型 接口 说明 interfaceZeroCopyHttpOutputMessageSub-interface ofReactiveOutputMessagethat has support for "zero-copy" file transfers.org.springframework.http.client.reactive中ReactiveHttpOutputMessage的使用
org.springframework.http.client.reactive中ReactiveHttpOutputMessage的子接口 修饰符和类型 接口 说明 interfaceClientHttpRequestRepresents a client-side reactive HTTP request.实现ReactiveHttpOutputMessage的org.springframework.http.client.reactive中的类 修饰符和类型 类 说明 classAbstractClientHttpRequestBase class forClientHttpRequestimplementations.classClientHttpRequestDecoratorWraps anotherClientHttpRequestand delegates all methods to it.org.springframework.http.codec中ReactiveHttpOutputMessage的使用
参数类型为ReactiveHttpOutputMessage的org.springframework.http.codec中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<Void>EncoderHttpMessageWriter. write(org.reactivestreams.Publisher<? extends T> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String,Object> hints)reactor.core.publisher.Mono<Void>FormHttpMessageWriter. write(org.reactivestreams.Publisher<? extends MultiValueMap<String,String>> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String,Object> hints)reactor.core.publisher.Mono<Void>HttpMessageWriter. write(org.reactivestreams.Publisher<? extends T> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String,Object> hints)Write an given stream of object to the output message.reactor.core.publisher.Mono<Void>ResourceHttpMessageWriter. write(org.reactivestreams.Publisher<? extends Resource> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String,Object> hints)reactor.core.publisher.Mono<Void>ServerSentEventHttpMessageWriter. write(org.reactivestreams.Publisher<?> input, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String,Object> hints)org.springframework.http.codec.multipart中ReactiveHttpOutputMessage的使用
参数类型为ReactiveHttpOutputMessage的org.springframework.http.codec.multipart中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<Void>MultipartHttpMessageWriter. write(org.reactivestreams.Publisher<? extends MultiValueMap<String,?>> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage outputMessage, Map<String,Object> hints)org.springframework.http.codec.protobuf中ReactiveHttpOutputMessage的使用
参数类型为ReactiveHttpOutputMessage的org.springframework.http.codec.protobuf中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<Void>ProtobufHttpMessageWriter. write(org.reactivestreams.Publisher<? extends com.google.protobuf.Message> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String,Object> hints)org.springframework.http.server.reactive中ReactiveHttpOutputMessage的使用
org.springframework.http.server.reactive中ReactiveHttpOutputMessage的子接口 修饰符和类型 接口 说明 interfaceServerHttpResponseRepresents a reactive server-side HTTP response.实现ReactiveHttpOutputMessage的org.springframework.http.server.reactive中的类 修饰符和类型 类 说明 classAbstractListenerServerHttpResponseAbstract base class for listener-based server responses, e.g.classAbstractServerHttpResponseBase class forServerHttpResponseimplementations.classHttpHeadResponseDecoratorServerHttpResponsedecorator for HTTP HEAD requests.classServerHttpResponseDecoratorWraps anotherServerHttpResponseand delegates all methods to it.org.springframework.mock.http.client.reactive中ReactiveHttpOutputMessage的使用
实现ReactiveHttpOutputMessage的org.springframework.mock.http.client.reactive中的类 修饰符和类型 类 说明 classMockClientHttpRequestMock implementation ofClientHttpRequest.org.springframework.mock.http.server.reactive中ReactiveHttpOutputMessage的使用
实现ReactiveHttpOutputMessage的org.springframework.mock.http.server.reactive中的类 修饰符和类型 类 说明 classMockServerHttpResponseMock extension ofAbstractServerHttpResponsefor use in tests without an actual server.org.springframework.web.reactive.function中ReactiveHttpOutputMessage的使用
类型参数类型为ReactiveHttpOutputMessage的org.springframework.web.reactive.function中的类 修饰符和类型 接口 说明 interfaceBodyInserter<T,M extends ReactiveHttpOutputMessage>A combination of functions that can populate aReactiveHttpOutputMessagebody.返回变量类型为ReactiveHttpOutputMessage的类型的org.springframework.web.reactive.function中的方法 修饰符和类型 方法 说明 static <T> BodyInserter<T,ReactiveHttpOutputMessage>BodyInserters. empty()Inserter that does not write.static <T extends org.reactivestreams.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)已过时。As of Spring Framework 5.2, in favor ofBodyInserters.fromValue(Object)static <T> BodyInserter<T,ReactiveHttpOutputMessage>BodyInserters. fromProducer(T producer, Class<?> elementClass)Inserter to write the given producer of value(s) which must be aPublisheror another producer adaptable to aPublisherviaReactiveAdapterRegistry.static <T> BodyInserter<T,ReactiveHttpOutputMessage>BodyInserters. fromProducer(T producer, ParameterizedTypeReference<?> elementTypeRef)Inserter to write the given producer of value(s) which must be aPublisheror another producer adaptable to aPublisherviaReactiveAdapterRegistry.static <T,P extends org.reactivestreams.Publisher<T>>
BodyInserter<P,ReactiveHttpOutputMessage>BodyInserters. fromPublisher(P publisher, Class<T> elementClass)Inserter to write the givenPublisher.static <T,P extends org.reactivestreams.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.