Http2ConnectionHandler. Performs basic protocol
conformance on inbound frames before calling the delegate Http2FrameListener for
application-specific processing. Note that frames of an unknown type (i.e. HTTP/2 extensions)
will skip all protocol checks and be given directly to the listener for processing.
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Redeclares java. |
| public Http2Connection | |
| public void | decodeFrame(ChannelHandlerContext ctx, ByteBuf in, List<Object> out)
Called by the |
| public Http2LocalFlowController | |
| public void | frameListener(Http2FrameListener listener)
Set the |
| public Http2FrameListener | |
| public void | |
| public Http2Settings | |
| public boolean | prefaceReceived()
Indicates whether or not the first initial |
| close | back to summary |
|---|---|
| public void close() Redeclares java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| connection | back to summary |
|---|---|
| public Http2Connection connection() Provides direct access to the underlying connection. | |
| decodeFrame | back to summary |
|---|---|
| public void decodeFrame(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) throws Http2Exception Called by the | |
| flowController | back to summary |
|---|---|
| public Http2LocalFlowController flowController() Provides the local flow controller for managing inbound traffic. | |
| frameListener | back to summary |
|---|---|
| public void frameListener(Http2FrameListener listener) Set the This must be set before frames are decoded. | |
| frameListener | back to summary |
|---|---|
| public Http2FrameListener frameListener() Get the | |
| lifecycleManager | back to summary |
|---|---|
| public void lifecycleManager(Http2LifecycleManager lifecycleManager) Sets the lifecycle manager. Must be called as part of initialization before the decoder is used. | |
| localSettings | back to summary |
|---|---|
| public Http2Settings localSettings() Gets the local settings for this endpoint of the HTTP/2 connection. | |
| prefaceReceived | back to summary |
|---|---|
| public boolean prefaceReceived() Indicates whether or not the first initial | |