public class UnknownHttpStatusCodeException extends WebClientResponseException
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 |
---|
UnknownHttpStatusCodeException(int statusCode,
HttpHeaders headers,
byte[] responseBody,
java.nio.charset.Charset responseCharset) |
create, getHeaders, getRawStatusCode, getResponseBodyAsByteArray, getResponseBodyAsString, getStatusCode, getStatusText
contains, getMessage, getMostSpecificCause, getRootCause
public UnknownHttpStatusCodeException(int statusCode, HttpHeaders headers, byte[] responseBody, java.nio.charset.Charset responseCharset)