Home / Function/ windowUpdateShouldNotBeSentAfterEndOfStream() — netty Function Reference

windowUpdateShouldNotBeSentAfterEndOfStream() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  1362230c_c862_4505_0a9a_f3c4adbe8ffd["windowUpdateShouldNotBeSentAfterEndOfStream()"]
  99976e08_de48_4e06_40e5_5ee3655f2651["DefaultHttp2LocalFlowControllerTest"]
  1362230c_c862_4505_0a9a_f3c4adbe8ffd -->|defined in| 99976e08_de48_4e06_40e5_5ee3655f2651
  62113048_84a9_1cf9_75f0_0ef0f3788315["receiveFlowControlledFrame()"]
  1362230c_c862_4505_0a9a_f3c4adbe8ffd -->|calls| 62113048_84a9_1cf9_75f0_0ef0f3788315
  0704ea53_57a1_5305_109e_c7f112548050["verifyWindowUpdateNotSent()"]
  1362230c_c862_4505_0a9a_f3c4adbe8ffd -->|calls| 0704ea53_57a1_5305_109e_c7f112548050
  5afc6fae_8360_072c_1a3a_5b5aa174554d["consumeBytes()"]
  1362230c_c862_4505_0a9a_f3c4adbe8ffd -->|calls| 5afc6fae_8360_072c_1a3a_5b5aa174554d
  edb012e8_f760_5fb6_314e_77a6bfaf20b0["verifyWindowUpdateSent()"]
  1362230c_c862_4505_0a9a_f3c4adbe8ffd -->|calls| edb012e8_f760_5fb6_314e_77a6bfaf20b0
  style 1362230c_c862_4505_0a9a_f3c4adbe8ffd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowControllerTest.java lines 157–169

    @Test
    public void windowUpdateShouldNotBeSentAfterEndOfStream() throws Http2Exception {
        int dataSize = (int) (DEFAULT_WINDOW_SIZE * DEFAULT_WINDOW_UPDATE_RATIO) + 1;

        // Set end-of-stream on the frame, so no window update will be sent for the stream.
        receiveFlowControlledFrame(STREAM_ID, dataSize, 0, true);
        verifyWindowUpdateNotSent(CONNECTION_STREAM_ID);
        verifyWindowUpdateNotSent(STREAM_ID);

        assertTrue(consumeBytes(STREAM_ID, dataSize));
        verifyWindowUpdateSent(CONNECTION_STREAM_ID, dataSize);
        verifyWindowUpdateNotSent(STREAM_ID);
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free