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 a new instance of the
UnknownHttpStatusCodeException with the given
parameters. |
UnknownHttpStatusCodeException(int statusCode,
HttpHeaders headers,
byte[] responseBody,
java.nio.charset.Charset responseCharset,
HttpRequest request)
Create a new instance of the
UnknownHttpStatusCodeException with the given
parameters. |
create, create, getHeaders, getRawStatusCode, getRequest, getResponseBodyAsByteArray, getResponseBodyAsString, getStatusCode, getStatusText
contains, getMessage, getMostSpecificCause, getRootCause
public UnknownHttpStatusCodeException(int statusCode, HttpHeaders headers, byte[] responseBody, java.nio.charset.Charset responseCharset)
UnknownHttpStatusCodeException
with the given
parameters.public UnknownHttpStatusCodeException(int statusCode, HttpHeaders headers, byte[] responseBody, java.nio.charset.Charset responseCharset, @Nullable HttpRequest request)
UnknownHttpStatusCodeException
with the given
parameters.