Uses of Interface
org.springframework.web.client.RestClient.ResponseSpec.ErrorHandler
-
Uses of RestClient.ResponseSpec.ErrorHandler in org.springframework.web.client
Modifier and TypeMethodDescriptionRestClient.Builder.defaultStatusHandler
(Predicate<HttpStatusCode> statusPredicate, RestClient.ResponseSpec.ErrorHandler errorHandler) Register a default status handler to apply to every response.RestClient.ResponseSpec.onStatus
(Predicate<HttpStatusCode> statusPredicate, RestClient.ResponseSpec.ErrorHandler errorHandler) Provide a function to map specific error status codes to an error handler.