@UnstableApi public class Http2InboundFrameLogger extends java.lang.Object implements Http2FrameReader
Http2FrameReader
的装饰器在回调监听器之前记录所有入站帧。
Http2FrameReader.Configuration
Constructor and Description |
---|
Http2InboundFrameLogger(Http2FrameReader reader, Http2FrameLogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
close()
关闭这个阅读器并释放任何分配的资源。
|
Http2FrameReader.Configuration |
configuration()
获取此 Http2FrameReader 的配置相关元素
|
void |
readFrame(ChannelHandlerContext ctx, ByteBuf input, Http2FrameListener listener)
尝试从输入缓冲区读取下一帧。
|
public Http2InboundFrameLogger(Http2FrameReader reader, Http2FrameLogger logger)
public void readFrame(ChannelHandlerContext ctx, ByteBuf input, Http2FrameListener listener) throws Http2Exception
Http2FrameReader
readFrame
在界面
Http2FrameReader
Http2Exception
public void close()
Http2FrameReader
close
,界面
Http2FrameReader
close
在界面
java.io.Closeable
close
在界面
java.lang.AutoCloseable
public Http2FrameReader.Configuration configuration()
Http2FrameReader
复制的描述
Http2FrameReader
的配置相关元素
configuration
在界面
Http2FrameReader
Copyright © 2008–2018 The Netty Project. All rights reserved.