Home / Function/ testHttp3HeadersFrameWithInvalidTrailers() — netty Function Reference

testHttp3HeadersFrameWithInvalidTrailers() — netty Function Reference

Architecture documentation for the testHttp3HeadersFrameWithInvalidTrailers() function in Http3FrameCodecTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  654c2fc8_c4a9_f620_b2db_d1be51eabdb7["testHttp3HeadersFrameWithInvalidTrailers()"]
  5690f307_9248_ec29_2c84_6839dbcdc179["Http3FrameCodecTest"]
  654c2fc8_c4a9_f620_b2db_d1be51eabdb7 -->|defined in| 5690f307_9248_ec29_2c84_6839dbcdc179
  f172e438_95aa_794a_73ee_b2131dfe9d18["setUp()"]
  654c2fc8_c4a9_f620_b2db_d1be51eabdb7 -->|calls| f172e438_95aa_794a_73ee_b2131dfe9d18
  0371e2a1_748f_2fa3_507f_b4a407f027d6["addRequestHeaders()"]
  654c2fc8_c4a9_f620_b2db_d1be51eabdb7 -->|calls| 0371e2a1_748f_2fa3_507f_b4a407f027d6
  b1ff5de9_9ca0_35d9_9bc2_5d0d9a917169["testFrameEncodedAndDecoded()"]
  654c2fc8_c4a9_f620_b2db_d1be51eabdb7 -->|calls| b1ff5de9_9ca0_35d9_9bc2_5d0d9a917169
  style 654c2fc8_c4a9_f620_b2db_d1be51eabdb7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/Http3FrameCodecTest.java lines 311–324

    @ParameterizedTest(name = "{index}: fragmented = {0}, maxBlockedStreams = {1}, delayQpackStreams = {2}")
    @MethodSource("data")
    public void testHttp3HeadersFrameWithInvalidTrailers(
            boolean fragmented, int maxBlockedStreams, boolean delayQpackStreams) throws Exception {
        setUp(maxBlockedStreams, delayQpackStreams);
        Http3HeadersFrame headersFrame = new DefaultHttp3HeadersFrame();
        addRequestHeaders(headersFrame.headers());
        testFrameEncodedAndDecoded(fragmented, maxBlockedStreams, delayQpackStreams, headersFrame);

        final DefaultHttp3HeadersFrame trailer = new DefaultHttp3HeadersFrame();
        trailer.headers().add(":method", "GET");
        assertThrows(Http3HeadersValidationException.class,
                () -> testFrameEncodedAndDecoded(fragmented, maxBlockedStreams, delayQpackStreams, trailer));
    }

Domain

Subdomains

Frequently Asked Questions

What does testHttp3HeadersFrameWithInvalidTrailers() do?
testHttp3HeadersFrameWithInvalidTrailers() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/Http3FrameCodecTest.java.
Where is testHttp3HeadersFrameWithInvalidTrailers() defined?
testHttp3HeadersFrameWithInvalidTrailers() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/Http3FrameCodecTest.java at line 311.
What does testHttp3HeadersFrameWithInvalidTrailers() call?
testHttp3HeadersFrameWithInvalidTrailers() calls 3 function(s): addRequestHeaders, setUp, testFrameEncodedAndDecoded.

Analyze Your Own Codebase

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

Try Supermodel Free