HttpClient#observe(ConnectionObserver).
| Modifier and Type | Field and Description |
|---|---|
| public static final HttpClientState | REQUEST_PREPARED
The request has been prepared and ready for I/O handler to be invoked. |
| public static final HttpClientState | REQUEST_SENT
The request has been sent. |
| public static final HttpClientState | RESPONSE_COMPLETED
The response fully received. |
| public static final HttpClientState | RESPONSE_INCOMPLETE
The request has been sent but the response has not been fully received and the connection has been prematurely closed. |
| public static final HttpClientState | RESPONSE_RECEIVED
The response status and headers have been received. |
| public static final HttpClientState | STREAM_CONFIGURED
Propagated when a stream is bound to a channelOperation and ready for user interaction. |
| public static final HttpClientState | UPGRADE_REJECTED
The H2C upgrade was unsuccessful due to the server not issuing with a 101 Switching Protocols response. |
| public static final HttpClientState | UPGRADE_SUCCESSFUL
The H2C upgrade was successful. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static HttpClientState | |
| public static HttpClientState[] |
| REQUEST_PREPARED | back to summary |
|---|---|
| public static final HttpClientState REQUEST_PREPARED The request has been prepared and ready for I/O handler to be invoked. | |
| REQUEST_SENT | back to summary |
|---|---|
| public static final HttpClientState REQUEST_SENT The request has been sent. | |
| RESPONSE_COMPLETED | back to summary |
|---|---|
| public static final HttpClientState RESPONSE_COMPLETED The response fully received. | |
| RESPONSE_INCOMPLETE | back to summary |
|---|---|
| public static final HttpClientState RESPONSE_INCOMPLETE The request has been sent but the response has not been fully received and the connection has been prematurely closed. | |
| RESPONSE_RECEIVED | back to summary |
|---|---|
| public static final HttpClientState RESPONSE_RECEIVED The response status and headers have been received. | |
| STREAM_CONFIGURED | back to summary |
|---|---|
| public static final HttpClientState STREAM_CONFIGURED Propagated when a stream is bound to a channelOperation and ready for user interaction. | |
| UPGRADE_REJECTED | back to summary |
|---|---|
| public static final HttpClientState UPGRADE_REJECTED The H2C upgrade was unsuccessful due to the server not issuing with a 101 Switching Protocols response. This may indicate that the server does not support H2C. | |
| UPGRADE_SUCCESSFUL | back to summary |
|---|---|
| public static final HttpClientState UPGRADE_SUCCESSFUL The H2C upgrade was successful. | |
| HttpClientState | back to summary |
|---|---|
| private HttpClientState() | |
| valueOf | back to summary |
|---|---|
| public static HttpClientState valueOf(String name) | |
| values | back to summary |
|---|---|
| public static HttpClientState[] values() | |