Interface Http2FrameReader

    • Method Detail

      • readFrame

        void readFrame​(io.netty.channel.ChannelHandlerContext ctx,
                       io.netty.buffer.ByteBuf input,
                       Http2FrameListener listener)
                throws Http2Exception
        Attempts to read the next frame from the input buffer. If enough data is available to fully read the frame, notifies the listener of the read frame.
        Throws:
        Http2Exception
      • close

        void close()
        Closes this reader and frees any allocated resources.
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Closeable