public static class WebClientResponseException.NotAcceptable extends WebClientResponseException
WebClientResponseException
for status HTTP 406 Not Acceptable.WebClientResponseException.BadGateway, WebClientResponseException.BadRequest, WebClientResponseException.Conflict, WebClientResponseException.Forbidden, WebClientResponseException.GatewayTimeout, WebClientResponseException.Gone, WebClientResponseException.InternalServerError, WebClientResponseException.MethodNotAllowed, WebClientResponseException.NotAcceptable, WebClientResponseException.NotFound, WebClientResponseException.NotImplemented, WebClientResponseException.ServiceUnavailable, WebClientResponseException.TooManyRequests, WebClientResponseException.Unauthorized, WebClientResponseException.UnprocessableEntity, WebClientResponseException.UnsupportedMediaType
Constructor and Description |
---|
NotAcceptable(java.lang.String statusText,
HttpHeaders headers,
byte[] body,
java.nio.charset.Charset charset,
HttpRequest request) |
create, create, getHeaders, getRawStatusCode, getRequest, getResponseBodyAsByteArray, getResponseBodyAsString, getStatusCode, getStatusText
contains, getMessage, getMostSpecificCause, getRootCause
NotAcceptable(java.lang.String statusText, HttpHeaders headers, byte[] body, @Nullable java.nio.charset.Charset charset, @Nullable HttpRequest request)