initialWindowUpdateShouldSendPayload() — netty Function Reference
Architecture documentation for the initialWindowUpdateShouldSendPayload() function in DefaultHttp2RemoteFlowControllerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ecdc5a9a_67c1_67ad_e2f7_250f26a0857c["initialWindowUpdateShouldSendPayload()"] f8fd7697_92d4_6455_4dd8_09a33ac81a6f["DefaultHttp2RemoteFlowControllerTest"] ecdc5a9a_67c1_67ad_e2f7_250f26a0857c -->|defined in| f8fd7697_92d4_6455_4dd8_09a33ac81a6f 947caffb_54ef_9984_108e_69119ef018d1["incrementWindowSize()"] ecdc5a9a_67c1_67ad_e2f7_250f26a0857c -->|calls| 947caffb_54ef_9984_108e_69119ef018d1 72f6527f_6737_5bc4_f643_b308fe4de273["window()"] ecdc5a9a_67c1_67ad_e2f7_250f26a0857c -->|calls| 72f6527f_6737_5bc4_f643_b308fe4de273 90444244_2b60_c843_559a_6c55d7a4e9ac["assertWritabilityChanged()"] ecdc5a9a_67c1_67ad_e2f7_250f26a0857c -->|calls| 90444244_2b60_c843_559a_6c55d7a4e9ac 136071dd_c92e_5482_7cb2_c1ba0769c1ab["FakeFlowControlled()"] ecdc5a9a_67c1_67ad_e2f7_250f26a0857c -->|calls| 136071dd_c92e_5482_7cb2_c1ba0769c1ab 85ffafbd_47aa_f4f5_fd02_71f26d692e10["sendData()"] ecdc5a9a_67c1_67ad_e2f7_250f26a0857c -->|calls| 85ffafbd_47aa_f4f5_fd02_71f26d692e10 4d627b61_f0ea_0927_043f_7bfb246d71d1["assertNotWritten()"] ecdc5a9a_67c1_67ad_e2f7_250f26a0857c -->|calls| 4d627b61_f0ea_0927_043f_7bfb246d71d1 da0712d5_2b96_e340_6c7a_17114adb9efc["assertFullyWritten()"] ecdc5a9a_67c1_67ad_e2f7_250f26a0857c -->|calls| da0712d5_2b96_e340_6c7a_17114adb9efc style ecdc5a9a_67c1_67ad_e2f7_250f26a0857c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java lines 321–340
@Test
public void initialWindowUpdateShouldSendPayload() throws Http2Exception {
incrementWindowSize(CONNECTION_STREAM_ID, -window(CONNECTION_STREAM_ID) + 10);
assertWritabilityChanged(0, true);
reset(listener);
controller.initialWindowSize(0);
assertWritabilityChanged(1, false);
reset(listener);
FakeFlowControlled data = new FakeFlowControlled(10);
sendData(STREAM_A, data);
controller.writePendingBytes();
data.assertNotWritten();
// Verify that the entire frame was sent.
controller.initialWindowSize(10);
data.assertFullyWritten();
assertWritabilityChanged(0, false);
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does initialWindowUpdateShouldSendPayload() do?
initialWindowUpdateShouldSendPayload() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java.
Where is initialWindowUpdateShouldSendPayload() defined?
initialWindowUpdateShouldSendPayload() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java at line 321.
What does initialWindowUpdateShouldSendPayload() call?
initialWindowUpdateShouldSendPayload() calls 7 function(s): FakeFlowControlled, assertFullyWritten, assertNotWritten, assertWritabilityChanged, incrementWindowSize, sendData, window.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free