Home / Function/ writeWindowUpdate() — netty Function Reference

writeWindowUpdate() — netty Function Reference

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

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowController.java lines 472–484

        private void writeWindowUpdate() throws Http2Exception {
            // Expand the window for this stream back to the size of the initial window.
            int deltaWindowSize = initialStreamWindowSize - processedWindow;
            try {
                incrementFlowControlWindows(deltaWindowSize);
            } catch (Throwable t) {
                throw connectionError(INTERNAL_ERROR, t,
                        "Attempting to return too many bytes for stream %d", stream.id());
            }

            // Send a window update for the stream/connection.
            frameWriter.writeWindowUpdate(ctx, stream.id(), deltaWindowSize, ctx.newPromise());
        }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free