Package | Description |
---|---|
org.springframework.web.client |
Core package of the client-side web support.
|
Modifier and Type | Class and Description |
---|---|
static class |
HttpServerErrorException.BadGateway
HttpServerErrorException for status HTTP HTTP 502 Bad Gateway. |
static class |
HttpServerErrorException.GatewayTimeout
HttpServerErrorException for status HTTP 504 Gateway Timeout. |
static class |
HttpServerErrorException.InternalServerError
HttpServerErrorException for status HTTP 500 Internal Server Error. |
static class |
HttpServerErrorException.NotImplemented
HttpServerErrorException for status HTTP 501 Not Implemented. |
static class |
HttpServerErrorException.ServiceUnavailable
HttpServerErrorException for status HTTP 503 Service Unavailable. |
Modifier and Type | Method and Description |
---|---|
static HttpServerErrorException |
HttpServerErrorException.create(HttpStatus statusCode,
String statusText,
HttpHeaders headers,
byte[] body,
Charset charset)
Create an
HttpServerErrorException or an HTTP status specific sub-class. |
static HttpServerErrorException |
HttpServerErrorException.create(String message,
HttpStatus statusCode,
String statusText,
HttpHeaders headers,
byte[] body,
Charset charset)
Variant of
create(String, HttpStatus, String, HttpHeaders, byte[], Charset)
with an optional prepared message. |