接口的使用
org.springframework.web.reactive.function.BodyExtractor
使用BodyExtractor的程序包 程序包 说明 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 reactiveWebClient
that builds on top of theorg.springframework.http.client.reactive
reactive HTTP adapter layer.org.springframework.web.reactive.function.client.support Classes supporting theorg.springframework.web.reactive.function.client
package.org.springframework.web.reactive.function.server Provides the types that make up Spring's functional web framework for Reactive environments.org.springframework.web.reactive.function.server.support Classes supporting theorg.springframework.web.reactive.function.server
package.org.springframework.mock.web.reactive.function.server中BodyExtractor的使用
参数类型为BodyExtractor的org.springframework.mock.web.reactive.function.server中的方法 修饰符和类型 方法 说明 <S> S
MockServerRequest. body(BodyExtractor<S,? super ServerHttpRequest> extractor)
<S> S
MockServerRequest. body(BodyExtractor<S,? super ServerHttpRequest> extractor, Map<String,Object> hints)
org.springframework.web.reactive.function中BodyExtractor的使用
返回BodyExtractor的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.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>
.org.springframework.web.reactive.function.client中BodyExtractor的使用
参数类型为BodyExtractor的org.springframework.web.reactive.function.client中的方法 修饰符和类型 方法 说明 <T> T
ClientResponse. body(BodyExtractor<T,? super ClientHttpResponse> extractor)
Extract the body with the givenBodyExtractor
.org.springframework.web.reactive.function.client.support中BodyExtractor的使用
参数类型为BodyExtractor的org.springframework.web.reactive.function.client.support中的方法 修饰符和类型 方法 说明 <T> T
ClientResponseWrapper. body(BodyExtractor<T,? super ClientHttpResponse> extractor)
org.springframework.web.reactive.function.server中BodyExtractor的使用
参数类型为BodyExtractor的org.springframework.web.reactive.function.server中的方法 修饰符和类型 方法 说明 <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.org.springframework.web.reactive.function.server.support中BodyExtractor的使用
参数类型为BodyExtractor的org.springframework.web.reactive.function.server.support中的方法 修饰符和类型 方法 说明 <T> T
ServerRequestWrapper. body(BodyExtractor<T,? super ServerHttpRequest> extractor)
<T> T
ServerRequestWrapper. body(BodyExtractor<T,? super ServerHttpRequest> extractor, Map<String,Object> hints)