public static class WebClientResponseException.BadRequest extends WebClientResponseException
WebClientResponseException
for status HTTP 400 Bad Request.WebClientResponseException.BadGateway, WebClientResponseException.BadRequest, WebClientResponseException.Conflict, WebClientResponseException.Forbidden, WebClientResponseException.GatewayTimeout, WebClientResponseException.Gone, WebClientResponseException.InternalServerError, WebClientResponseException.MethodNotAllowed, WebClientResponseException.NotAcceptable, WebClientResponseException.NotFound, WebClientResponseException.NotImplemented, WebClientResponseException.ServiceUnavailable, WebClientResponseException.TooManyRequests, WebClientResponseException.Unauthorized, WebClientResponseException.UnprocessableEntity, WebClientResponseException.UnsupportedMediaType
Constructor and Description |
---|
BadRequest(java.lang.String statusText,
HttpHeaders headers,
byte[] body,
java.nio.charset.Charset charset,
HttpRequest request) |
create, create, getHeaders, getRawStatusCode, getRequest, getResponseBodyAsByteArray, getResponseBodyAsString, getStatusCode, getStatusText
contains, getMessage, getMostSpecificCause, getRootCause
BadRequest(java.lang.String statusText, HttpHeaders headers, byte[] body, @Nullable java.nio.charset.Charset charset, @Nullable HttpRequest request)