| Modifier and Type | Field and Description |
|---|---|
| private final Http2Settings | |
| private static final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CharSequence | protocol()
Implements io. Returns the name of the protocol supported by this codec, as indicated by the |
| public Collection | setUpgradeHeaders(ChannelHandlerContext ctx, HttpRequest upgradeRequest)
Implements io. Sets any protocol-specific headers required to the upgrade request. |
| public void | upgradeTo(ChannelHandlerContext
the context for the current handler. ctx, FullHttpResponse the 101 Switching Protocols response that indicates that the server
has switched to this protocol. upgradeResponse)Implements io. Performs an HTTP protocol upgrade from the source codec. |
| settings | back to summary |
|---|---|
| private final Http2Settings settings | |
| UPGRADE_HEADERS | back to summary |
|---|---|
| private static final List<CharSequence> UPGRADE_HEADERS | |
| VertxHttp2ClientUpgradeCodec | back to summary |
|---|---|
| public VertxHttp2ClientUpgradeCodec(Http2Settings settings) | |
| protocol | back to summary |
|---|---|
| public CharSequence protocol() Implements io. Doc from io. Returns the name of the protocol supported by this codec, as indicated by the
| |
| setUpgradeHeaders | back to summary |
|---|---|
| public Collection Implements io. Doc from io. Sets any protocol-specific headers required to the upgrade request. Returns the names of all headers that were added. These headers will be used to populate the CONNECTION header.
| |
| upgradeTo | back to summary |
|---|---|
| public void upgradeTo(ChannelHandlerContext ctx, FullHttpResponse upgradeResponse) throws Exception Implements io. Doc from io. Performs an HTTP protocol upgrade from the source codec. This method is responsible for adding all handlers required for the new protocol.
| |