接口的使用
org.springframework.web.reactive.function.client.ClientRequest
使用ClientRequest的程序包 程序包 说明 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中ClientRequest的使用
返回ClientRequest的org.springframework.web.reactive.function.client中的方法 修饰符和类型 方法 说明 ClientRequest
ClientRequest.Builder. build()
Build the request.参数类型为ClientRequest的org.springframework.web.reactive.function.client中的方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<ClientResponse>
ExchangeFunction. exchange(ClientRequest request)
Exchange the given request for a response mono.reactor.core.publisher.Mono<ClientResponse>
ExchangeFilterFunction. filter(ClientRequest request, ExchangeFunction next)
Apply this filter to the given request and exchange function.static ClientRequest.Builder
ClientRequest. from(ClientRequest other)
Create a builder with the method, URI, headers, and cookies of the given request.类型变量类型为ClientRequest的org.springframework.web.reactive.function.client中的方法参数 修饰符和类型 方法 说明 static ExchangeFilterFunction
ExchangeFilterFunction. ofRequestProcessor(Function<ClientRequest,reactor.core.publisher.Mono<ClientRequest>> processor)
Adapt the given request processor function to a filter function that only operates on theClientRequest
.static ExchangeFilterFunction
ExchangeFilterFunction. ofRequestProcessor(Function<ClientRequest,reactor.core.publisher.Mono<ClientRequest>> processor)
Adapt the given request processor function to a filter function that only operates on theClientRequest
.