类 HttpClientErrorException.UnsupportedMediaType
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.taketoday.core.NestedRuntimeException
cn.taketoday.web.client.RestClientException
cn.taketoday.web.client.RestClientResponseException
cn.taketoday.web.client.HttpStatusCodeException
cn.taketoday.web.client.HttpClientErrorException
cn.taketoday.web.client.HttpClientErrorException.UnsupportedMediaType
- 所有已实现的接口:
Serializable
public static final class HttpClientErrorException.UnsupportedMediaType
extends HttpClientErrorException
HttpClientErrorException for status HTTP 415 Unsupported Media Type.- 另请参阅:
-
嵌套类概要
从类继承的嵌套类/接口 cn.taketoday.web.client.HttpClientErrorException
HttpClientErrorException.BadRequest, HttpClientErrorException.Conflict, HttpClientErrorException.Forbidden, HttpClientErrorException.Gone, HttpClientErrorException.MethodNotAllowed, HttpClientErrorException.NotAcceptable, HttpClientErrorException.NotFound, HttpClientErrorException.TooManyRequests, HttpClientErrorException.Unauthorized, HttpClientErrorException.UnprocessableEntity, HttpClientErrorException.UnsupportedMediaType -
构造器概要
构造器限定符构造器说明privateUnsupportedMediaType(String statusText, HttpHeaders headers, byte[] body, Charset charset) privateUnsupportedMediaType(String message, String statusText, HttpHeaders headers, byte[] body, Charset charset) -
方法概要
从类继承的方法 cn.taketoday.web.client.HttpClientErrorException
create, create从类继承的方法 cn.taketoday.web.client.RestClientResponseException
getRawStatusCode, getResponseBodyAs, getResponseBodyAs, getResponseBodyAsByteArray, getResponseBodyAsString, getResponseBodyAsString, getResponseHeaders, getStatusCode, getStatusText, setBodyConvertFunction从类继承的方法 cn.taketoday.core.NestedRuntimeException
contains, getMostSpecificCause, getNestedMessage, getRootCause
-
构造器详细资料
-
UnsupportedMediaType
private UnsupportedMediaType(String statusText, HttpHeaders headers, byte[] body, @Nullable Charset charset) -
UnsupportedMediaType
private UnsupportedMediaType(String message, String statusText, HttpHeaders headers, byte[] body, @Nullable Charset charset)
-