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,
Charset responseCharset)
Create a new instance of the
UnknownHttpStatusCodeException with the given
parameters. |
UnknownHttpStatusCodeException(int statusCode,
HttpHeaders headers,
byte[] responseBody,
Charset responseCharset,
HttpRequest request)
Create a new instance of the
UnknownHttpStatusCodeException with the given
parameters. |
create, create, getHeaders, getRawStatusCode, getRequest, getResponseBodyAsByteArray, getResponseBodyAsString, getResponseBodyAsString, getStatusCode, getStatusTextcontains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnknownHttpStatusCodeException(int statusCode,
HttpHeaders headers,
byte[] responseBody,
Charset responseCharset)
UnknownHttpStatusCodeException with the given
parameters.public UnknownHttpStatusCodeException(int statusCode,
HttpHeaders headers,
byte[] responseBody,
@Nullable
Charset responseCharset,
@Nullable
HttpRequest request)
UnknownHttpStatusCodeException with the given
parameters.