public class HttpServerErrorException extends HttpStatusCodeException
DefaultResponseErrorHandler
, 直列化された形式 修飾子と型 | クラスと説明 |
---|---|
static class | HttpServerErrorException.BadGateway ステータス HTTP HTTP 502 Bad Gateway の HttpServerErrorException 。 |
static class | HttpServerErrorException.GatewayTimeout HttpServerErrorException ステータス HTTP 504 Gateway Timeout |
static class | HttpServerErrorException.InternalServerError HttpServerErrorException ステータス HTTP 500 Internal Server Error |
static class | HttpServerErrorException.NotImplemented HttpServerErrorException ステータス HTTP 501 Not Implemented |
static class | HttpServerErrorException.ServiceUnavailable HttpServerErrorException ステータス HTTP 503 Service Unavailable |
コンストラクターと説明 |
---|
HttpServerErrorException(HttpStatus statusCode) ステータスコードのみのコンストラクター。 |
HttpServerErrorException(HttpStatus statusCode, StringSE statusText) ステータスコードとステータステキストを持つコンストラクター。 |
HttpServerErrorException(HttpStatus statusCode, StringSE statusText, byte[] body, CharsetSE charset) ステータスコードとステータステキスト、およびコンテンツを持つコンストラクター。 |
HttpServerErrorException(HttpStatus statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE charset) ステータスコードとステータステキスト、ヘッダー、コンテンツを持つコンストラクター。 |
HttpServerErrorException(StringSE message, HttpStatus statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE charset) ステータスコードとステータステキスト、ヘッダー、コンテンツ、準備されたメッセージを含むコンストラクター。 |
修飾子と型 | メソッドと説明 |
---|---|
static HttpServerErrorException | create(HttpStatus statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE charset) HttpServerErrorException または HTTP ステータス固有のサブクラスを作成します。 |
static HttpServerErrorException | create(StringSE message, HttpStatus statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE charset) オプションの準備済みメッセージを含む create(String, HttpStatus, String, HttpHeaders, byte[], Charset) のバリアント。 |
getStatusCode
getRawStatusCode, getResponseBodyAsByteArray, getResponseBodyAsString, getResponseBodyAsString, getResponseHeaders, getStatusText
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressedSE, fillInStackTraceSE, getCauseSE, getLocalizedMessageSE, getStackTraceSE, getSuppressedSE, initCauseSE, printStackTraceSE, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringSE
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public HttpServerErrorException(HttpStatus statusCode)
public HttpServerErrorException(HttpStatus statusCode, StringSE statusText)
public HttpServerErrorException(HttpStatus statusCode, StringSE statusText, @Nullable byte[] body, @Nullable CharsetSE charset)
public HttpServerErrorException(HttpStatus statusCode, StringSE statusText, @Nullable HttpHeaders headers, @Nullable byte[] body, @Nullable CharsetSE charset)
public HttpServerErrorException(StringSE message, HttpStatus statusCode, StringSE statusText, @Nullable HttpHeaders headers, @Nullable byte[] body, @Nullable CharsetSE charset)
public static HttpServerErrorException create(HttpStatus statusCode, StringSE statusText, HttpHeaders headers, byte[] body, @Nullable CharsetSE charset)
HttpServerErrorException
または HTTP ステータス固有のサブクラスを作成します。public static HttpServerErrorException create(@Nullable StringSE message, HttpStatus statusCode, StringSE statusText, HttpHeaders headers, byte[] body, @Nullable CharsetSE charset)
create(String, HttpStatus, String, HttpHeaders, byte[], Charset)
のバリアント。