Home / Function/ incrementStreamWindow() — netty Function Reference

incrementStreamWindow() — netty Function Reference

Architecture documentation for the incrementStreamWindow() function in DefaultHttp2RemoteFlowController.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  03b175d5_44cf_3343_f379_b5f478f70548["incrementStreamWindow()"]
  b2e83a60_2b9a_b7db_749c_dd2e3fd31ba6["FlowState"]
  03b175d5_44cf_3343_f379_b5f478f70548 -->|defined in| b2e83a60_2b9a_b7db_749c_dd2e3fd31ba6
  c8771e8a_dd16_cfa8_0f08_61e2eb9b9b47["decrementFlowControlWindow()"]
  c8771e8a_dd16_cfa8_0f08_61e2eb9b9b47 -->|calls| 03b175d5_44cf_3343_f379_b5f478f70548
  11849e18_d9ef_64e9_d508_35c077f67430["incrementWindowSize()"]
  11849e18_d9ef_64e9_d508_35c077f67430 -->|calls| 03b175d5_44cf_3343_f379_b5f478f70548
  4726301f_0167_8ad7_ccda_f3c46efe04f9["initialWindowSize()"]
  4726301f_0167_8ad7_ccda_f3c46efe04f9 -->|calls| 03b175d5_44cf_3343_f379_b5f478f70548
  style 03b175d5_44cf_3343_f379_b5f478f70548 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowController.java lines 404–413

        int incrementStreamWindow(int delta) throws Http2Exception {
            if (delta > 0 && Integer.MAX_VALUE - delta < window) {
                throw streamError(stream.id(), FLOW_CONTROL_ERROR,
                        "Window size overflow for stream: %d", stream.id());
            }
            window += delta;

            streamByteDistributor.updateStreamableBytes(this);
            return window;
        }

Domain

Subdomains

Frequently Asked Questions

What does incrementStreamWindow() do?
incrementStreamWindow() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowController.java.
Where is incrementStreamWindow() defined?
incrementStreamWindow() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowController.java at line 404.
What calls incrementStreamWindow()?
incrementStreamWindow() is called by 3 function(s): decrementFlowControlWindow, incrementWindowSize, initialWindowSize.

Analyze Your Own Codebase

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

Try Supermodel Free