Home / Function/ encoderAndDecoderAreClosedOnChannelInactive() — netty Function Reference

encoderAndDecoderAreClosedOnChannelInactive() — netty Function Reference

Architecture documentation for the encoderAndDecoderAreClosedOnChannelInactive() function in Http2ConnectionHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  58348a9e_a1f2_c0bb_1acf_51240d340fa2["encoderAndDecoderAreClosedOnChannelInactive()"]
  e8b32c7d_fa9d_422b_0744_82047ac00ea5["Http2ConnectionHandlerTest"]
  58348a9e_a1f2_c0bb_1acf_51240d340fa2 -->|defined in| e8b32c7d_fa9d_422b_0744_82047ac00ea5
  style 58348a9e_a1f2_c0bb_1acf_51240d340fa2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java lines 557–565

    @Test
    public void encoderAndDecoderAreClosedOnChannelInactive() throws Exception {
        handler = newHandler();
        handler.channelActive(ctx);
        when(channel.isActive()).thenReturn(false);
        handler.channelInactive(ctx);
        verify(encoder).close();
        verify(decoder).close();
    }

Domain

Subdomains

Frequently Asked Questions

What does encoderAndDecoderAreClosedOnChannelInactive() do?
encoderAndDecoderAreClosedOnChannelInactive() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java.
Where is encoderAndDecoderAreClosedOnChannelInactive() defined?
encoderAndDecoderAreClosedOnChannelInactive() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java at line 557.

Analyze Your Own Codebase

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

Try Supermodel Free