inboundDataFrameShouldUpdateLocalFlowController() — netty Function Reference
Architecture documentation for the inboundDataFrameShouldUpdateLocalFlowController() function in Http2MultiplexTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD fb745f00_6da2_feea_e82a_3cb1db305344["inboundDataFrameShouldUpdateLocalFlowController()"] 4745ff96_ed57_3bd8_9861_4b786d0b6e09["Http2MultiplexTest"] fb745f00_6da2_feea_e82a_3cb1db305344 -->|defined in| 4745ff96_ed57_3bd8_9861_4b786d0b6e09 8df7745b_db2d_ef92_4b30_080373ca9f6d["verifyFramesMultiplexedToCorrectChannel()"] fb745f00_6da2_feea_e82a_3cb1db305344 -->|calls| 8df7745b_db2d_ef92_4b30_080373ca9f6d style fb745f00_6da2_feea_e82a_3cb1db305344 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java lines 523–545
@Test
public void inboundDataFrameShouldUpdateLocalFlowController() throws Http2Exception {
Http2LocalFlowController flowController = Mockito.mock(Http2LocalFlowController.class);
codec.connection().local().flowController(flowController);
LastInboundHandler handler = new LastInboundHandler();
final Http2StreamChannel channel = newInboundStream(3, false, handler);
ByteBuf tenBytes = bb("0123456789");
frameInboundWriter.writeInboundData(channel.stream().id(), tenBytes, 0, true);
// Verify we marked the bytes as consumed
verify(flowController).consumeBytes(argThat(new ArgumentMatcher<Http2Stream>() {
@Override
public boolean matches(Http2Stream http2Stream) {
return http2Stream.id() == channel.stream().id();
}
}), eq(10));
// headers and data frame
verifyFramesMultiplexedToCorrectChannel(channel, handler, 2);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does inboundDataFrameShouldUpdateLocalFlowController() do?
inboundDataFrameShouldUpdateLocalFlowController() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java.
Where is inboundDataFrameShouldUpdateLocalFlowController() defined?
inboundDataFrameShouldUpdateLocalFlowController() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java at line 523.
What does inboundDataFrameShouldUpdateLocalFlowController() call?
inboundDataFrameShouldUpdateLocalFlowController() calls 1 function(s): verifyFramesMultiplexedToCorrectChannel.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free