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