Home / Function/ clientShouldSendClientPrefaceStringWhenActive() — netty Function Reference

clientShouldSendClientPrefaceStringWhenActive() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java lines 304–312

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free