Home / Function/ verifyWeight() — netty Function Reference

verifyWeight() — netty Function Reference

Architecture documentation for the verifyWeight() function in DefaultHttp2FrameWriter.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  2082dc42_7809_f8bc_b329_9ff15dc486ce["verifyWeight()"]
  15f148d0_1b4a_244f_1956_157fbe75e59a["DefaultHttp2FrameWriter"]
  2082dc42_7809_f8bc_b329_9ff15dc486ce -->|defined in| 15f148d0_1b4a_244f_1956_157fbe75e59a
  fe7bfdb5_730f_310a_cec0_582ba7362f95["ChannelFuture()"]
  fe7bfdb5_730f_310a_cec0_582ba7362f95 -->|calls| 2082dc42_7809_f8bc_b329_9ff15dc486ce
  style 2082dc42_7809_f8bc_b329_9ff15dc486ce fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameWriter.java lines 628–632

    private static void verifyWeight(short weight) {
        if (weight < MIN_WEIGHT || weight > MAX_WEIGHT) {
            throw new IllegalArgumentException("Invalid weight: " + weight);
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does verifyWeight() do?
verifyWeight() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameWriter.java.
Where is verifyWeight() defined?
verifyWeight() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameWriter.java at line 628.
What calls verifyWeight()?
verifyWeight() is called by 1 function(s): ChannelFuture.

Analyze Your Own Codebase

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

Try Supermodel Free