Home / Function/ testNpn() — netty Function Reference

testNpn() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  ad31030b_a783_3898_ffea_033a460aba7b["testNpn()"]
  08957e63_66e1_e2b4_c8aa_4f617c598a7d["OpenSslEngineTest"]
  ad31030b_a783_3898_ffea_033a460aba7b -->|defined in| 08957e63_66e1_e2b4_c8aa_4f617c598a7d
  742960fc_be61_febf_2cb4_28d97aabbc8b["isNpnSupported()"]
  ad31030b_a783_3898_ffea_033a460aba7b -->|calls| 742960fc_be61_febf_2cb4_28d97aabbc8b
  style ad31030b_a783_3898_ffea_033a460aba7b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java lines 211–220

    @MethodSource("newTestParams")
    @ParameterizedTest
    public void testNpn(SSLEngineTestParam param) throws Exception {
        String versionString = OpenSsl.versionString();
        assumeTrue(isNpnSupported(versionString), "LibreSSL 2.6.1 removed NPN support, detected " + versionString);
        ApplicationProtocolConfig apn = acceptingNegotiator(Protocol.NPN,
                PREFERRED_APPLICATION_LEVEL_PROTOCOL);
        setupHandlers(param, apn);
        runTest(PREFERRED_APPLICATION_LEVEL_PROTOCOL);
    }

Domain

Subdomains

Frequently Asked Questions

What does testNpn() do?
testNpn() is a function in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java.
Where is testNpn() defined?
testNpn() is defined in handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java at line 211.
What does testNpn() call?
testNpn() calls 1 function(s): isNpnSupported.

Analyze Your Own Codebase

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

Try Supermodel Free