@UnstableApi public interface Http2FrameReader extends java.io.Closeable
ByteBuf and notifies the specified
Http2FrameListener when frames are complete.| Modifier and Type | Interface and Description |
|---|---|
static interface |
Http2FrameReader.Configuration
Configuration specific to
Http2FrameReader |
| 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.
|
void readFrame(ChannelHandlerContext ctx, ByteBuf input, Http2FrameListener listener) throws Http2Exception
Http2ExceptionHttp2FrameReader.Configuration configuration()
Http2FrameReadervoid close()
close in interface java.lang.AutoCloseableclose in interface java.io.Closeable