| Modifier and Type | Class and Description |
|---|---|
| public static class | CleartextHttp2ServerUpgradeHandler.PriorKnowledgeUpgradeEvent
User event that is fired to notify about HTTP/2 protocol is started. |
| Modifier and Type | Field and Description |
|---|---|
| private final ChannelHandler | |
| private final HttpServerCodec | |
| private final HttpServerUpgradeHandler |
| Access | Constructor and Description |
|---|---|
| public | CleartextHttp2ServerUpgradeHandler(HttpServerCodec
the http server codec httpServerCodec, HttpServerUpgradeHandler<?> the http server upgrade handler for HTTP/2 httpServerUpgradeHandler, ChannelHandler the http2 server handler, will be added into pipeline
when starting HTTP/2 by prior knowledge http2ServerHandler)Creates the channel handler provide cleartext HTTP/2 upgrade from HTTP upgrade or prior knowledge |
| Modifier and Type | Method and Description |
|---|---|
| protected void | decode(ChannelHandlerContext
the ctx, Buffer ChannelHandlerContext which this ByteToMessageDecoder belongs tothe in)Buffer from which to read dataImplements abstract io. |
| public void |
| http2ServerHandler | back to summary |
|---|---|
| private final ChannelHandler http2ServerHandler | |
| httpServerCodec | back to summary |
|---|---|
| private final HttpServerCodec httpServerCodec | |
| httpServerUpgradeHandler | back to summary |
|---|---|
| private final HttpServerUpgradeHandler<?> httpServerUpgradeHandler | |
| CleartextHttp2ServerUpgradeHandler | back to summary |
|---|---|
| public CleartextHttp2ServerUpgradeHandler(HttpServerCodec httpServerCodec, HttpServerUpgradeHandler<?> httpServerUpgradeHandler, ChannelHandler http2ServerHandler) Creates the channel handler provide cleartext HTTP/2 upgrade from HTTP upgrade or prior knowledge
| |
| decode | back to summary |
|---|---|
| protected void decode(ChannelHandlerContext ctx, Buffer in) throws Exception Implements abstract io. Peek inbound message to determine current connection wants to start HTTP/2 by HTTP upgrade or prior knowledge
| |
| handlerAdded0 | back to summary |
|---|---|
| public void handlerAdded0(ChannelHandlerContext ctx) throws Exception Overrides io.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final CleartextHttp2ServerUpgradeHandler. |
| Access | Constructor and Description |
|---|---|
| private |
| INSTANCE | back to summary |
|---|---|
| private static final CleartextHttp2ServerUpgradeHandler. | |
| PriorKnowledgeUpgradeEvent | back to summary |
|---|---|
| private PriorKnowledgeUpgradeEvent() | |