@UnstableApi public class DecoratingHttp2ConnectionDecoder extends java.lang.Object implements Http2ConnectionDecoder
Http2ConnectionDecoder
instance.构造器和说明 |
---|
DecoratingHttp2ConnectionDecoder(Http2ConnectionDecoder delegate) |
限定符和类型 | 方法和说明 |
---|---|
void |
close() |
Http2Connection |
connection()
Provides direct access to the underlying connection.
|
void |
decodeFrame(ChannelHandlerContext ctx,
ByteBuf in,
java.util.List<java.lang.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.
|
Http2FrameListener |
frameListener()
Get the
Http2FrameListener which will be notified when frames are decoded. |
void |
frameListener(Http2FrameListener listener)
Set the
Http2FrameListener which will be notified when frames are decoded. |
void |
lifecycleManager(Http2LifecycleManager lifecycleManager)
Sets the lifecycle manager.
|
Http2Settings |
localSettings()
Gets 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)
Http2ConnectionDecoder
lifecycleManager
在接口中 Http2ConnectionDecoder
public Http2Connection connection()
Http2ConnectionDecoder
connection
在接口中 Http2ConnectionDecoder
public Http2LocalFlowController flowController()
Http2ConnectionDecoder
flowController
在接口中 Http2ConnectionDecoder
public void frameListener(Http2FrameListener listener)
Http2ConnectionDecoder
Http2FrameListener
which will be notified when frames are decoded.
This must be set before frames are decoded.
frameListener
在接口中 Http2ConnectionDecoder
public Http2FrameListener frameListener()
Http2ConnectionDecoder
Http2FrameListener
which will be notified when frames are decoded.frameListener
在接口中 Http2ConnectionDecoder
public void decodeFrame(ChannelHandlerContext ctx, ByteBuf in, java.util.List<java.lang.Object> out) throws Http2Exception
Http2ConnectionDecoder
Http2ConnectionHandler
to decode the next frame from the input buffer.decodeFrame
在接口中 Http2ConnectionDecoder
Http2Exception
public Http2Settings localSettings()
Http2ConnectionDecoder
localSettings
在接口中 Http2ConnectionDecoder
public boolean prefaceReceived()
Http2ConnectionDecoder
SETTINGS
frame was received from the remote endpoint.prefaceReceived
在接口中 Http2ConnectionDecoder
public void close()
close
在接口中 Http2ConnectionDecoder
close
在接口中 java.io.Closeable
close
在接口中 java.lang.AutoCloseable