Package | Description |
---|---|
org.springframework.web.client |
Core package of the client-side web support.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultResponseErrorHandler
Spring's default implementation of the
ResponseErrorHandler interface. |
class |
ExtractingResponseErrorHandler
Implementation of
ResponseErrorHandler that uses HttpMessageConverters to convert HTTP error responses to RestClientExceptions . |
Modifier and Type | Method and Description |
---|---|
ResponseErrorHandler |
RestTemplate.getErrorHandler()
Return the error handler.
|
ResponseErrorHandler |
AsyncRestTemplate.getErrorHandler()
Deprecated.
Return the error handler.
|
Modifier and Type | Method and Description |
---|---|
void |
RestTemplate.setErrorHandler(ResponseErrorHandler errorHandler)
Set the error handler.
|
void |
AsyncRestTemplate.setErrorHandler(ResponseErrorHandler errorHandler)
Deprecated.
Set the error handler.
|