@UnstableApi public class ForkedDefaultHttp2ConnectionDecoder extends Object implements io.netty.handler.codec.http2.Http2ConnectionDecoder
Http2FrameListener
This class will read HTTP/2 frames and delegate the events to a Http2FrameListener
This interface enforces inbound flow control functionality through
Http2LocalFlowController
| Constructor and Description |
|---|
ForkedDefaultHttp2ConnectionDecoder(io.netty.handler.codec.http2.Http2Connection connection,
io.netty.handler.codec.http2.Http2ConnectionEncoder encoder,
io.netty.handler.codec.http2.Http2FrameReader frameReader) |
ForkedDefaultHttp2ConnectionDecoder(io.netty.handler.codec.http2.Http2Connection connection,
io.netty.handler.codec.http2.Http2ConnectionEncoder encoder,
io.netty.handler.codec.http2.Http2FrameReader frameReader,
io.netty.handler.codec.http2.Http2PromisedRequestVerifier requestVerifier) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
io.netty.handler.codec.http2.Http2Connection |
connection() |
void |
decodeFrame(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
List<Object> out) |
io.netty.handler.codec.http2.Http2LocalFlowController |
flowController() |
io.netty.handler.codec.http2.Http2FrameListener |
frameListener() |
void |
frameListener(io.netty.handler.codec.http2.Http2FrameListener listener) |
void |
lifecycleManager(io.netty.handler.codec.http2.Http2LifecycleManager lifecycleManager) |
io.netty.handler.codec.http2.Http2Settings |
localSettings() |
boolean |
prefaceReceived() |
public ForkedDefaultHttp2ConnectionDecoder(io.netty.handler.codec.http2.Http2Connection connection,
io.netty.handler.codec.http2.Http2ConnectionEncoder encoder,
io.netty.handler.codec.http2.Http2FrameReader frameReader)
public ForkedDefaultHttp2ConnectionDecoder(io.netty.handler.codec.http2.Http2Connection connection,
io.netty.handler.codec.http2.Http2ConnectionEncoder encoder,
io.netty.handler.codec.http2.Http2FrameReader frameReader,
io.netty.handler.codec.http2.Http2PromisedRequestVerifier requestVerifier)
public void lifecycleManager(io.netty.handler.codec.http2.Http2LifecycleManager lifecycleManager)
lifecycleManager in interface io.netty.handler.codec.http2.Http2ConnectionDecoderpublic io.netty.handler.codec.http2.Http2Connection connection()
connection in interface io.netty.handler.codec.http2.Http2ConnectionDecoderpublic final io.netty.handler.codec.http2.Http2LocalFlowController flowController()
flowController in interface io.netty.handler.codec.http2.Http2ConnectionDecoderpublic void frameListener(io.netty.handler.codec.http2.Http2FrameListener listener)
frameListener in interface io.netty.handler.codec.http2.Http2ConnectionDecoderpublic io.netty.handler.codec.http2.Http2FrameListener frameListener()
frameListener in interface io.netty.handler.codec.http2.Http2ConnectionDecoderpublic boolean prefaceReceived()
prefaceReceived in interface io.netty.handler.codec.http2.Http2ConnectionDecoderpublic void decodeFrame(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
List<Object> out)
throws io.netty.handler.codec.http2.Http2Exception
decodeFrame in interface io.netty.handler.codec.http2.Http2ConnectionDecoderio.netty.handler.codec.http2.Http2Exceptionpublic io.netty.handler.codec.http2.Http2Settings localSettings()
localSettings in interface io.netty.handler.codec.http2.Http2ConnectionDecoderpublic void close()
close in interface io.netty.handler.codec.http2.Http2ConnectionDecoderclose in interface Closeableclose in interface AutoCloseableCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.