teardown() — netty Function Reference
Architecture documentation for the teardown() function in Http2MultiplexTransportTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0ced8a4c_0040_d4fe_c6fa_dd9adaf110ba["teardown()"] 91fc51f7_5bfd_40ef_a0e8_b98c3ed99f48["Http2MultiplexTransportTest"] 0ced8a4c_0040_d4fe_c6fa_dd9adaf110ba -->|defined in| 91fc51f7_5bfd_40ef_a0e8_b98c3ed99f48 style 0ced8a4c_0040_d4fe_c6fa_dd9adaf110ba fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTransportTest.java lines 170–182
@AfterEach
public void teardown() {
if (clientChannel != null) {
clientChannel.close();
}
if (serverChannel != null) {
serverChannel.close();
}
if (serverConnectedChannel != null) {
serverConnectedChannel.close();
}
eventLoopGroup.shutdownGracefully(0, 0, MILLISECONDS).syncUninterruptibly();
}
Domain
Subdomains
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/Http2MultiplexTransportTest.java.
Where is teardown() defined?
teardown() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTransportTest.java at line 170.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free