Home / Function/ channelClosedDoesNotThrowPrefaceException() — netty Function Reference

channelClosedDoesNotThrowPrefaceException() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java lines 749–759

    @Test
    public void channelClosedDoesNotThrowPrefaceException() throws Exception {
        when(connection.isServer()).thenReturn(true);
        handler = newHandler();
        when(channel.isActive()).thenReturn(false);
        handler.channelInactive(ctx);
        verify(frameWriter, never()).writeGoAway(any(ChannelHandlerContext.class), anyInt(), anyLong(),
                                                 any(ByteBuf.class), any(ChannelPromise.class));
        verify(frameWriter, never()).writeRstStream(any(ChannelHandlerContext.class), anyInt(), anyLong(),
                                                    any(ChannelPromise.class));
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free