Home / Function/ maxHeaderListSize() — netty Function Reference

maxHeaderListSize() — netty Function Reference

Architecture documentation for the maxHeaderListSize() function in DefaultHttp2HeadersDecoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  c6e970b7_99dd_2caa_906e_90dd55836655["maxHeaderListSize()"]
  b3d1a32b_cb45_8f74_3a9b_931797e1d4ac["DefaultHttp2HeadersDecoder"]
  c6e970b7_99dd_2caa_906e_90dd55836655 -->|defined in| b3d1a32b_cb45_8f74_3a9b_931797e1d4ac
  style c6e970b7_99dd_2caa_906e_90dd55836655 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2HeadersDecoder.java lines 129–137

    @Override
    public void maxHeaderListSize(long max, long goAwayMax) throws Http2Exception {
        if (goAwayMax < max || goAwayMax < 0) {
            throw connectionError(INTERNAL_ERROR, "Header List Size GO_AWAY %d must be non-negative and >= %d",
                    goAwayMax, max);
        }
        hpackDecoder.setMaxHeaderListSize(max);
        maxHeaderListSizeGoAway = goAwayMax;
    }

Domain

Subdomains

Frequently Asked Questions

What does maxHeaderListSize() do?
maxHeaderListSize() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2HeadersDecoder.java.
Where is maxHeaderListSize() defined?
maxHeaderListSize() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2HeadersDecoder.java at line 129.

Analyze Your Own Codebase

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

Try Supermodel Free