public class HttpClientErrorException extends HttpStatusCodeException
DefaultResponseErrorHandler, 連載形式 | コンストラクターと説明 |
|---|
HttpClientErrorException(HttpStatus statusCode)HttpStatus に基づいて HttpClientErrorException の新しいインスタンスを構築します。 |
HttpClientErrorException(HttpStatus statusCode, StringSE statusText)HttpStatus およびステータステキストに基づいて、HttpClientErrorException の新しいインスタンスを構築します。 |
HttpClientErrorException(HttpStatus statusCode, StringSE statusText, byte[] responseBody, CharsetSE responseCharset)HttpStatus、ステータステキスト、レスポンス本文コンテンツに基づいて、HttpClientErrorException の新しいインスタンスを構築します。 |
HttpClientErrorException(HttpStatus statusCode, StringSE statusText, HttpHeaders responseHeaders, byte[] responseBody, CharsetSE responseCharset)HttpStatus、ステータステキスト、レスポンス本文コンテンツに基づいて、HttpClientErrorException の新しいインスタンスを構築します。 |
getStatusCodegetRawStatusCode, getResponseBodyAsByteArray, 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)
HttpStatus に基づいて HttpClientErrorException の新しいインスタンスを構築します。statusCode - ステータスコード public HttpClientErrorException(HttpStatus statusCode, StringSE statusText)
HttpStatus およびステータステキストに基づいて、HttpClientErrorException の新しいインスタンスを構築します。statusCode - ステータスコード statusText - ステータステキスト public HttpClientErrorException(HttpStatus statusCode, StringSE statusText, @Nullable byte[] responseBody, @Nullable CharsetSE responseCharset)
HttpStatus、ステータステキスト、レスポンス本文コンテンツに基づいて、HttpClientErrorException の新しいインスタンスを構築します。statusCode - ステータスコード statusText - ステータステキスト responseBody - レスポンス本文のコンテンツ (null の場合があります)responseCharset - レスポンス本体の文字セット (null の場合があります)public HttpClientErrorException(HttpStatus statusCode, StringSE statusText, @Nullable HttpHeaders responseHeaders, @Nullable byte[] responseBody, @Nullable CharsetSE responseCharset)
HttpStatus、ステータステキスト、レスポンス本文コンテンツに基づいて、HttpClientErrorException の新しいインスタンスを構築します。statusCode - ステータスコード statusText - ステータステキスト responseHeaders - レスポンスヘッダー (null の場合があります)responseBody - レスポンス本文のコンテンツ (null の場合があります)responseCharset - レスポンス本体の文字セット (null の場合があります)