public class HttpClientErrorException extends HttpStatusCodeException
DefaultResponseErrorHandler, 連載形式 | コンストラクターと説明 |
|---|
HttpClientErrorException(HttpStatus statusCode) ステータスコードのみのコンストラクター。 |
HttpClientErrorException(HttpStatus statusCode, StringSE statusText) ステータスコードとステータステキストを持つコンストラクター。 |
HttpClientErrorException(HttpStatus statusCode, StringSE statusText, byte[] body, CharsetSE responseCharset) ステータスコードとステータステキスト、およびコンテンツを持つコンストラクター。 |
HttpClientErrorException(HttpStatus statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE responseCharset) ステータスコードとステータステキスト、ヘッダー、コンテンツを持つコンストラクター。 |
HttpClientErrorException(StringSE message, HttpStatus statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE responseCharset) ステータスコードとステータステキスト、ヘッダー、コンテンツ、準備されたメッセージを含むコンストラクター。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
static HttpClientErrorException | create(HttpStatus statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE charset)HttpClientErrorException または HTTP ステータス固有のサブクラスを作成します。 |
static HttpClientErrorException | create(StringSE message, HttpStatus statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE charset) オプションの準備済みメッセージを含む create(HttpStatus, String, HttpHeaders, byte[], Charset) のバリアント。 |
getStatusCodegetRawStatusCode, getResponseBodyAsByteArray, getResponseBodyAsString, getResponseBodyAsString, getResponseHeaders, getStatusTextcontains, getMessage, getMostSpecificCause, getRootCauseaddSuppressedSE, fillInStackTraceSE, getCauseSE, getLocalizedMessageSE, getStackTraceSE, getSuppressedSE, initCauseSE, printStackTraceSE, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringSEcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic HttpClientErrorException(HttpStatus statusCode)
public HttpClientErrorException(HttpStatus statusCode, StringSE statusText)
public HttpClientErrorException(HttpStatus statusCode, StringSE statusText, @Nullable byte[] body, @Nullable CharsetSE responseCharset)
public HttpClientErrorException(HttpStatus statusCode, StringSE statusText, @Nullable HttpHeaders headers, @Nullable byte[] body, @Nullable CharsetSE responseCharset)
public HttpClientErrorException(StringSE message, HttpStatus statusCode, StringSE statusText, @Nullable HttpHeaders headers, @Nullable byte[] body, @Nullable CharsetSE responseCharset)
public static HttpClientErrorException create(HttpStatus statusCode, StringSE statusText, HttpHeaders headers, byte[] body, @Nullable CharsetSE charset)
HttpClientErrorException または HTTP ステータス固有のサブクラスを作成します。public static HttpClientErrorException create(@Nullable StringSE message, HttpStatus statusCode, StringSE statusText, HttpHeaders headers, byte[] body, @Nullable CharsetSE charset)
create(HttpStatus, String, HttpHeaders, byte[], Charset) のバリアント。