Uses of Interface
org.springframework.web.reactive.function.client.WebClient.ResponseSpec
Package
Description
Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive
reactive HTTP adapter layer.-
Uses of WebClient.ResponseSpec in org.springframework.web.reactive.function.client
Modifier and TypeMethodDescriptionWebClient.ResponseSpec.onRawStatus
(IntPredicate statusCodePredicate, Function<ClientResponse, reactor.core.publisher.Mono<? extends Throwable>> exceptionFunction) Variant ofonStatus(Predicate, Function)
that works with raw status code values.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.WebClient.RequestHeadersSpec.retrieve()
Proceed to declare how to extract the response.