exhaustedStreamsDoNotBuffer() — netty Function Reference
Architecture documentation for the exhaustedStreamsDoNotBuffer() function in StreamBufferingEncoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 9efc2c7b_4766_da6a_cfcc_0f144a643339["exhaustedStreamsDoNotBuffer()"] b13b21e9_41cb_8feb_3534_f953823cad07["StreamBufferingEncoderTest"] 9efc2c7b_4766_da6a_cfcc_0f144a643339 -->|defined in| b13b21e9_41cb_8feb_3534_f953823cad07 f0871f47_b22a_42a3_326b_2bb017254453["setMaxConcurrentStreams()"] 9efc2c7b_4766_da6a_cfcc_0f144a643339 -->|calls| f0871f47_b22a_42a3_326b_2bb017254453 style 9efc2c7b_4766_da6a_cfcc_0f144a643339 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/StreamBufferingEncoderTest.java lines 453–467
@Test
public void exhaustedStreamsDoNotBuffer() throws Http2Exception {
// Write the highest possible stream ID for the client.
// This will cause the next stream ID to be negative.
encoderWriteHeaders(Integer.MAX_VALUE, newPromise());
// Disallow any further streams.
setMaxConcurrentStreams(0);
// Simulate numeric overflow for the next stream ID.
ChannelFuture f = encoderWriteHeaders(-1, newPromise());
// Verify that the write fails.
assertNotNull(f.cause());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does exhaustedStreamsDoNotBuffer() do?
exhaustedStreamsDoNotBuffer() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/StreamBufferingEncoderTest.java.
Where is exhaustedStreamsDoNotBuffer() defined?
exhaustedStreamsDoNotBuffer() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/StreamBufferingEncoderTest.java at line 453.
What does exhaustedStreamsDoNotBuffer() call?
exhaustedStreamsDoNotBuffer() calls 1 function(s): setMaxConcurrentStreams.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free