Example usage for Java org.springframework.http.client ClientHttpResponse fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Close this response, freeing any resources created. |
InputStream | getBody() Return the body of the message as an input stream. |
HttpHeaders | getHeaders() Return the headers of this message. |
int | getRawStatusCode() Return the HTTP status code (potentially non-standard and not resolvable through the HttpStatus enum) as an integer. |
HttpStatus | getStatusCode() Return the HTTP status code as an HttpStatus enum value. |
String | getStatusText() Return the HTTP status text of the response. |