@UnstableApi public interface Http2FrameReader extends java.io.Closeable
ByteBuf
and notifies the specified
Http2FrameListener
when frames are complete.限定符和类型 | 接口和说明 |
---|---|
static interface |
Http2FrameReader.Configuration
Configuration specific to
Http2FrameReader |
限定符和类型 | 方法和说明 |
---|---|
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
Http2Exception
Http2FrameReader.Configuration configuration()
Http2FrameReader
void close()
close
在接口中 java.lang.AutoCloseable
close
在接口中 java.io.Closeable