接口的使用
org.springframework.http.ReactiveHttpInputMessage
使用ReactiveHttpInputMessage的程序包 程序包 说明 org.springframework.http.client.reactive Abstractions for reactive HTTP client support includingClientHttpRequest
andClientHttpResponse
as well as aClientHttpConnector
.org.springframework.http.codec org.springframework.http.codec.multipart Multipart support.org.springframework.http.server.reactive Abstractions for reactive HTTP server support including aServerHttpRequest
andServerHttpResponse
along with anHttpHandler
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.org.springframework.http.client.reactive中ReactiveHttpInputMessage的使用
org.springframework.http.client.reactive中ReactiveHttpInputMessage的子接口 修饰符和类型 接口 说明 interface
ClientHttpResponse
Represents a client-side reactive HTTP response.实现ReactiveHttpInputMessage的org.springframework.http.client.reactive中的类 修饰符和类型 类 说明 class
ClientHttpResponseDecorator
Wraps anotherClientHttpResponse
and delegates all methods to it.org.springframework.http.codec中ReactiveHttpInputMessage的使用
参数类型为ReactiveHttpInputMessage的org.springframework.http.codec中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Flux<T>
DecoderHttpMessageReader. read(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String,Object> hints)
reactor.core.publisher.Flux<MultiValueMap<String,String>>
FormHttpMessageReader. read(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String,Object> hints)
reactor.core.publisher.Flux<T>
HttpMessageReader. read(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String,Object> hints)
Read from the input message and encode to a stream of objects.reactor.core.publisher.Flux<Object>
ServerSentEventHttpMessageReader. read(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String,Object> hints)
reactor.core.publisher.Mono<T>
DecoderHttpMessageReader. readMono(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String,Object> hints)
reactor.core.publisher.Mono<MultiValueMap<String,String>>
FormHttpMessageReader. readMono(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String,Object> hints)
reactor.core.publisher.Mono<T>
HttpMessageReader. readMono(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String,Object> hints)
Read from the input message and encode to a single object.reactor.core.publisher.Mono<Object>
ServerSentEventHttpMessageReader. readMono(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String,Object> hints)
org.springframework.http.codec.multipart中ReactiveHttpInputMessage的使用
参数类型为ReactiveHttpInputMessage的org.springframework.http.codec.multipart中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Flux<MultiValueMap<String,Part>>
MultipartHttpMessageReader. read(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String,Object> hints)
reactor.core.publisher.Flux<Part>
SynchronossPartHttpMessageReader. read(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String,Object> hints)
reactor.core.publisher.Mono<MultiValueMap<String,Part>>
MultipartHttpMessageReader. readMono(ResolvableType elementType, ReactiveHttpInputMessage inputMessage, Map<String,Object> hints)
reactor.core.publisher.Mono<Part>
SynchronossPartHttpMessageReader. readMono(ResolvableType elementType, ReactiveHttpInputMessage message, Map<String,Object> hints)
org.springframework.http.server.reactive中ReactiveHttpInputMessage的使用
org.springframework.http.server.reactive中ReactiveHttpInputMessage的子接口 修饰符和类型 接口 说明 interface
ServerHttpRequest
Represents a reactive server-side HTTP request.实现ReactiveHttpInputMessage的org.springframework.http.server.reactive中的类 修饰符和类型 类 说明 class
AbstractServerHttpRequest
Common base class forServerHttpRequest
implementations.class
ServerHttpRequestDecorator
Wraps anotherServerHttpRequest
and delegates all methods to it.org.springframework.mock.http.client.reactive中ReactiveHttpInputMessage的使用
实现ReactiveHttpInputMessage的org.springframework.mock.http.client.reactive中的类 修饰符和类型 类 说明 class
MockClientHttpResponse
Mock implementation ofClientHttpResponse
.org.springframework.mock.http.server.reactive中ReactiveHttpInputMessage的使用
实现ReactiveHttpInputMessage的org.springframework.mock.http.server.reactive中的类 修饰符和类型 类 说明 class
MockServerHttpRequest
Mock extension ofAbstractServerHttpRequest
for use in tests without an actual server.org.springframework.web.reactive.function中ReactiveHttpInputMessage的使用
类型参数类型为ReactiveHttpInputMessage的org.springframework.web.reactive.function中的类 修饰符和类型 接口 说明 interface
BodyExtractor<T,M extends ReactiveHttpInputMessage>
A function that can extract data from aReactiveHttpInputMessage
body.返回变量类型为ReactiveHttpInputMessage的类型的org.springframework.web.reactive.function中的方法 修饰符和类型 方法 说明 static BodyExtractor<reactor.core.publisher.Flux<DataBuffer>,ReactiveHttpInputMessage>
BodyExtractors. toDataBuffers()
Extractor that returns the rawDataBuffers
.static <T> BodyExtractor<reactor.core.publisher.Flux<T>,ReactiveHttpInputMessage>
BodyExtractors. toFlux(Class<? extends T> elementClass)
Extractor to decode the input content intoFlux<T>
.static <T> BodyExtractor<reactor.core.publisher.Flux<T>,ReactiveHttpInputMessage>
BodyExtractors. toFlux(ParameterizedTypeReference<T> typeRef)
Variant ofBodyExtractors.toFlux(Class)
for type information with generics.static BodyExtractor<reactor.core.publisher.Mono<MultiValueMap<String,String>>,ReactiveHttpInputMessage>
BodyExtractors. toFormData()
Extractor to read form data intoMultiValueMap<String, String>
.static <T> BodyExtractor<reactor.core.publisher.Mono<T>,ReactiveHttpInputMessage>
BodyExtractors. toMono(Class<? extends T> elementClass)
Extractor to decode the input content intoMono<T>
.static <T> BodyExtractor<reactor.core.publisher.Mono<T>,ReactiveHttpInputMessage>
BodyExtractors. toMono(ParameterizedTypeReference<T> elementTypeRef)
Variant ofBodyExtractors.toMono(Class)
for type information with generics.