Home / Function/ validateCapacity() — netty Function Reference

validateCapacity() — netty Function Reference

Architecture documentation for the validateCapacity() function in QpackEncoderDynamicTable.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e29b2f16_6e8d_3b7b_3ee5_787cd2f6ec2d["validateCapacity()"]
  4f2fd884_2460_757f_867b_2f1f2c79f9b9["QpackEncoderDynamicTable"]
  e29b2f16_6e8d_3b7b_3ee5_787cd2f6ec2d -->|defined in| 4f2fd884_2460_757f_867b_2f1f2c79f9b9
  7bee1cc8_fb10_4557_d83c_ebacd2e5f371["maxTableCapacity()"]
  7bee1cc8_fb10_4557_d83c_ebacd2e5f371 -->|calls| e29b2f16_6e8d_3b7b_3ee5_787cd2f6ec2d
  style e29b2f16_6e8d_3b7b_3ee5_787cd2f6ec2d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoderDynamicTable.java lines 433–437

    private static void validateCapacity(long capacity) throws QpackException {
        if (capacity < MIN_HEADER_TABLE_SIZE || capacity > MAX_HEADER_TABLE_SIZE) {
            throw INVALID_TABLE_CAPACITY;
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does validateCapacity() do?
validateCapacity() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoderDynamicTable.java.
Where is validateCapacity() defined?
validateCapacity() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoderDynamicTable.java at line 433.
What calls validateCapacity()?
validateCapacity() is called by 1 function(s): maxTableCapacity.

Analyze Your Own Codebase

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

Try Supermodel Free