Home / Function/ onSettingsRead() — netty Function Reference

onSettingsRead() — netty Function Reference

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

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  d780413a_8e67_042a_0c5e_5b57b04b4009["onSettingsRead()"]
  0189a990_8f54_63f5_92fb_f168c031db1e["FrameReadListener"]
  d780413a_8e67_042a_0c5e_5b57b04b4009 -->|defined in| 0189a990_8f54_63f5_92fb_f168c031db1e
  2e7a8b56_19d4_b081_6c1f_4ec815ec889b["onSettingsRead()"]
  2e7a8b56_19d4_b081_6c1f_4ec815ec889b -->|calls| d780413a_8e67_042a_0c5e_5b57b04b4009
  2e7a8b56_19d4_b081_6c1f_4ec815ec889b["onSettingsRead()"]
  d780413a_8e67_042a_0c5e_5b57b04b4009 -->|calls| 2e7a8b56_19d4_b081_6c1f_4ec815ec889b
  style d780413a_8e67_042a_0c5e_5b57b04b4009 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoder.java lines 516–530

        @Override
        public void onSettingsRead(final ChannelHandlerContext ctx, Http2Settings settings) throws Http2Exception {
            if (settingsReceivedConsumer == null) {
                // Acknowledge receipt of the settings. We should do this before we process the settings to ensure our
                // remote peer applies these settings before any subsequent frames that we may send which depend upon
                // these new settings. See https://github.com/netty/netty/issues/6520.
                encoder.writeSettingsAck(ctx, ctx.newPromise());

                encoder.remoteSettings(settings);
            } else {
                settingsReceivedConsumer.consumeReceivedSettings(settings);
            }

            listener.onSettingsRead(ctx, settings);
        }

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free