Home / Function/ tearDown() — netty Function Reference

tearDown() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  ee3ac301_c62a_f284_aea1_90c154a34caa["tearDown()"]
  71f17950_8fc4_c3e9_2e13_384d1ac7ea2c["Http2FrameCodecTest"]
  ee3ac301_c62a_f284_aea1_90c154a34caa -->|defined in| 71f17950_8fc4_c3e9_2e13_384d1ac7ea2c
  868f866c_1fcb_c067_1110_d326c0e4d94b["setUp()"]
  868f866c_1fcb_c067_1110_d326c0e4d94b -->|calls| ee3ac301_c62a_f284_aea1_90c154a34caa
  style ee3ac301_c62a_f284_aea1_90c154a34caa fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameCodecTest.java lines 108–119

    @AfterEach
    public void tearDown() throws Exception {
        if (inboundHandler != null) {
            inboundHandler.finishAndReleaseAll();
            inboundHandler = null;
        }
        if (channel != null) {
            channel.finishAndReleaseAll();
            channel.close();
            channel = null;
        }
    }

Domain

Subdomains

Called By

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/Http2FrameCodecTest.java.
Where is tearDown() defined?
tearDown() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameCodecTest.java at line 108.
What calls tearDown()?
tearDown() is called by 1 function(s): setUp.

Analyze Your Own Codebase

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

Try Supermodel Free