# Uses of Class
org.springframework.web.client.HttpServerErrorException

Packages that use HttpServerErrorException
Package
Description
org.springframework.web.client
Core package of the client-side web support.

## Uses of HttpServerErrorException in org.springframework.web.client

Subclasses of HttpServerErrorException in org.springframework.web.client
Modifier and Type
Class
Description
`static final class`
`HttpServerErrorException.BadGateway`
`HttpServerErrorException` for HTTP status 502 Bad Gateway.
`static final class`
`HttpServerErrorException.GatewayTimeout`
`HttpServerErrorException` for status HTTP 504 Gateway Timeout.
`static final class`
`HttpServerErrorException.InternalServerError`
`HttpServerErrorException` for status HTTP 500 Internal Server Error.
`static final class`
`HttpServerErrorException.NotImplemented`
`HttpServerErrorException` for status HTTP 501 Not Implemented.
`static final class`
`HttpServerErrorException.ServiceUnavailable`
`HttpServerErrorException` for status HTTP 503 Service Unavailable.
Methods in org.springframework.web.client that return HttpServerErrorException
Modifier and Type
Method
Description
`static HttpServerErrorException`
HttpServerErrorException.`create(String message, HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset)`
Variant of `create(String, HttpStatusCode, String, HttpHeaders, byte[], Charset)` with an optional prepared message.
`static HttpServerErrorException`
HttpServerErrorException.`create(HttpStatusCode statusCode, String statusText, HttpHeaders headers, byte[] body, Charset charset)`
Create an `HttpServerErrorException` or an HTTP status specific subclass.