ClientHttpResponse.
| Modifier and Type | Field and Description |
|---|---|
| private final ClientHttpResponse |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements org. Close this response, freeing any resources created. |
| public InputStream | getBody()
Implements org. Return the body of the message as an input stream. |
| public ClientHttpResponse | |
| public HttpHeaders | getHeaders()
Implements org. Return the headers of this message. |
| public HttpStatusCode | getStatusCode()
Implements org. Get the HTTP status code as an |
| public String | getStatusText()
Implements org. Get the HTTP status text of the response. |
| delegate | back to summary |
|---|---|
| private final ClientHttpResponse delegate | |
| ClientHttpResponseDecorator | back to summary |
|---|---|
| public ClientHttpResponseDecorator(ClientHttpResponse delegate) | |
| close | back to summary |
|---|---|
| public void close() Implements org. Doc from org. Close this response, freeing any resources created.
| |
| getBody | back to summary |
|---|---|
| public InputStream getBody() throws IOException Implements org. Doc from org. Return the body of the message as an input stream.
| |
| getDelegate | back to summary |
|---|---|
| public ClientHttpResponse getDelegate() Return the wrapped response. | |
| getHeaders | back to summary |
|---|---|
| public HttpHeaders getHeaders() Implements org. Doc from org. Return the headers of this message.
| |
| getStatusCode | back to summary |
|---|---|
| public HttpStatusCode getStatusCode() throws IOException Implements org. Doc from org. Get the HTTP status code as an
| |
| getStatusText | back to summary |
|---|---|
| public String getStatusText() throws IOException Implements org. Doc from org. Get the HTTP status text of the response.
| |