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
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
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
private static final long serialVersionUID
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.