public class DecoratingHttp2ConnectionDecoder extends Object implements Http2ConnectionDecoder
Http2ConnectionDecoder instance.| Constructor and Description |
|---|
DecoratingHttp2ConnectionDecoder(Http2ConnectionDecoder delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Http2Connection |
connection()
Provides direct access to the underlying connection.
|
void |
decodeFrame(ChannelHandlerContext ctx,
ByteBuf in,
List<Object> out)
Called by the
Http2ConnectionHandler to decode the next frame from the input buffer. |
Http2LocalFlowController |
flowController()
Provides the local flow controller for managing inbound traffic.
|
void |
lifecycleManager(Http2LifecycleManager lifecycleManager)
Sets the lifecycle manager.
|
Http2FrameListener |
listener()
Provides direct access to the underlying frame listener.
|
Http2Settings |
localSettings()
Gets the local settings for this endpoint of the HTTP/2 connection.
|
void |
localSettings(Http2Settings settings)
Sets the local settings for this endpoint of the HTTP/2 connection.
|
boolean |
prefaceReceived()
Indicates whether or not the first initial
SETTINGS frame was received from the remote endpoint. |
public DecoratingHttp2ConnectionDecoder(Http2ConnectionDecoder delegate)
public void lifecycleManager(Http2LifecycleManager lifecycleManager)
Http2ConnectionDecoderlifecycleManager in interface Http2ConnectionDecoderpublic Http2Connection connection()
Http2ConnectionDecoderconnection in interface Http2ConnectionDecoderpublic Http2LocalFlowController flowController()
Http2ConnectionDecoderflowController in interface Http2ConnectionDecoderpublic Http2FrameListener listener()
Http2ConnectionDecoderlistener in interface Http2ConnectionDecoderpublic void decodeFrame(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) throws Http2Exception
Http2ConnectionDecoderHttp2ConnectionHandler to decode the next frame from the input buffer.decodeFrame in interface Http2ConnectionDecoderHttp2Exceptionpublic Http2Settings localSettings()
Http2ConnectionDecoderlocalSettings in interface Http2ConnectionDecoderpublic void localSettings(Http2Settings settings) throws Http2Exception
Http2ConnectionDecoderlocalSettings in interface Http2ConnectionDecoderHttp2Exceptionpublic boolean prefaceReceived()
Http2ConnectionDecoderSETTINGS frame was received from the remote endpoint.prefaceReceived in interface Http2ConnectionDecoderpublic void close()
close in interface Http2ConnectionDecoderclose in interface Closeableclose in interface AutoCloseableCopyright © 2008–2015 The Netty Project. All rights reserved.