public class WebClientErrorException extends WebClientResponseException
| Constructor and Description |
|---|
WebClientErrorException(ClientHttpResponse response,
List<HttpMessageReader<?>> messageReaders)
Construct a new instance of
HttpClientErrorException based on a
ClientHttpResponse and HttpMessageReaders to optionally
help decoding the response body |
getResponseBody, getResponseHeaders, getStatuscontains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic WebClientErrorException(ClientHttpResponse response, List<HttpMessageReader<?>> messageReaders)
HttpClientErrorException based on a
ClientHttpResponse and HttpMessageReaders to optionally
help decoding the response bodyresponse - the HTTP responsemessageReaders - the message converters that may decode the HTTP response body