Home / Function/ tearDown() — netty Function Reference

tearDown() — netty Function Reference

Architecture documentation for the tearDown() function in Http2MultiplexTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  77e9a8ba_c9ea_1fb0_b1cc_64b8a6901f65["tearDown()"]
  4745ff96_ed57_3bd8_9861_4b786d0b6e09["Http2MultiplexTest"]
  77e9a8ba_c9ea_1fb0_b1cc_64b8a6901f65 -->|defined in| 4745ff96_ed57_3bd8_9861_4b786d0b6e09
  style 77e9a8ba_c9ea_1fb0_b1cc_64b8a6901f65 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java lines 144–151

    @AfterEach
    public void tearDown() throws Exception {
        if (childChannelInitializer.handler instanceof LastInboundHandler) {
            ((LastInboundHandler) childChannelInitializer.handler).finishAndReleaseAll();
        }
        parentChannel.finishAndReleaseAll();
        codec = null;
    }

Domain

Subdomains

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/Http2MultiplexTest.java.
Where is tearDown() defined?
tearDown() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java at line 144.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free