Home / Function/ setMaxHeaderListSize() — netty Function Reference

setMaxHeaderListSize() — netty Function Reference

Architecture documentation for the setMaxHeaderListSize() function in HpackDecoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  14254632_9488_30a0_fc51_dfa1c27e0883["setMaxHeaderListSize()"]
  929eb7d3_94e9_fa41_fd78_c76a9b499b89["HpackDecoder"]
  14254632_9488_30a0_fc51_dfa1c27e0883 -->|defined in| 929eb7d3_94e9_fa41_fd78_c76a9b499b89
  style 14254632_9488_30a0_fc51_dfa1c27e0883 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/HpackDecoder.java lines 335–341

    void setMaxHeaderListSize(long maxHeaderListSize) throws Http2Exception {
        if (maxHeaderListSize < MIN_HEADER_LIST_SIZE || maxHeaderListSize > MAX_HEADER_LIST_SIZE) {
            throw connectionError(PROTOCOL_ERROR, "Header List Size must be >= %d and <= %d but was %d",
                    MIN_HEADER_TABLE_SIZE, MAX_HEADER_TABLE_SIZE, maxHeaderListSize);
        }
        this.maxHeaderListSize = maxHeaderListSize;
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free