testLimitRst() — netty Function Reference
Architecture documentation for the testLimitRst() function in Http2ControlFrameLimitEncoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD f2df9dad_100f_14d5_5b18_93d145ddfcd8["testLimitRst()"] 22de4aca_61e4_e560_8713_527c2b02db9e["Http2ControlFrameLimitEncoderTest"] f2df9dad_100f_14d5_5b18_93d145ddfcd8 -->|defined in| 22de4aca_61e4_e560_8713_527c2b02db9e 47fd1fb2_be80_9cc4_d23f_053ecbef3394["verifyFlushAndClose()"] f2df9dad_100f_14d5_5b18_93d145ddfcd8 -->|calls| 47fd1fb2_be80_9cc4_d23f_053ecbef3394 style f2df9dad_100f_14d5_5b18_93d145ddfcd8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ControlFrameLimitEncoderTest.java lines 232–246
@Test
public void testLimitRst() {
assertFalse(encoder.writeRstStream(ctx, 1, CANCEL.code(), newPromise()).isDone());
// The second write is always marked as success by our mock, which means it will also not be queued and so
// not count to the number of queued frames.
assertTrue(encoder.writeRstStream(ctx, 1, CANCEL.code(), newPromise()).isSuccess());
assertFalse(encoder.writeRstStream(ctx, 1, CANCEL.code(), newPromise()).isDone());
verifyFlushAndClose(0, false);
assertFalse(encoder.writeRstStream(ctx, 1, CANCEL.code(), newPromise()).isDone());
assertFalse(encoder.writeRstStream(ctx, 1, CANCEL.code(), newPromise()).isDone());
verifyFlushAndClose(1, true);
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does testLimitRst() do?
testLimitRst() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ControlFrameLimitEncoderTest.java.
Where is testLimitRst() defined?
testLimitRst() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ControlFrameLimitEncoderTest.java at line 232.
What does testLimitRst() call?
testLimitRst() calls 1 function(s): verifyFlushAndClose.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free