payloadLargerThanWindowShouldWritePartial() — netty Function Reference
Architecture documentation for the payloadLargerThanWindowShouldWritePartial() function in DefaultHttp2RemoteFlowControllerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b00b5d69_ee8f_41c7_1e19_b72b91082f16["payloadLargerThanWindowShouldWritePartial()"] f8fd7697_92d4_6455_4dd8_09a33ac81a6f["DefaultHttp2RemoteFlowControllerTest"] b00b5d69_ee8f_41c7_1e19_b72b91082f16 -->|defined in| f8fd7697_92d4_6455_4dd8_09a33ac81a6f 136071dd_c92e_5482_7cb2_c1ba0769c1ab["FakeFlowControlled()"] b00b5d69_ee8f_41c7_1e19_b72b91082f16 -->|calls| 136071dd_c92e_5482_7cb2_c1ba0769c1ab 85ffafbd_47aa_f4f5_fd02_71f26d692e10["sendData()"] b00b5d69_ee8f_41c7_1e19_b72b91082f16 -->|calls| 85ffafbd_47aa_f4f5_fd02_71f26d692e10 d7bb96bf_47aa_9ae7_f5a1_7aaad102fb27["assertPartiallyWritten()"] b00b5d69_ee8f_41c7_1e19_b72b91082f16 -->|calls| d7bb96bf_47aa_9ae7_f5a1_7aaad102fb27 style b00b5d69_ee8f_41c7_1e19_b72b91082f16 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java lines 266–281
@Test
public void payloadLargerThanWindowShouldWritePartial() throws Http2Exception {
controller.initialWindowSize(5);
verify(listener, never()).writabilityChanged(stream(STREAM_A));
assertTrue(controller.isWritable(stream(STREAM_A)));
reset(listener);
final FakeFlowControlled data = new FakeFlowControlled(10);
sendData(STREAM_A, data);
controller.writePendingBytes();
// Verify that a partial frame of 5 remains to be sent
data.assertPartiallyWritten(5);
verify(listener, times(1)).writabilityChanged(stream(STREAM_A));
assertFalse(controller.isWritable(stream(STREAM_A)));
verifyNoMoreInteractions(listener);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does payloadLargerThanWindowShouldWritePartial() do?
payloadLargerThanWindowShouldWritePartial() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java.
Where is payloadLargerThanWindowShouldWritePartial() defined?
payloadLargerThanWindowShouldWritePartial() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java at line 266.
What does payloadLargerThanWindowShouldWritePartial() call?
payloadLargerThanWindowShouldWritePartial() calls 3 function(s): FakeFlowControlled, assertPartiallyWritten, sendData.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free