Home / Function/ decodeLargerThanHeaderListSizeButLessThanGoAwayWithInitialDecoderSettings() — netty Function Reference

decodeLargerThanHeaderListSizeButLessThanGoAwayWithInitialDecoderSettings() — netty Function Reference

Architecture documentation for the decodeLargerThanHeaderListSizeButLessThanGoAwayWithInitialDecoderSettings() function in DefaultHttp2HeadersDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  cfa0ebf4_ba11_94b8_58b6_16927cb641e7["decodeLargerThanHeaderListSizeButLessThanGoAwayWithInitialDecoderSettings()"]
  bddf27d1_0dcd_a270_e076_3c8aa8b9b31f["DefaultHttp2HeadersDecoderTest"]
  cfa0ebf4_ba11_94b8_58b6_16927cb641e7 -->|defined in| bddf27d1_0dcd_a270_e076_3c8aa8b9b31f
  style cfa0ebf4_ba11_94b8_58b6_16927cb641e7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2HeadersDecoderTest.java lines 101–118

    @Test
    public void decodeLargerThanHeaderListSizeButLessThanGoAwayWithInitialDecoderSettings() throws Exception {
        final ByteBuf buf = encode(b(":method"), b("GET"), b("test_header"),
            b(String.format("%09000d", 0).replace('0', 'A')));
        final int streamId = 1;
        try {
            Http2Exception.HeaderListSizeException e = assertThrows(Http2Exception.HeaderListSizeException.class,
                    new Executable() {
                        @Override
                        public void execute() throws Throwable {
                            decoder.decodeHeaders(streamId, buf);
                        }
                    });
            assertEquals(streamId, e.streamId());
        } finally {
            buf.release();
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free