Uses of Interface
org.springframework.web.reactive.function.BodyExtractor
Package
Description
Mock objects for the functional web framework.
Provides a foundation for both the reactive client and server subpackages.
Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive
reactive HTTP adapter layer.Classes supporting the
org.springframework.web.reactive.function.client
package.Provides the types that make up Spring's functional web framework for Reactive environments.
Classes supporting the
org.springframework.web.reactive.function.server
package.-
Uses of BodyExtractor in org.springframework.mock.web.reactive.function.server
Modifier and TypeMethodDescription<S> S
MockServerRequest.body
(BodyExtractor<S, ? super ServerHttpRequest> extractor) <S> S
MockServerRequest.body
(BodyExtractor<S, ? super ServerHttpRequest> extractor, Map<String, Object> hints) -
Uses of BodyExtractor in org.springframework.web.reactive.function
Modifier and TypeMethodDescriptionstatic BodyExtractor<reactor.core.publisher.Flux<DataBuffer>,
ReactiveHttpInputMessage> BodyExtractors.toDataBuffers()
Extractor that returns the rawDataBuffers
.static <T> BodyExtractor<reactor.core.publisher.Flux<T>,
ReactiveHttpInputMessage> 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> 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.static BodyExtractor<reactor.core.publisher.Mono<MultiValueMap<String,
Part>>, ServerHttpRequest> BodyExtractors.toMultipartData()
Extractor to read multipart data into aMultiValueMap<String, Part>
.static BodyExtractor<reactor.core.publisher.Flux<Part>,
ServerHttpRequest> BodyExtractors.toParts()
Extractor to read multipart data intoFlux<Part>
. -
Uses of BodyExtractor in org.springframework.web.reactive.function.client
Modifier and TypeMethodDescription<T> T
ClientResponse.body
(BodyExtractor<T, ? super ClientHttpResponse> extractor) Extract the body with the givenBodyExtractor
.<T> reactor.core.publisher.Mono<ResponseEntity<reactor.core.publisher.Flux<T>>>
WebClient.ResponseSpec.toEntityFlux
(BodyExtractor<reactor.core.publisher.Flux<T>, ? super ClientHttpResponse> bodyExtractor) Variant ofWebClient.ResponseSpec.toEntityFlux(Class)
with aBodyExtractor
. -
Uses of BodyExtractor in org.springframework.web.reactive.function.client.support
Modifier and TypeMethodDescription<T> T
ClientResponseWrapper.body
(BodyExtractor<T, ? super ClientHttpResponse> extractor) -
Uses of BodyExtractor in org.springframework.web.reactive.function.server
Modifier and TypeMethodDescription<T> T
ServerRequest.body
(BodyExtractor<T, ? super ServerHttpRequest> extractor) Extract the body with the givenBodyExtractor
.<T> T
ServerRequest.body
(BodyExtractor<T, ? super ServerHttpRequest> extractor, Map<String, Object> hints) Extract the body with the givenBodyExtractor
and hints. -
Uses of BodyExtractor in org.springframework.web.reactive.function.server.support
Modifier and TypeMethodDescription<T> T
ServerRequestWrapper.body
(BodyExtractor<T, ? super ServerHttpRequest> extractor) <T> T
ServerRequestWrapper.body
(BodyExtractor<T, ? super ServerHttpRequest> extractor, Map<String, Object> hints)