Home / Function/ initialWindowSize() — netty Function Reference

initialWindowSize() — netty Function Reference

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

Function java Buffer Allocators calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  9b6920f9_c0fb_2c1a_29e1_1d03e42fd974["initialWindowSize()"]
  36ddda9f_3efd_b028_26eb_619b997ea963["DefaultHttp2LocalFlowController"]
  9b6920f9_c0fb_2c1a_29e1_1d03e42fd974 -->|defined in| 36ddda9f_3efd_b028_26eb_619b997ea963
  0a901b1e_fe09_7d37_2b31_e9c669168f65["initialWindowSize()"]
  0a901b1e_fe09_7d37_2b31_e9c669168f65 -->|calls| 9b6920f9_c0fb_2c1a_29e1_1d03e42fd974
  0a901b1e_fe09_7d37_2b31_e9c669168f65["initialWindowSize()"]
  9b6920f9_c0fb_2c1a_29e1_1d03e42fd974 -->|calls| 0a901b1e_fe09_7d37_2b31_e9c669168f65
  1efd6394_c047_bdde_7bd6_1b52e7dd63cb["WindowUpdateVisitor()"]
  9b6920f9_c0fb_2c1a_29e1_1d03e42fd974 -->|calls| 1efd6394_c047_bdde_7bd6_1b52e7dd63cb
  71a5f350_1d3e_7ed2_4e49_7e32ddef1b62["throwIfError()"]
  9b6920f9_c0fb_2c1a_29e1_1d03e42fd974 -->|calls| 71a5f350_1d3e_7ed2_4e49_7e32ddef1b62
  style 9b6920f9_c0fb_2c1a_29e1_1d03e42fd974 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowController.java lines 139–148

    @Override
    public void initialWindowSize(int newWindowSize) throws Http2Exception {
        assert ctx == null || ctx.executor().inEventLoop();
        int delta = newWindowSize - initialWindowSize;
        initialWindowSize = newWindowSize;

        WindowUpdateVisitor visitor = new WindowUpdateVisitor(delta);
        connection.forEachActiveStream(visitor);
        visitor.throwIfError();
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free