Home / Function/ initController() — netty Function Reference

initController() — netty Function Reference

Architecture documentation for the initController() function in DefaultHttp2LocalFlowControllerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f767565c_2b5f_4c3f_4daa_c69087a87bcb["initController()"]
  99976e08_de48_4e06_40e5_5ee3655f2651["DefaultHttp2LocalFlowControllerTest"]
  f767565c_2b5f_4c3f_4daa_c69087a87bcb -->|defined in| 99976e08_de48_4e06_40e5_5ee3655f2651
  4fc25965_75b8_40fd_a008_02d1e1aa64ac["setup()"]
  4fc25965_75b8_40fd_a008_02d1e1aa64ac -->|calls| f767565c_2b5f_4c3f_4daa_c69087a87bcb
  53c661a9_b397_ab5e_f273_ccbf77df7a7f["connectionWindowShouldAutoRefillWhenDataReceived()"]
  53c661a9_b397_ab5e_f273_ccbf77df7a7f -->|calls| f767565c_2b5f_4c3f_4daa_c69087a87bcb
  70504a00_22b0_0db5_3ad8_69eed794bcbc["closeShouldNotConsumeConnectionWindowWhenAutoRefilled()"]
  70504a00_22b0_0db5_3ad8_69eed794bcbc -->|calls| f767565c_2b5f_4c3f_4daa_c69087a87bcb
  style f767565c_2b5f_4c3f_4daa_c69087a87bcb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowControllerTest.java lines 452–459

    private void initController(boolean autoRefillConnectionWindow) throws Http2Exception {
        connection = new DefaultHttp2Connection(false);
        controller = new DefaultHttp2LocalFlowController(connection,
                DEFAULT_WINDOW_UPDATE_RATIO, autoRefillConnectionWindow).frameWriter(frameWriter);
        connection.local().flowController(controller);
        connection.local().createStream(STREAM_ID, false);
        controller.channelHandlerContext(ctx);
    }

Domain

Subdomains

Frequently Asked Questions

What does initController() do?
initController() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowControllerTest.java.
Where is initController() defined?
initController() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowControllerTest.java at line 452.
What calls initController()?
initController() is called by 3 function(s): closeShouldNotConsumeConnectionWindowWhenAutoRefilled, connectionWindowShouldAutoRefillWhenDataReceived, setup.

Analyze Your Own Codebase

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

Try Supermodel Free