类 UnknownHttpStatusCodeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.taketoday.core.NestedRuntimeException
cn.taketoday.web.reactive.function.client.WebClientException
cn.taketoday.web.reactive.function.client.WebClientResponseException
cn.taketoday.web.reactive.function.client.UnknownHttpStatusCodeException
- 所有已实现的接口:
Serializable
Exception thrown when an unknown (or custom) HTTP status code is received.
- 从以下版本开始:
- 4.0
- 作者:
- Brian Clozel
- 另请参阅:
-
嵌套类概要
从类继承的嵌套类/接口 cn.taketoday.web.reactive.function.client.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 -
字段概要
字段 -
构造器概要
构造器构造器说明UnknownHttpStatusCodeException(int statusCode, HttpHeaders headers, byte[] responseBody, Charset responseCharset) Create a new instance of theUnknownHttpStatusCodeExceptionwith the given parameters.UnknownHttpStatusCodeException(int statusCode, HttpHeaders headers, byte[] responseBody, Charset responseCharset, HttpRequest request) Create a new instance of theUnknownHttpStatusCodeExceptionwith the given parameters.UnknownHttpStatusCodeException(HttpStatusCode statusCode, HttpHeaders headers, byte[] responseBody, Charset responseCharset, HttpRequest request) Create a new instance of theUnknownHttpStatusCodeExceptionwith the given parameters. -
方法概要
从类继承的方法 cn.taketoday.web.reactive.function.client.WebClientResponseException
create, create, create, getHeaders, getRawStatusCode, getRequest, getResponseBodyAs, getResponseBodyAs, getResponseBodyAsByteArray, getResponseBodyAsString, getResponseBodyAsString, getStatusCode, getStatusText, setBodyDecodeFunction从类继承的方法 cn.taketoday.core.NestedRuntimeException
contains, getMostSpecificCause, getNestedMessage, getRootCause
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID- 另请参阅:
-
-
构造器详细资料
-
UnknownHttpStatusCodeException
public UnknownHttpStatusCodeException(int statusCode, HttpHeaders headers, byte[] responseBody, Charset responseCharset) Create a new instance of theUnknownHttpStatusCodeExceptionwith the given parameters. -
UnknownHttpStatusCodeException
public UnknownHttpStatusCodeException(int statusCode, HttpHeaders headers, byte[] responseBody, @Nullable Charset responseCharset, @Nullable HttpRequest request) Create a new instance of theUnknownHttpStatusCodeExceptionwith the given parameters. -
UnknownHttpStatusCodeException
public UnknownHttpStatusCodeException(HttpStatusCode statusCode, HttpHeaders headers, byte[] responseBody, @Nullable Charset responseCharset, @Nullable HttpRequest request) Create a new instance of theUnknownHttpStatusCodeExceptionwith the given parameters.
-