接口的使用
cn.taketoday.web.reactive.function.client.WebClient.ResponseSpec
使用WebClient.ResponseSpec的程序包
程序包
说明
Provides a reactive
WebClient
that builds on top of the
cn.taketoday.http.client.reactive reactive HTTP adapter layer.-
cn.taketoday.web.reactive.function.client中WebClient.ResponseSpec的使用
修饰符和类型方法说明DefaultWebClient.DefaultResponseSpec.onRawStatus(IntPredicate statusCodePredicate, Function<ClientResponse, reactor.core.publisher.Mono<? extends Throwable>> exceptionFunction) WebClient.ResponseSpec.onRawStatus(IntPredicate statusCodePredicate, Function<ClientResponse, reactor.core.publisher.Mono<? extends Throwable>> exceptionFunction) Variant ofonStatus(Predicate, Function)that works with raw status code values.DefaultWebClient.DefaultResponseSpec.onStatus(Predicate<HttpStatusCode> statusCodePredicate, Function<ClientResponse, reactor.core.publisher.Mono<? extends Throwable>> exceptionFunction) WebClient.ResponseSpec.onStatus(Predicate<HttpStatusCode> statusPredicate, Function<ClientResponse, reactor.core.publisher.Mono<? extends Throwable>> exceptionFunction) Provide a function to map specific error status codes to an error signal to be propagated downstream instead of the response.DefaultWebClient.DefaultRequestBodyUriSpec.retrieve()WebClient.RequestHeadersSpec.retrieve()Proceed to declare how to extract the response.