Uses of Interface
org.springframework.web.client.ResponseErrorHandler
Packages that use ResponseErrorHandler
-
Uses of ResponseErrorHandler in org.springframework.web.client
Classes in org.springframework.web.client that implement ResponseErrorHandlerModifier 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 using theRestTemplate
.Methods in org.springframework.web.client that return ResponseErrorHandlerMethods in org.springframework.web.client with parameters of type ResponseErrorHandlerModifier 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.