Home / Function/ testAlpn() — netty Function Reference

testAlpn() — netty Function Reference

Architecture documentation for the testAlpn() function in OpenSslEngineTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  94d3d861_4585_930d_e858_f5fa7ecd507e["testAlpn()"]
  08957e63_66e1_e2b4_c8aa_4f617c598a7d["OpenSslEngineTest"]
  94d3d861_4585_930d_e858_f5fa7ecd507e -->|defined in| 08957e63_66e1_e2b4_c8aa_4f617c598a7d
  style 94d3d861_4585_930d_e858_f5fa7ecd507e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java lines 222–230

    @MethodSource("newTestParams")
    @ParameterizedTest
    public void testAlpn(SSLEngineTestParam param) throws Exception {
        assumeTrue(OpenSsl.isAlpnSupported());
        ApplicationProtocolConfig apn = acceptingNegotiator(Protocol.ALPN,
                PREFERRED_APPLICATION_LEVEL_PROTOCOL);
        setupHandlers(param, apn);
        runTest(PREFERRED_APPLICATION_LEVEL_PROTOCOL);
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free