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 TypeClassDescriptionclassSpring's default implementation of theResponseErrorHandlerinterface.classImplementation ofResponseErrorHandlerthat usesHttpMessageConvertersto convert HTTP error responses toRestClientExceptions.final classA basic, no operationResponseErrorHandlerimplementation suitable for ignoring any error using theRestTemplateorRestClient.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.voidRestTemplate.setErrorHandler(ResponseErrorHandler errorHandler) Set the error handler.