Home / Function/ Http2Settings() — netty Function Reference

Http2Settings() — netty Function Reference

Architecture documentation for the Http2Settings() function in DefaultHttp2ConnectionDecoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  410fdca1_9d26_6c4b_11a1_893f0d4582ea["Http2Settings()"]
  b3fe26c0_8414_9998_6798_f8346e67f5e1["DefaultHttp2ConnectionDecoder"]
  410fdca1_9d26_6c4b_11a1_893f0d4582ea -->|defined in| b3fe26c0_8414_9998_6798_f8346e67f5e1
  style 410fdca1_9d26_6c4b_11a1_893f0d4582ea fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoder.java lines 189–205

    @Override
    public Http2Settings localSettings() {
        Http2Settings settings = new Http2Settings();
        Http2FrameReader.Configuration config = frameReader.configuration();
        Http2HeadersDecoder.Configuration headersConfig = config.headersConfiguration();
        Http2FrameSizePolicy frameSizePolicy = config.frameSizePolicy();
        settings.initialWindowSize(flowController().initialWindowSize());
        settings.maxConcurrentStreams(connection.remote().maxActiveStreams());
        settings.headerTableSize(headersConfig.maxHeaderTableSize());
        settings.maxFrameSize(frameSizePolicy.maxFrameSize());
        settings.maxHeaderListSize(headersConfig.maxHeaderListSize());
        if (!connection.isServer()) {
            // Only set the pushEnabled flag if this is a client endpoint.
            settings.pushEnabled(connection.local().allowPushTo());
        }
        return settings;
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free