Home / Function/ testInitEngineOnNewSslHandler() — netty Function Reference

testInitEngineOnNewSslHandler() — netty Function Reference

Architecture documentation for the testInitEngineOnNewSslHandler() function in DelegatingSslContextTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  110d35c8_76c8_5fb1_53ec_d4fbf83382ab["testInitEngineOnNewSslHandler()"]
  1ba83f0f_2d70_1280_f32f_d5a21ef377aa["DelegatingSslContextTest"]
  110d35c8_76c8_5fb1_53ec_d4fbf83382ab -->|defined in| 1ba83f0f_2d70_1280_f32f_d5a21ef377aa
  style 110d35c8_76c8_5fb1_53ec_d4fbf83382ab fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/DelegatingSslContextTest.java lines 41–50

    @Test
    public void testInitEngineOnNewSslHandler() throws Exception {
        SslContext delegating = newDelegatingSslContext();

        SslHandler handler = delegating.newHandler(UnpooledByteBufAllocator.DEFAULT);
        assertArrayEquals(EXPECTED_PROTOCOLS, handler.engine().getEnabledProtocols());

        handler = delegating.newHandler(UnpooledByteBufAllocator.DEFAULT, "localhost", 9090);
        assertArrayEquals(EXPECTED_PROTOCOLS, handler.engine().getEnabledProtocols());
    }

Domain

Subdomains

Frequently Asked Questions

What does testInitEngineOnNewSslHandler() do?
testInitEngineOnNewSslHandler() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/DelegatingSslContextTest.java.
Where is testInitEngineOnNewSslHandler() defined?
testInitEngineOnNewSslHandler() is defined in handler/src/test/java/io/netty/handler/ssl/DelegatingSslContextTest.java at line 41.

Analyze Your Own Codebase

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

Try Supermodel Free