Home / Function/ onWindowUpdateRead() — netty Function Reference

onWindowUpdateRead() — netty Function Reference

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

Function java Buffer Allocators calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  53802dd0_94ed_d039_ec4b_e98bdf4f8d6f["onWindowUpdateRead()"]
  0189a990_8f54_63f5_92fb_f168c031db1e["FrameReadListener"]
  53802dd0_94ed_d039_ec4b_e98bdf4f8d6f -->|defined in| 0189a990_8f54_63f5_92fb_f168c031db1e
  2f8204a7_43f9_050e_0ef8_d65744a07bb2["onWindowUpdateRead()"]
  2f8204a7_43f9_050e_0ef8_d65744a07bb2 -->|calls| 53802dd0_94ed_d039_ec4b_e98bdf4f8d6f
  2f8204a7_43f9_050e_0ef8_d65744a07bb2["onWindowUpdateRead()"]
  53802dd0_94ed_d039_ec4b_e98bdf4f8d6f -->|calls| 2f8204a7_43f9_050e_0ef8_d65744a07bb2
  695c4790_7bd4_bf0d_0e52_35e092024f50["streamCreatedAfterGoAwaySent()"]
  53802dd0_94ed_d039_ec4b_e98bdf4f8d6f -->|calls| 695c4790_7bd4_bf0d_0e52_35e092024f50
  a2d8c4e1_92a0_ea7d_3a12_abc7419c584a["verifyStreamMayHaveExisted()"]
  53802dd0_94ed_d039_ec4b_e98bdf4f8d6f -->|calls| a2d8c4e1_92a0_ea7d_3a12_abc7419c584a
  style 53802dd0_94ed_d039_ec4b_e98bdf4f8d6f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoder.java lines 600–614

        @Override
        public void onWindowUpdateRead(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement)
                throws Http2Exception {
            Http2Stream stream = connection.stream(streamId);
            if (stream == null || stream.state() == CLOSED || streamCreatedAfterGoAwaySent(streamId)) {
                // Ignore this frame.
                verifyStreamMayHaveExisted(streamId, false, "WINDOW_UPDATE");
                return;
            }

            // Update the outbound flow control window.
            encoder.flowController().incrementWindowSize(stream, windowSizeIncrement);

            listener.onWindowUpdateRead(ctx, streamId, windowSizeIncrement);
        }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free