teardown() — netty Function Reference
Architecture documentation for the teardown() function in Http2MaxRstFrameLimitEncoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0c45519c_d07f_b80f_ad14_90790a35c45d["teardown()"] eeac0acc_8c8f_03de_0277_9e95e05f7fa8["Http2MaxRstFrameLimitEncoderTest"] 0c45519c_d07f_b80f_ad14_90790a35c45d -->|defined in| eeac0acc_8c8f_03de_0277_9e95e05f7fa8 style 0c45519c_d07f_b80f_ad14_90790a35c45d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MaxRstFrameLimitEncoderTest.java lines 162–176
@AfterEach
public void teardown() {
// Close and release any buffered frames.
encoder.close();
// Notify all goAway ChannelPromise instances now as these will also release the retained ByteBuf for the
// debugData.
for (;;) {
ChannelPromise promise = goAwayPromises.poll();
if (promise == null) {
break;
}
promise.setSuccess();
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does teardown() do?
teardown() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MaxRstFrameLimitEncoderTest.java.
Where is teardown() defined?
teardown() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MaxRstFrameLimitEncoderTest.java at line 162.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free