public interface ResponseErrorHandler
WebClient to handle errors in
ClientHttpResponses if needed.DefaultResponseErrorHandler| Modifier and Type | Method and Description |
|---|---|
void |
handleError(ClientHttpResponse response,
List<HttpMessageReader<?>> messageReaders)
Handle the error in the given response.
|
void handleError(ClientHttpResponse response, List<HttpMessageReader<?>> messageReaders)
HttpStatus of the response and
throw WebClientExceptions in case of errors.