ClientHttpResponse implementation for the Reactor-Netty HTTP client.
| Modifier and Type | Field and Description |
|---|---|
| private volatile InputStream | |
| private final Connection | |
| private final HttpHeaders | |
| private final Duration | |
| private final HttpClientResponse |
| Access | Constructor and Description |
|---|---|
| public | ReactorNettyClientResponse(HttpClientResponse response, Connection connection, Duration readTimeout)
|
| 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 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. |
| body | back to summary |
|---|---|
| private volatile InputStream body
| |
| connection | back to summary |
|---|---|
| private final Connection connection | |
| headers | back to summary |
|---|---|
| private final HttpHeaders headers | |
| readTimeout | back to summary |
|---|---|
| private final Duration readTimeout | |
| response | back to summary |
|---|---|
| private final HttpClientResponse response | |
| ReactorNettyClientResponse | back to summary |
|---|---|
| public ReactorNettyClientResponse(HttpClientResponse response, Connection connection, Duration readTimeout) | |
| 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.
| |
| 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() Implements org. Doc from org. Get the HTTP status code as an
| |
| getStatusText | back to summary |
|---|---|
| public String getStatusText() Implements org. Doc from org. Get the HTTP status text of the response. | |