Home / Function/ halfWindowRemainingShouldUpdateAllWindows() — netty Function Reference

halfWindowRemainingShouldUpdateAllWindows() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  dc643aa7_df2c_541d_5a2b_b96cf443cafd["halfWindowRemainingShouldUpdateAllWindows()"]
  99976e08_de48_4e06_40e5_5ee3655f2651["DefaultHttp2LocalFlowControllerTest"]
  dc643aa7_df2c_541d_5a2b_b96cf443cafd -->|defined in| 99976e08_de48_4e06_40e5_5ee3655f2651
  877a7ac3_4070_051e_51bf_9f3b3ba9fc86["getWindowDelta()"]
  dc643aa7_df2c_541d_5a2b_b96cf443cafd -->|calls| 877a7ac3_4070_051e_51bf_9f3b3ba9fc86
  62113048_84a9_1cf9_75f0_0ef0f3788315["receiveFlowControlledFrame()"]
  dc643aa7_df2c_541d_5a2b_b96cf443cafd -->|calls| 62113048_84a9_1cf9_75f0_0ef0f3788315
  5afc6fae_8360_072c_1a3a_5b5aa174554d["consumeBytes()"]
  dc643aa7_df2c_541d_5a2b_b96cf443cafd -->|calls| 5afc6fae_8360_072c_1a3a_5b5aa174554d
  edb012e8_f760_5fb6_314e_77a6bfaf20b0["verifyWindowUpdateSent()"]
  dc643aa7_df2c_541d_5a2b_b96cf443cafd -->|calls| edb012e8_f760_5fb6_314e_77a6bfaf20b0
  style dc643aa7_df2c_541d_5a2b_b96cf443cafd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowControllerTest.java lines 211–222

    @Test
    public void halfWindowRemainingShouldUpdateAllWindows() throws Http2Exception {
        int dataSize = (int) (DEFAULT_WINDOW_SIZE * DEFAULT_WINDOW_UPDATE_RATIO) + 1;
        int initialWindowSize = DEFAULT_WINDOW_SIZE;
        int windowDelta = getWindowDelta(initialWindowSize, initialWindowSize, dataSize);

        // Don't set end-of-stream so we'll get a window update for the stream as well.
        receiveFlowControlledFrame(STREAM_ID, dataSize, 0, false);
        assertTrue(consumeBytes(STREAM_ID, dataSize));
        verifyWindowUpdateSent(CONNECTION_STREAM_ID, windowDelta);
        verifyWindowUpdateSent(STREAM_ID, windowDelta);
    }

Domain

Subdomains

Frequently Asked Questions

What does halfWindowRemainingShouldUpdateAllWindows() do?
halfWindowRemainingShouldUpdateAllWindows() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowControllerTest.java.
Where is halfWindowRemainingShouldUpdateAllWindows() defined?
halfWindowRemainingShouldUpdateAllWindows() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowControllerTest.java at line 211.
What does halfWindowRemainingShouldUpdateAllWindows() call?
halfWindowRemainingShouldUpdateAllWindows() calls 4 function(s): consumeBytes, getWindowDelta, receiveFlowControlledFrame, verifyWindowUpdateSent.

Analyze Your Own Codebase

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

Try Supermodel Free