dataReadAfterGoAwaySentShouldApplyFlowControl() — netty Function Reference
Architecture documentation for the dataReadAfterGoAwaySentShouldApplyFlowControl() function in DefaultHttp2ConnectionDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 5fbf4d78_6e4f_40c7_f025_54e959da7d90["dataReadAfterGoAwaySentShouldApplyFlowControl()"] 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc["DefaultHttp2ConnectionDecoderTest"] 5fbf4d78_6e4f_40c7_f025_54e959da7d90 -->|defined in| 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc e3fe7bb5_d1a7_ebe1_68ae_a75c0552db40["mockGoAwaySent()"] 5fbf4d78_6e4f_40c7_f025_54e959da7d90 -->|calls| e3fe7bb5_d1a7_ebe1_68ae_a75c0552db40 acdaafb9_3038_adff_8f39_69a82babf017["mockFlowControl()"] 5fbf4d78_6e4f_40c7_f025_54e959da7d90 -->|calls| acdaafb9_3038_adff_8f39_69a82babf017 style 5fbf4d78_6e4f_40c7_f025_54e959da7d90 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java lines 250–268
@Test
public void dataReadAfterGoAwaySentShouldApplyFlowControl() throws Exception {
mockGoAwaySent();
final ByteBuf data = dummyData();
int padding = 10;
int processedBytes = data.readableBytes() + padding;
mockFlowControl(processedBytes);
try {
decode().onDataRead(ctx, STREAM_ID, data, padding, true);
verify(localFlow).receiveFlowControlledFrame(eq(stream), eq(data), eq(padding), eq(true));
verify(localFlow).consumeBytes(eq(stream), eq(processedBytes));
// Verify that the event was absorbed and not propagated to the observer.
verify(listener, never()).onDataRead(eq(ctx), anyInt(), any(ByteBuf.class), anyInt(), anyBoolean());
} finally {
data.release();
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does dataReadAfterGoAwaySentShouldApplyFlowControl() do?
dataReadAfterGoAwaySentShouldApplyFlowControl() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java.
Where is dataReadAfterGoAwaySentShouldApplyFlowControl() defined?
dataReadAfterGoAwaySentShouldApplyFlowControl() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java at line 250.
What does dataReadAfterGoAwaySentShouldApplyFlowControl() call?
dataReadAfterGoAwaySentShouldApplyFlowControl() calls 2 function(s): mockFlowControl, mockGoAwaySent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free