Home / Type/ Http2FrameReader Type — netty Architecture

Http2FrameReader Type — netty Architecture

Architecture documentation for the Http2FrameReader type/interface in Http2FrameReader.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  c4b31888_a0e9_b4f4_5e2f_72894a63d065["Http2FrameReader"]
  675b6680_712a_70ab_658a_133a5bfbb7dc["Http2FrameReader.java"]
  c4b31888_a0e9_b4f4_5e2f_72894a63d065 -->|defined in| 675b6680_712a_70ab_658a_133a5bfbb7dc
  style c4b31888_a0e9_b4f4_5e2f_72894a63d065 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameReader.java lines 27–60

public interface Http2FrameReader extends Closeable {
    /**
     * Configuration specific to {@link Http2FrameReader}
     */
    interface Configuration {
        /**
         * Get the {@link Http2HeadersDecoder.Configuration} for this {@link Http2FrameReader}
         */
        Http2HeadersDecoder.Configuration headersConfiguration();

        /**
         * Get the {@link Http2FrameSizePolicy} for this {@link Http2FrameReader}
         */
        Http2FrameSizePolicy frameSizePolicy();
    }

    /**
     * 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.
     */
    void readFrame(ChannelHandlerContext ctx, ByteBuf input, Http2FrameListener listener)
            throws Http2Exception;

    /**
     * Get the configuration related elements for this {@link Http2FrameReader}
     */
    Configuration configuration();

    /**
     * Closes this reader and frees any allocated resources.
     */
    @Override
    void close();
}

Frequently Asked Questions

What is the Http2FrameReader type?
Http2FrameReader is a type/interface in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameReader.java.
Where is Http2FrameReader defined?
Http2FrameReader is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameReader.java at line 27.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free