Package | Description |
---|---|
org.springframework.web.reactive.function |
Provides a foundation for both the reactive client and server subpackages.
|
org.springframework.web.reactive.function.client |
Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive reactive HTTP adapter layer. |
org.springframework.web.reactive.function.client.support |
Classes supporting the
org.springframework.web.reactive.function.client package. |
org.springframework.web.reactive.function.server |
Provides the types that make up Spring's functional web framework.
|
org.springframework.web.reactive.function.server.support |
Classes supporting the
org.springframework.web.reactive.function.server package. |
Modifier and Type | Method and Description |
---|---|
static BodyExtractor<reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer>,org.springframework.http.ReactiveHttpInputMessage> |
BodyExtractors.toDataBuffers()
Extractor that returns the raw
DataBuffers . |
static <T> BodyExtractor<reactor.core.publisher.Flux<T>,org.springframework.http.ReactiveHttpInputMessage> |
BodyExtractors.toFlux(Class<? extends T> elementClass)
Extractor to decode the input content into
Flux<T> . |
static <T> BodyExtractor<reactor.core.publisher.Flux<T>,org.springframework.http.ReactiveHttpInputMessage> |
BodyExtractors.toFlux(org.springframework.core.ParameterizedTypeReference<T> typeRef)
Variant of
BodyExtractors.toFlux(Class) for type information with generics. |
static BodyExtractor<reactor.core.publisher.Mono<org.springframework.util.MultiValueMap<String,String>>,org.springframework.http.ReactiveHttpInputMessage> |
BodyExtractors.toFormData()
Extractor to read form data into
MultiValueMap<String, String> . |
static <T> BodyExtractor<reactor.core.publisher.Mono<T>,org.springframework.http.ReactiveHttpInputMessage> |
BodyExtractors.toMono(Class<? extends T> elementClass)
Extractor to decode the input content into
Mono<T> . |
static <T> BodyExtractor<reactor.core.publisher.Mono<T>,org.springframework.http.ReactiveHttpInputMessage> |
BodyExtractors.toMono(org.springframework.core.ParameterizedTypeReference<T> typeRef)
Variant of
BodyExtractors.toMono(Class) for type information with generics. |
static BodyExtractor<reactor.core.publisher.Mono<org.springframework.util.MultiValueMap<String,org.springframework.http.codec.multipart.Part>>,org.springframework.http.server.reactive.ServerHttpRequest> |
BodyExtractors.toMultipartData()
Extractor to read multipart data into a
MultiValueMap<String, Part> . |
static BodyExtractor<reactor.core.publisher.Flux<org.springframework.http.codec.multipart.Part>,org.springframework.http.server.reactive.ServerHttpRequest> |
BodyExtractors.toParts()
Extractor to read multipart data into
Flux<Part> . |
Modifier and Type | Method and Description |
---|---|
<T> T |
ClientResponse.body(BodyExtractor<T,? super org.springframework.http.client.reactive.ClientHttpResponse> extractor)
Extract the body with the given
BodyExtractor . |
Modifier and Type | Method and Description |
---|---|
<T> T |
ClientResponseWrapper.body(BodyExtractor<T,? super org.springframework.http.client.reactive.ClientHttpResponse> extractor) |
Modifier and Type | Method and Description |
---|---|
<T> T |
ServerRequest.body(BodyExtractor<T,? super org.springframework.http.server.reactive.ServerHttpRequest> extractor)
Extract the body with the given
BodyExtractor . |
<T> T |
ServerRequest.body(BodyExtractor<T,? super org.springframework.http.server.reactive.ServerHttpRequest> extractor,
Map<String,Object> hints)
Extract the body with the given
BodyExtractor and hints. |
Modifier and Type | Method and Description |
---|---|
<T> T |
ServerRequestWrapper.body(BodyExtractor<T,? super org.springframework.http.server.reactive.ServerHttpRequest> extractor) |
<T> T |
ServerRequestWrapper.body(BodyExtractor<T,? super org.springframework.http.server.reactive.ServerHttpRequest> extractor,
Map<String,Object> hints) |