DefaultResponseErrorHandler
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | HttpClientErrorException(HttpStatusCode statusCode, String statusText)
Constructor with a status code and status text. |
| public | HttpClientErrorException(HttpStatusCode statusCode, String statusText, byte[] body, Charset responseCharset)
Constructor with a status code and status text, and content. |
| public | HttpClientErrorException(HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset responseCharset)
Constructor with a status code and status text, headers, and content. |
| public | HttpClientErrorException(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset responseCharset)
Constructor with a status code and status text, headers, and content, and a prepared message. |
| Modifier and Type | Method and Description |
|---|---|
| public static HttpClientErrorException | create(HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset)
Create |
| public static HttpClientErrorException | create(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset)
Variant of |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. | |
| HttpClientErrorException | back to summary |
|---|---|
| public HttpClientErrorException(HttpStatusCode statusCode) Constructor with a status code only. | |
| HttpClientErrorException | back to summary |
|---|---|
| public HttpClientErrorException(HttpStatusCode statusCode, String statusText) Constructor with a status code and status text. | |
| HttpClientErrorException | back to summary |
|---|---|
| public HttpClientErrorException(HttpStatusCode statusCode, String statusText, byte[] body, Charset responseCharset) Constructor with a status code and status text, and content. | |
| HttpClientErrorException | back to summary |
|---|---|
| public HttpClientErrorException(HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset responseCharset) Constructor with a status code and status text, headers, and content. | |
| HttpClientErrorException | back to summary |
|---|---|
| public HttpClientErrorException(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset responseCharset) Constructor with a status code and status text, headers, and content, and a prepared message.
| |
| create | back to summary |
|---|---|
| public static HttpClientErrorException create(HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset) Create
| |
| create | back to summary |
|---|---|
| public static HttpClientErrorException create(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset) Variant of
| |
HttpClientErrorException for status HTTP 400 Bad Request.
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| BadRequest | back to summary |
|---|---|
| private BadRequest(String statusText, HttpHeaders headers, byte[] body, Charset charset) | |
| BadRequest | back to summary |
|---|---|
| private BadRequest(String message, String statusText, HttpHeaders headers, byte[] body, Charset charset) | |
HttpClientErrorException for status HTTP 409 Conflict.
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Conflict | back to summary |
|---|---|
| private Conflict(String statusText, HttpHeaders headers, byte[] body, Charset charset) | |
| Conflict | back to summary |
|---|---|
| private Conflict(String message, String statusText, HttpHeaders headers, byte[] body, Charset charset) | |
HttpClientErrorException for status HTTP 403 Forbidden.
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Forbidden | back to summary |
|---|---|
| private Forbidden(String statusText, HttpHeaders headers, byte[] body, Charset charset) | |
| Forbidden | back to summary |
|---|---|
| private Forbidden(String message, String statusText, HttpHeaders headers, byte[] body, Charset charset) | |
HttpClientErrorException for status HTTP 410 Gone.
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Gone | back to summary |
|---|---|
| private Gone(String statusText, HttpHeaders headers, byte[] body, Charset charset) | |
| Gone | back to summary |
|---|---|
| private Gone(String message, String statusText, HttpHeaders headers, byte[] body, Charset charset) | |
HttpClientErrorException for status HTTP 405 Method Not Allowed.
| Access | Constructor and Description |
|---|---|
| private | |
| private | MethodNotAllowed(String message, String statusText, HttpHeaders headers, byte[] body, Charset charset)
|
| MethodNotAllowed | back to summary |
|---|---|
| private MethodNotAllowed(String statusText, HttpHeaders headers, byte[] body, Charset charset) | |
| MethodNotAllowed | back to summary |
|---|---|
| private MethodNotAllowed(String message, String statusText, HttpHeaders headers, byte[] body, Charset charset) | |
HttpClientErrorException for status HTTP 406 Not Acceptable.
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| NotAcceptable | back to summary |
|---|---|
| private NotAcceptable(String statusText, HttpHeaders headers, byte[] body, Charset charset) | |
| NotAcceptable | back to summary |
|---|---|
| private NotAcceptable(String message, String statusText, HttpHeaders headers, byte[] body, Charset charset) | |
HttpClientErrorException for status HTTP 404 Not Found.
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| NotFound | back to summary |
|---|---|
| private NotFound(String statusText, HttpHeaders headers, byte[] body, Charset charset) | |
| NotFound | back to summary |
|---|---|
| private NotFound(String message, String statusText, HttpHeaders headers, byte[] body, Charset charset) | |
HttpClientErrorException for status HTTP 429 Too Many Requests.
| Access | Constructor and Description |
|---|---|
| private | |
| private | TooManyRequests(String message, String statusText, HttpHeaders headers, byte[] body, Charset charset)
|
| TooManyRequests | back to summary |
|---|---|
| private TooManyRequests(String statusText, HttpHeaders headers, byte[] body, Charset charset) | |
| TooManyRequests | back to summary |
|---|---|
| private TooManyRequests(String message, String statusText, HttpHeaders headers, byte[] body, Charset charset) | |
HttpClientErrorException for status HTTP 401 Unauthorized.
HttpClientErrorException for status HTTP 422 Unprocessable Entity.
| Access | Constructor and Description |
|---|---|
| private | |
| private | UnprocessableEntity(String message, String statusText, HttpHeaders headers, byte[] body, Charset charset)
|
| UnprocessableEntity | back to summary |
|---|---|
| private UnprocessableEntity(String statusText, HttpHeaders headers, byte[] body, Charset charset) | |
| UnprocessableEntity | back to summary |
|---|---|
| private UnprocessableEntity(String message, String statusText, HttpHeaders headers, byte[] body, Charset charset) | |
HttpClientErrorException for status HTTP 415 Unsupported Media Type.
| Access | Constructor and Description |
|---|---|
| private | |
| private | UnsupportedMediaType(String message, String statusText, HttpHeaders headers, byte[] body, Charset charset)
|
| UnsupportedMediaType | back to summary |
|---|---|
| private UnsupportedMediaType(String statusText, HttpHeaders headers, byte[] body, Charset charset) | |
| UnsupportedMediaType | back to summary |
|---|---|
| private UnsupportedMediaType(String message, String statusText, HttpHeaders headers, byte[] body, Charset charset) | |