| Modifier and Type | Field and Description |
|---|---|
| private final HttpClientConnection | |
| private ContinueNotification | |
| private ClientResponse | |
| private IOException | |
| private static final Logger | |
| private ClientCallback | |
| private final ClientRequest | |
| private static final int | |
| private HttpRequestConduit | |
| private final boolean | |
| private ClientResponse | |
| private static final int | |
| private ClientCallback | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv | HttpClientExchange(ClientCallback<ClientExchange> readyCallback, ClientRequest request, HttpClientConnection clientConnection)
|
| Modifier and Type | Method and Description |
|---|---|
| public ClientConnection | |
| public ClientResponse | |
| public ClientRequest | |
| public StreamSinkChannel | getRequestChannel()
Implements io. Returns the request channel that can be used to send data to the server. |
| public ClientResponse | |
| pack-priv ClientCallback | |
| public StreamSourceChannel | getResponseChannel()
Implements io. Returns the response channel that can be used to read data from the target server. |
| pack-priv void | |
| pack-priv boolean | |
| public boolean | |
| public void | setContinueHandler(ContinueNotification continueHandler)
Implements io.
|
| pack-priv void | |
| pack-priv void | |
| public void | setPushHandler(PushCallback pushCallback)
Implements io.
|
| public void | |
| pack-priv void | |
| public void | setResponseListener(ClientCallback<ClientExchange> listener)
Implements io.
|
| pack-priv void | |
| pack-priv void |
| clientConnection | back to summary |
|---|---|
| private final HttpClientConnection clientConnection | |
| continueNotification | back to summary |
|---|---|
| private ContinueNotification continueNotification | |
| continueResponse | back to summary |
|---|---|
| private ClientResponse continueResponse | |
| failedReason | back to summary |
|---|---|
| private IOException failedReason | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| readyCallback | back to summary |
|---|---|
| private ClientCallback<ClientExchange> readyCallback | |
| request | back to summary |
|---|---|
| private final ClientRequest request | |
| REQUEST_TERMINATED | back to summary |
|---|---|
| private static final int REQUEST_TERMINATED | |
| requestConduit | back to summary |
|---|---|
| private HttpRequestConduit requestConduit | |
| requiresContinue | back to summary |
|---|---|
| private final boolean requiresContinue | |
| response | back to summary |
|---|---|
| private ClientResponse response | |
| RESPONSE_TERMINATED | back to summary |
|---|---|
| private static final int RESPONSE_TERMINATED | |
| responseCallback | back to summary |
|---|---|
| private ClientCallback<ClientExchange> responseCallback | |
| state | back to summary |
|---|---|
| private int state | |
| HttpClientExchange | back to summary |
|---|---|
| pack-priv HttpClientExchange(ClientCallback<ClientExchange> readyCallback, ClientRequest request, HttpClientConnection clientConnection) | |
| getConnection | back to summary |
|---|---|
| public ClientConnection getConnection() Implements io.
| |
| getContinueResponse | back to summary |
|---|---|
| public ClientResponse getContinueResponse() Implements io.
| |
| getRequest | back to summary |
|---|---|
| public ClientRequest getRequest() Implements io.
| |
| getRequestChannel | back to summary |
|---|---|
| public StreamSinkChannel getRequestChannel() Implements io. Doc from io. Returns the request channel that can be used to send data to the server.
| |
| getResponse | back to summary |
|---|---|
| public ClientResponse getResponse() Implements io.
| |
| getResponseCallback | back to summary |
|---|---|
| pack-priv ClientCallback | |
| getResponseChannel | back to summary |
|---|---|
| public StreamSourceChannel getResponseChannel() Implements io. Doc from io. Returns the response channel that can be used to read data from the target server.
| |
| invokeReadReadyCallback | back to summary |
|---|---|
| pack-priv void invokeReadReadyCallback() | |
| isRequestDataSent | back to summary |
|---|---|
| pack-priv boolean isRequestDataSent() | |
| isRequiresContinue | back to summary |
|---|---|
| public boolean isRequiresContinue() | |
| setContinueHandler | back to summary |
|---|---|
| public void setContinueHandler(ContinueNotification continueHandler) Implements io.
| |
| setContinueResponse | back to summary |
|---|---|
| pack-priv void setContinueResponse(ClientResponse response) | |
| setFailed | back to summary |
|---|---|
| pack-priv void setFailed(IOException e) | |
| setPushHandler | back to summary |
|---|---|
| public void setPushHandler(PushCallback pushCallback) Implements io.
| |
| setRequestConduit | back to summary |
|---|---|
| public void setRequestConduit(HttpRequestConduit requestConduit) | |
| setResponse | back to summary |
|---|---|
| pack-priv void setResponse(ClientResponse response) | |
| setResponseListener | back to summary |
|---|---|
| public void setResponseListener(ClientCallback<ClientExchange> listener) Implements io.
| |
| terminateRequest | back to summary |
|---|---|
| pack-priv void terminateRequest() | |
| terminateResponse | back to summary |
|---|---|
| pack-priv void terminateResponse() | |