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
Http2FrameReader
readFrame
in interface Http2FrameReader
Http2Exception
public void close()
Http2FrameReader
close
in interface Http2FrameReader
close
in interface Closeable
close
in interface AutoCloseable
public Http2FrameReader.Configuration configuration()
Http2FrameReader
Http2FrameReader
configuration
in interface Http2FrameReader
Copyright © 2008–2024 The Netty Project. All rights reserved.