| Modifier and Type | Field and Description |
|---|---|
| private final CoreClientUpgradeRequest | |
| private static final PreEncodedHttpField |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | prepare(Request
the request to prepare request)Implements org. Prepares the request for the upgrade, for example by setting the HTTP method or by setting HTTP headers required for the upgrade. |
| public void | upgrade(Response
the response with the information about the upgrade response, EndPoint the EndPoint to upgrade endPoint, Callback a callback to notify of the success or failure of the upgrade callback)Implements org. Upgrades the given |
| clientUpgradeRequest | back to summary |
|---|---|
| private final CoreClientUpgradeRequest clientUpgradeRequest | |
| WS_VERSION_FIELD | back to summary |
|---|---|
| private static final PreEncodedHttpField WS_VERSION_FIELD | |
| HttpUpgraderOverHTTP2 | back to summary |
|---|---|
| public HttpUpgraderOverHTTP2(CoreClientUpgradeRequest clientUpgradeRequest) | |
| prepare | back to summary |
|---|---|
| public void prepare(Request request) Implements org. Doc from org. Prepares the request for the upgrade, for example by setting the HTTP method or by setting HTTP headers required for the upgrade. | |
| upgrade | back to summary |
|---|---|
| public void upgrade(Response response, EndPoint endPoint, Callback callback) Implements org. Doc from org. Upgrades the given The success or failure of the upgrade should be communicated via the given An exception thrown by this method is equivalent to failing the callback. | |