mockFlowControl() — netty Function Reference
Architecture documentation for the mockFlowControl() function in DefaultHttp2ConnectionDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD acdaafb9_3038_adff_8f39_69a82babf017["mockFlowControl()"] 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc["DefaultHttp2ConnectionDecoderTest"] acdaafb9_3038_adff_8f39_69a82babf017 -->|defined in| 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc 5fbf4d78_6e4f_40c7_f025_54e959da7d90["dataReadAfterGoAwaySentShouldApplyFlowControl()"] 5fbf4d78_6e4f_40c7_f025_54e959da7d90 -->|calls| acdaafb9_3038_adff_8f39_69a82babf017 7ab900e0_f32f_a59c_bef0_19bd02198f9b["dataReadAfterGoAwaySentShouldAllowFramesForStreamCreatedByLocalEndpoint()"] 7ab900e0_f32f_a59c_bef0_19bd02198f9b -->|calls| acdaafb9_3038_adff_8f39_69a82babf017 88d61a08_3445_b918_798d_a60a2f118a52["emptyDataFrameShouldApplyFlowControl()"] 88d61a08_3445_b918_798d_a60a2f118a52 -->|calls| acdaafb9_3038_adff_8f39_69a82babf017 181238d8_00fd_462b_7fe2_e52529e27bef["dataContentLengthInvalid()"] 181238d8_00fd_462b_7fe2_e52529e27bef -->|calls| acdaafb9_3038_adff_8f39_69a82babf017 style acdaafb9_3038_adff_8f39_69a82babf017 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java lines 1055–1063
private void mockFlowControl(final int processedBytes) throws Http2Exception {
doAnswer(new Answer<Integer>() {
@Override
public Integer answer(InvocationOnMock invocation) throws Throwable {
return processedBytes;
}
}).when(listener).onDataRead(any(ChannelHandlerContext.class), anyInt(),
any(ByteBuf.class), anyInt(), anyBoolean());
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does mockFlowControl() do?
mockFlowControl() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java.
Where is mockFlowControl() defined?
mockFlowControl() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java at line 1055.
What calls mockFlowControl()?
mockFlowControl() is called by 4 function(s): dataContentLengthInvalid, dataReadAfterGoAwaySentShouldAllowFramesForStreamCreatedByLocalEndpoint, dataReadAfterGoAwaySentShouldApplyFlowControl, emptyDataFrameShouldApplyFlowControl.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free