Home / Function/ Long() — netty Function Reference

Long() — netty Function Reference

Architecture documentation for the Long() function in Http3Settings.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  028ec118_5c04_b046_e5a4_6b2a7c571834["Long()"]
  2ee3db7b_3314_f934_9e31_df530c4e959e["Http3Settings"]
  028ec118_5c04_b046_e5a4_6b2a7c571834 -->|defined in| 2ee3db7b_3314_f934_9e31_df530c4e959e
  1a37c31e_5f5d_822d_4351_221b3d3857f2["verifyStandardSetting()"]
  028ec118_5c04_b046_e5a4_6b2a7c571834 -->|calls| 1a37c31e_5f5d_822d_4351_221b3d3857f2
  style 028ec118_5c04_b046_e5a4_6b2a7c571834 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/Http3Settings.java lines 83–104

    @Nullable
    public Long put(long key, Long value) {

        // When HTTP2 settings identifier present - Throw Error
        if (Http3CodecUtils.isReservedHttp2Setting(key)) {
            throw new IllegalArgumentException("Setting is reserved for HTTP/2: " + key);
        }

        Http3SettingIdentifier identifier = Http3SettingIdentifier.fromId(key);

        if (identifier == null) {
            // When Non-Standard/Unknown settings identifier present check if we should ignore it or not.
            if (!nonStandardSettingsValidator.validate(key, value)) {
                return null;
            }
        } else {
            //Validation
            verifyStandardSetting(identifier, value);
        }

        return settings.put(key, value);
    }

Domain

Subdomains

Frequently Asked Questions

What does Long() do?
Long() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3Settings.java.
Where is Long() defined?
Long() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3Settings.java at line 83.
What does Long() call?
Long() calls 1 function(s): verifyStandardSetting.

Analyze Your Own Codebase

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

Try Supermodel Free