| Package | Description |
|---|---|
| org.springframework.mock.web.reactive.function.server |
Mock objects for the functional web framework.
|
| 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 |
|---|---|
<S> S |
MockServerRequest.body(BodyExtractor<S,? super ServerHttpRequest> extractor) |
<S> S |
MockServerRequest.body(BodyExtractor<S,? super ServerHttpRequest> extractor,
Map<String,Object> hints) |
| Modifier and Type | Method and Description |
|---|---|
static BodyExtractor<reactor.core.publisher.Flux<DataBuffer>,ReactiveHttpInputMessage> |
BodyExtractors.toDataBuffers()
|
static <T> BodyExtractor<reactor.core.publisher.Flux<T>,ReactiveHttpInputMessage> |
BodyExtractors.toFlux(Class<? extends T> elementClass)
Return a
BodyExtractor that reads into a Reactor Flux. |
static <T> BodyExtractor<reactor.core.publisher.Flux<T>,ReactiveHttpInputMessage> |
BodyExtractors.toFlux(ParameterizedTypeReference<T> typeReference)
Return a
BodyExtractor that reads into a Reactor Flux. |
static BodyExtractor<reactor.core.publisher.Mono<MultiValueMap<String,String>>,ServerHttpRequest> |
BodyExtractors.toFormData()
Return a
BodyExtractor that reads form data into a MultiValueMap. |
static <T> BodyExtractor<reactor.core.publisher.Mono<T>,ReactiveHttpInputMessage> |
BodyExtractors.toMono(Class<? extends T> elementClass)
Return a
BodyExtractor that reads into a Reactor Mono. |
static <T> BodyExtractor<reactor.core.publisher.Mono<T>,ReactiveHttpInputMessage> |
BodyExtractors.toMono(ParameterizedTypeReference<T> typeReference)
Return a
BodyExtractor that reads into a Reactor Mono. |
static BodyExtractor<reactor.core.publisher.Mono<MultiValueMap<String,Part>>,ServerHttpRequest> |
BodyExtractors.toMultipartData()
Return a
BodyExtractor that reads multipart (i.e. |
static BodyExtractor<reactor.core.publisher.Flux<Part>,ServerHttpRequest> |
BodyExtractors.toParts()
Return a
BodyExtractor that reads multipart (i.e. |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ClientResponse.body(BodyExtractor<T,? super ClientHttpResponse> extractor)
Extract the body with the given
BodyExtractor. |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ClientResponseWrapper.body(BodyExtractor<T,? super ClientHttpResponse> extractor) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ServerRequest.body(BodyExtractor<T,? super ServerHttpRequest> extractor)
Extract the body with the given
BodyExtractor. |
<T> T |
ServerRequest.body(BodyExtractor<T,? super 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 ServerHttpRequest> extractor) |
<T> T |
ServerRequestWrapper.body(BodyExtractor<T,? super ServerHttpRequest> extractor,
Map<String,Object> hints) |