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