| java.lang.Object | |||||||
| ↳ | java.lang.Throwable | ||||||
| ↳ | java.lang.Exception | ||||||
| ↳ | java.lang.RuntimeException | ||||||
| ↳ | org.springframework.core.NestedRuntimeException | ||||||
| ↳ | org.springframework.web.client.RestClientException | ||||||
| ↳ | org.springframework.web.client.HttpStatusCodeException | ||||||
| ↳ | org.springframework.web.client.HttpServerErrorException | ||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new instance of
HttpServerErrorException based on a HttpStatus. | |||||||||||
Construct a new instance of
HttpServerErrorException based on a HttpStatus and status text. | |||||||||||
Construct a new instance of
HttpServerErrorException based on a HttpStatus, status text, and
response body content. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.web.client.HttpStatusCodeException
| |||||||||||
From class
org.springframework.core.NestedRuntimeException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
Construct a new instance of HttpServerErrorException based on a HttpStatus.
| statusCode | the status code |
|---|
Construct a new instance of HttpServerErrorException based on a HttpStatus and status text.
| statusCode | the status code |
|---|---|
| statusText | the status text |
Construct a new instance of HttpServerErrorException based on a HttpStatus, status text, and
response body content.
| statusCode | the status code |
|---|---|
| statusText | the status text |
| responseBody | the response body content, may be null |
| responseCharset | the response body charset, may be null |