Uses of Interface
org.springframework.web.client.ResponseErrorHandler
-
Uses of ResponseErrorHandler in org.springframework.web.client
Modifier and TypeClassDescriptionclass
Spring's default implementation of theResponseErrorHandler
interface.class
Implementation ofResponseErrorHandler
that usesHttpMessageConverters
to convert HTTP error responses toRestClientExceptions
.final class
A basic, no operationResponseErrorHandler
implementation suitable for ignoring any error.Modifier and TypeMethodDescriptionRestClient.Builder.defaultStatusHandler
(ResponseErrorHandler errorHandler) Register a default status handler to apply to every response.RestClient.ResponseSpec.onStatus
(ResponseErrorHandler errorHandler) Provide a function to map specific error status codes to an error handler.void
RestTemplate.setErrorHandler
(ResponseErrorHandler errorHandler) Set the error handler.