クラスの使用
org.springframework.web.client.HttpClientErrorException
HttpClientErrorException を使用するパッケージ
org.springframework.web.client 内の HttpClientErrorException 使用
修飾子と型クラス説明static final classHttpClientErrorExceptionステータス HTTP 400 Bad Requeststatic final classHttpClientErrorExceptionステータス HTTP 409 Conflictstatic final classHttpClientErrorExceptionステータス HTTP 403 Forbiddenstatic final classHttpClientErrorExceptionステータス HTTP 410 Gonestatic final classHttpClientErrorExceptionステータス HTTP 405 Method Not Allowedstatic final classHttpClientErrorExceptionステータス HTTP 406 Not Acceptablestatic final classHttpClientErrorExceptionステータス HTTP 404 Not Foundstatic final classHttpClientErrorExceptionステータス HTTP 429 Too Many Requestsstatic final classHttpClientErrorExceptionステータス HTTP 401 Unauthorizedstatic final classHttpClientErrorExceptionステータス HTTP 422 Unprocessable Contentstatic final class使用すべきではありません。static final classHttpClientErrorExceptionステータス HTTP 415 Unsupported Media Type修飾子と型メソッド説明static HttpClientErrorExceptionHttpClientErrorException.create(@Nullable StringSE message, HttpStatusCode statusCode, StringSE statusText, HttpHeaders headers, byte @Nullable [] body, @Nullable CharsetSE charset) オプションの準備済みメッセージを含むHttpClientErrorException.create(HttpStatusCode, String, HttpHeaders, byte[], Charset)のバリアント。static HttpClientErrorExceptionHttpClientErrorException.create(HttpStatusCode statusCode, StringSE statusText, HttpHeaders headers, byte @Nullable [] body, @Nullable CharsetSE charset) HttpClientErrorExceptionまたは HTTP ステータス固有のサブクラスを作成します。
HttpClientErrorException.UnprocessableContentを推奨