public class HttpServerErrorException extends HttpStatusCodeException
DefaultResponseErrorHandler, 連載形式 | 修飾子と型 | クラスと説明 |
|---|---|
static class | HttpServerErrorException.BadGateway ステータス HTTP HTTP 502 Bad Gateway の HttpServerErrorException。 |
static class | HttpServerErrorException.GatewayTimeoutHttpServerErrorException ステータス HTTP 504 Gateway Timeout |
static class | HttpServerErrorException.InternalServerErrorHttpServerErrorException ステータス HTTP 500 Internal Server Error |
static class | HttpServerErrorException.NotImplementedHttpServerErrorException ステータス HTTP 501 Not Implemented |
static class | HttpServerErrorException.ServiceUnavailableHttpServerErrorException ステータス HTTP 503 Service Unavailable |
| コンストラクターと説明 |
|---|
HttpServerErrorException(HttpStatus statusCode) ステータスコードのみのコンストラクター。 |
HttpServerErrorException(HttpStatus statusCode, java.lang.String statusText) ステータスコードとステータステキストを持つコンストラクター。 |
HttpServerErrorException(HttpStatus statusCode, java.lang.String statusText, byte[] body, java.nio.charset.Charset charset) ステータスコードとステータステキスト、およびコンテンツを持つコンストラクター。 |
HttpServerErrorException(HttpStatus statusCode, java.lang.String statusText, HttpHeaders headers, byte[] body, java.nio.charset.Charset charset) ステータスコードとステータステキスト、ヘッダー、コンテンツを持つコンストラクター。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
static HttpServerErrorException | create(HttpStatus statusCode, java.lang.String statusText, HttpHeaders headers, byte[] body, java.nio.charset.Charset charset)HttpServerErrorException または HTTP ステータス固有のサブクラスを作成します。 |
getStatusCodegetRawStatusCode, getResponseBodyAsByteArray, getResponseBodyAsString, getResponseHeaders, getStatusTextcontains, getMessage, getMostSpecificCause, getRootCausepublic HttpServerErrorException(HttpStatus statusCode)
public HttpServerErrorException(HttpStatus statusCode, java.lang.String statusText)
public HttpServerErrorException(HttpStatus statusCode, java.lang.String statusText, @Nullable byte[] body, @Nullable java.nio.charset.Charset charset)
public HttpServerErrorException(HttpStatus statusCode, java.lang.String statusText, @Nullable HttpHeaders headers, @Nullable byte[] body, @Nullable java.nio.charset.Charset charset)
public static HttpServerErrorException create(HttpStatus statusCode, java.lang.String statusText, HttpHeaders headers, byte[] body, @Nullable java.nio.charset.Charset charset)
HttpServerErrorException または HTTP ステータス固有のサブクラスを作成します。