Home / Function/ tearDown() — netty Function Reference

tearDown() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  b09a31a1_3393_ed5f_bf8f_e246c4d714a8["tearDown()"]
  6f38501f_37dc_377c_36b1_15b1a68d236c["Http2MultiplexCodecBuilderTest"]
  b09a31a1_3393_ed5f_bf8f_e246c4d714a8 -->|defined in| 6f38501f_37dc_377c_36b1_15b1a68d236c
  style b09a31a1_3393_ed5f_bf8f_e246c4d714a8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexCodecBuilderTest.java lines 131–146

    @AfterEach
    public void tearDown() throws Exception {
        if (clientChannel != null) {
            clientChannel.close().syncUninterruptibly();
            clientChannel = null;
        }
        if (serverChannel != null) {
            serverChannel.close().syncUninterruptibly();
            serverChannel = null;
        }
        final Channel serverConnectedChannel = this.serverConnectedChannel;
        if (serverConnectedChannel != null) {
            serverConnectedChannel.close().syncUninterruptibly();
            this.serverConnectedChannel = 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/Http2MultiplexCodecBuilderTest.java.
Where is tearDown() defined?
tearDown() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexCodecBuilderTest.java at line 131.

Analyze Your Own Codebase

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

Try Supermodel Free