public class Http2InboundFrameLogger extends Object implements Http2FrameReader
Http2FrameReader that logs all inbound frames before calling
back the listener.Http2FrameReader.Configuration| Constructor and Description |
|---|
Http2InboundFrameLogger(Http2FrameReader reader,
Http2FrameLogger logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this reader and frees any allocated resources.
|
Http2FrameReader.Configuration |
configuration()
Get the configuration related elements for this
Http2FrameReader |
void |
readFrame(ChannelHandlerContext ctx,
ByteBuf input,
Http2FrameListener listener)
Attempts to read the next frame from the input buffer.
|
public Http2InboundFrameLogger(Http2FrameReader reader, Http2FrameLogger logger)
public void readFrame(ChannelHandlerContext ctx, ByteBuf input, Http2FrameListener listener) throws Http2Exception
Http2FrameReaderreadFrame in interface Http2FrameReaderHttp2Exceptionpublic void close()
Http2FrameReaderclose in interface Http2FrameReaderclose in interface Closeableclose in interface AutoCloseablepublic Http2FrameReader.Configuration configuration()
Http2FrameReaderHttp2FrameReaderconfiguration in interface Http2FrameReaderCopyright © 2008–2015 The Netty Project. All rights reserved.