closeShouldCancelAllBufferedStreams() — netty Function Reference
Architecture documentation for the closeShouldCancelAllBufferedStreams() function in StreamBufferingEncoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ed7d7298_82b5_4e06_2cf1_945c2326031f["closeShouldCancelAllBufferedStreams()"] b13b21e9_41cb_8feb_3534_f953823cad07["StreamBufferingEncoderTest"] ed7d7298_82b5_4e06_2cf1_945c2326031f -->|defined in| b13b21e9_41cb_8feb_3534_f953823cad07 style ed7d7298_82b5_4e06_2cf1_945c2326031f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/StreamBufferingEncoderTest.java lines 487–500
@Test
public void closeShouldCancelAllBufferedStreams() throws Http2Exception {
encoder.writeSettingsAck(ctx, newPromise());
connection.local().maxActiveStreams(0);
ChannelFuture f1 = encoderWriteHeaders(3, newPromise());
ChannelFuture f2 = encoderWriteHeaders(5, newPromise());
ChannelFuture f3 = encoderWriteHeaders(7, newPromise());
encoder.close();
assertNotNull(f1.cause());
assertNotNull(f2.cause());
assertNotNull(f3.cause());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does closeShouldCancelAllBufferedStreams() do?
closeShouldCancelAllBufferedStreams() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/StreamBufferingEncoderTest.java.
Where is closeShouldCancelAllBufferedStreams() defined?
closeShouldCancelAllBufferedStreams() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/StreamBufferingEncoderTest.java at line 487.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free