Example usage for Java org.springframework.web.client HttpServerErrorException fields, constructors, methods, implement or subclass
The text is from its open source code.
HttpServerErrorException(HttpStatus statusCode, String statusText, @Nullable byte[] body, @Nullable Charset charset) Constructor with a status code and status text, and content. | |
HttpServerErrorException(HttpStatus statusCode, String statusText) Constructor with a status code and status text. | |
HttpServerErrorException(HttpStatus statusCode) Constructor with a status code only. | |
HttpServerErrorException(HttpStatus statusCode, String statusText, @Nullable HttpHeaders headers, @Nullable byte[] body, @Nullable Charset charset) Constructor with a status code and status text, headers, and content. |
Class> | getClass() Returns the runtime class of this Object . |
String | getLocalizedMessage() Creates a localized description of this throwable. |
String | getMessage() Return the detail message, including the message from the nested exception if there is one. |
byte[] | getResponseBodyAsByteArray() Return the response body as a byte array. |
String | getResponseBodyAsString() Return the response body as a string. |
HttpHeaders | getResponseHeaders() Return the HTTP response headers. |
HttpStatus | getStatusCode() Return the HTTP status code. |
String | getStatusText() Return the HTTP status text. |
void | printStackTrace() Prints this throwable and its backtrace to the standard error stream. |