Home / Function/ maxFrameSize() — netty Function Reference

maxFrameSize() — netty Function Reference

Architecture documentation for the maxFrameSize() function in DefaultHttp2FrameReader.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  3aff8823_71da_4119_d96e_f3cdf9d1fa40["maxFrameSize()"]
  3768d640_58c2_34e7_3d69_a4b578e0d11a["DefaultHttp2FrameReader"]
  3aff8823_71da_4119_d96e_f3cdf9d1fa40 -->|defined in| 3768d640_58c2_34e7_3d69_a4b578e0d11a
  style 3aff8823_71da_4119_d96e_f3cdf9d1fa40 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameReader.java lines 110–118

    @Override
    public void maxFrameSize(int max) throws Http2Exception {
        if (!isMaxFrameSizeValid(max)) {
            // SETTINGS frames affect the entire connection state and thus errors must be connection errors.
            // See https://datatracker.ietf.org/doc/html/rfc9113#section-4.2 for details.
            throw connectionError(FRAME_SIZE_ERROR, "Invalid MAX_FRAME_SIZE specified in sent settings: %d", max);
        }
        maxFrameSize = max;
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free