Home / Function/ testSetMaxHeaderListSizeEnforcedAfterSet() — netty Function Reference

testSetMaxHeaderListSizeEnforcedAfterSet() — netty Function Reference

Architecture documentation for the testSetMaxHeaderListSizeEnforcedAfterSet() function in HpackEncoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  97e22a27_ac85_6f28_0bb3_0d1fa3a5d4e8["testSetMaxHeaderListSizeEnforcedAfterSet()"]
  a8203e54_7e3c_740d_20fe_825ed86c66af["HpackEncoderTest"]
  97e22a27_ac85_6f28_0bb3_0d1fa3a5d4e8 -->|defined in| a8203e54_7e3c_740d_20fe_825ed86c66af
  style 97e22a27_ac85_6f28_0bb3_0d1fa3a5d4e8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/HpackEncoderTest.java lines 91–106

    @Test
    public void testSetMaxHeaderListSizeEnforcedAfterSet() throws Http2Exception {
        final Http2Headers headers = new DefaultHttp2Headers().add(
                "x-big-header",
                new String(new char[1024 * 16]).replace('\0', 'X')
        );

        hpackEncoder.setMaxHeaderListSize(1000);

        assertThrows(Http2Exception.class, new Executable() {
            @Override
            public void execute() throws Throwable {
                hpackEncoder.encodeHeaders(0, buf, headers, Http2HeadersEncoder.NEVER_SENSITIVE);
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

What does testSetMaxHeaderListSizeEnforcedAfterSet() do?
testSetMaxHeaderListSizeEnforcedAfterSet() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HpackEncoderTest.java.
Where is testSetMaxHeaderListSizeEnforcedAfterSet() defined?
testSetMaxHeaderListSizeEnforcedAfterSet() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HpackEncoderTest.java at line 91.

Analyze Your Own Codebase

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

Try Supermodel Free