public static class WebClientResponseException.MethodNotAllowed extends WebClientResponseException
WebClientResponseException
for status HTTP 405 Method Not Allowed.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 |
---|
MethodNotAllowed(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
MethodNotAllowed(java.lang.String statusText, HttpHeaders headers, byte[] body, @Nullable java.nio.charset.Charset charset, @Nullable HttpRequest request)