Home / Function/ decodeLargerThanHeaderListSizeGoAway() — netty Function Reference

decodeLargerThanHeaderListSizeGoAway() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2HeadersDecoderTest.java lines 120–136

    @Test
    public void decodeLargerThanHeaderListSizeGoAway() throws Exception {
        decoder.maxHeaderListSize(MIN_HEADER_LIST_SIZE, MIN_HEADER_LIST_SIZE);
        final ByteBuf buf = encode(b(":method"), b("GET"));
        final int streamId = 1;
        try {
            Http2Exception e = assertThrows(Http2Exception.class, new Executable() {
                @Override
                public void execute() throws Throwable {
                    decoder.decodeHeaders(streamId, buf);
                }
            });
            assertEquals(Http2Error.PROTOCOL_ERROR, e.error());
        } finally {
            buf.release();
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free