Home / Function/ serverShouldNotSendClientPrefaceStringWhenActive() — netty Function Reference

serverShouldNotSendClientPrefaceStringWhenActive() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java lines 314–322

    @Test
    public void serverShouldNotSendClientPrefaceStringWhenActive() throws Exception {
        when(connection.isServer()).thenReturn(true);
        when(channel.isActive()).thenReturn(false);
        handler = newHandler();
        when(channel.isActive()).thenReturn(true);
        handler.channelActive(ctx);
        verify(ctx, never()).write(eq(connectionPrefaceBuf()));
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free