Home / Function/ testAlpnCompatibleProtocolsDifferentClientOrder() — netty Function Reference

testAlpnCompatibleProtocolsDifferentClientOrder() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

handler/src/test/java/io/netty/handler/ssl/OpenSslEngineTest.java lines 232–243

    @MethodSource("newTestParams")
    @ParameterizedTest
    public void testAlpnCompatibleProtocolsDifferentClientOrder(SSLEngineTestParam param) throws Exception {
        assumeTrue(OpenSsl.isAlpnSupported());
        ApplicationProtocolConfig clientApn = acceptingNegotiator(Protocol.ALPN,
                FALLBACK_APPLICATION_LEVEL_PROTOCOL, PREFERRED_APPLICATION_LEVEL_PROTOCOL);
        ApplicationProtocolConfig serverApn = acceptingNegotiator(Protocol.ALPN,
                PREFERRED_APPLICATION_LEVEL_PROTOCOL, FALLBACK_APPLICATION_LEVEL_PROTOCOL);
        setupHandlers(param, serverApn, clientApn);
        assertNull(serverException);
        runTest(PREFERRED_APPLICATION_LEVEL_PROTOCOL);
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free