Uses of Interface
org.springframework.web.reactive.function.client.WebClient.ResponseSpec
Packages that use WebClient.ResponseSpec Package Description org.springframework.web.reactive.function.client Provides a reactiveWebClient
that builds on top of theorg.springframework.http.client.reactive
reactive HTTP adapter layer.Uses of WebClient.ResponseSpec in org.springframework.web.reactive.function.client
Methods in org.springframework.web.reactive.function.client that return WebClient.ResponseSpec Modifier and Type Method Description WebClient.ResponseSpec
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.WebClient.ResponseSpec
WebClient.ResponseSpec. onStatus(Predicate<HttpStatus> 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.ResponseSpec
WebClient.RequestHeadersSpec. retrieve()
Perform the HTTP request and retrieve the response body: