Home / Function/ readHeaderFrameAndContinuationFrame() — netty Function Reference

readHeaderFrameAndContinuationFrame() — netty Function Reference

Architecture documentation for the readHeaderFrameAndContinuationFrame() function in DefaultHttp2FrameReaderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  7fc7afea_f2c6_89e9_3db4_f270f03730bc["readHeaderFrameAndContinuationFrame()"]
  66b2f0cc_bce5_f8e1_a7ee_93cd2a101951["DefaultHttp2FrameReaderTest"]
  7fc7afea_f2c6_89e9_3db4_f270f03730bc -->|defined in| 66b2f0cc_bce5_f8e1_a7ee_93cd2a101951
  6dbae7d2_4be8_0723_a821_daaa741ba082["writeHeaderFrame()"]
  7fc7afea_f2c6_89e9_3db4_f270f03730bc -->|calls| 6dbae7d2_4be8_0723_a821_daaa741ba082
  138f410e_5644_03b1_ba60_3b3caf8ac6f6["writeContinuationFrame()"]
  7fc7afea_f2c6_89e9_3db4_f270f03730bc -->|calls| 138f410e_5644_03b1_ba60_3b3caf8ac6f6
  style 7fc7afea_f2c6_89e9_3db4_f270f03730bc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2FrameReaderTest.java lines 88–110

    @Test
    public void readHeaderFrameAndContinuationFrame() throws Http2Exception {
        final int streamId = 1;

        ByteBuf input = Unpooled.buffer();
        try {
            Http2Headers headers = new DefaultHttp2Headers()
                    .authority("foo")
                    .method("get")
                    .path("/")
                    .scheme("https");
            writeHeaderFrame(input, streamId, headers,
                    new Http2Flags().endOfHeaders(false).endOfStream(true));
            writeContinuationFrame(input, streamId, new DefaultHttp2Headers().add("foo", "bar"),
                    new Http2Flags().endOfHeaders(true));

            frameReader.readFrame(ctx, input, listener);

            verify(listener).onHeadersRead(ctx, 1, headers.add("foo", "bar"), 0, true);
        } finally {
            input.release();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does readHeaderFrameAndContinuationFrame() do?
readHeaderFrameAndContinuationFrame() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2FrameReaderTest.java.
Where is readHeaderFrameAndContinuationFrame() defined?
readHeaderFrameAndContinuationFrame() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2FrameReaderTest.java at line 88.
What does readHeaderFrameAndContinuationFrame() call?
readHeaderFrameAndContinuationFrame() calls 2 function(s): writeContinuationFrame, writeHeaderFrame.

Analyze Your Own Codebase

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

Try Supermodel Free