Home / Function/ incrementFlowControlWindows() — netty Function Reference

incrementFlowControlWindows() — netty Function Reference

Architecture documentation for the incrementFlowControlWindows() function in DefaultHttp2LocalFlowController.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  6c8131a5_8522_16f2_0337_17791bd40117["incrementFlowControlWindows()"]
  45d84eff_651d_e7b2_c74b_baa69a4b9a46["DefaultState"]
  6c8131a5_8522_16f2_0337_17791bd40117 -->|defined in| 45d84eff_651d_e7b2_c74b_baa69a4b9a46
  9ca0a34c_02f9_c869_dea6_ba39b78b7959["writeWindowUpdate()"]
  9ca0a34c_02f9_c869_dea6_ba39b78b7959 -->|calls| 6c8131a5_8522_16f2_0337_17791bd40117
  1ff15d77_9d01_c5e6_825b_147496007ae5["visit()"]
  1ff15d77_9d01_c5e6_825b_147496007ae5 -->|calls| 6c8131a5_8522_16f2_0337_17791bd40117
  style 6c8131a5_8522_16f2_0337_17791bd40117 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowController.java lines 402–412

        @Override
        public void incrementFlowControlWindows(int delta) throws Http2Exception {
            if (delta > 0 && window > MAX_INITIAL_WINDOW_SIZE - delta) {
                throw streamError(stream.id(), FLOW_CONTROL_ERROR,
                        "Flow control window overflowed for stream: %d", stream.id());
            }

            window += delta;
            processedWindow += delta;
            lowerBound = min(delta, 0);
        }

Domain

Subdomains

Frequently Asked Questions

What does incrementFlowControlWindows() do?
incrementFlowControlWindows() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowController.java.
Where is incrementFlowControlWindows() defined?
incrementFlowControlWindows() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowController.java at line 402.
What calls incrementFlowControlWindows()?
incrementFlowControlWindows() is called by 2 function(s): visit, writeWindowUpdate.

Analyze Your Own Codebase

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

Try Supermodel Free