public static class HttpClientErrorException.NotFound extends HttpClientErrorException
HttpClientErrorException
for status HTTP 404 Not Found.HttpClientErrorException.BadRequest, HttpClientErrorException.Conflict, HttpClientErrorException.Forbidden, HttpClientErrorException.Gone, HttpClientErrorException.MethodNotAllowed, HttpClientErrorException.NotAcceptable, HttpClientErrorException.NotFound, HttpClientErrorException.TooManyRequests, HttpClientErrorException.Unauthorized, HttpClientErrorException.UnprocessableEntity, HttpClientErrorException.UnsupportedMediaType
Constructor and Description |
---|
NotFound(java.lang.String statusText,
HttpHeaders headers,
byte[] body,
java.nio.charset.Charset charset) |
create
getStatusCode
getRawStatusCode, getResponseBodyAsByteArray, getResponseBodyAsString, getResponseHeaders, getStatusText
contains, getMessage, getMostSpecificCause, getRootCause
NotFound(java.lang.String statusText, HttpHeaders headers, byte[] body, @Nullable java.nio.charset.Charset charset)