Home / Function/ testNormalHandshake() — netty Function Reference

testNormalHandshake() — netty Function Reference

Architecture documentation for the testNormalHandshake() function in PerMessageDeflateClientExtensionHandshakerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f46092ef_7593_9cab_2fcb_258e31d165e4["testNormalHandshake()"]
  96c9ad65_49f4_dedc_4a3d_ff783cf8c162["PerMessageDeflateClientExtensionHandshakerTest"]
  f46092ef_7593_9cab_2fcb_258e31d165e4 -->|defined in| 96c9ad65_49f4_dedc_4a3d_ff783cf8c162
  style f46092ef_7593_9cab_2fcb_258e31d165e4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/websocketx/extensions/compression/PerMessageDeflateClientExtensionHandshakerTest.java lines 68–80

    @Test
    public void testNormalHandshake() {
        PerMessageDeflateClientExtensionHandshaker handshaker =
                new PerMessageDeflateClientExtensionHandshaker(0);

        WebSocketClientExtension extension = handshaker.handshakeExtension(
                new WebSocketExtensionData(PERMESSAGE_DEFLATE_EXTENSION, Collections.<String, String>emptyMap()));

        assertNotNull(extension);
        assertEquals(RSV1, extension.rsv());
        assertTrue(extension.newExtensionDecoder() instanceof PerMessageDeflateDecoder);
        assertTrue(extension.newExtensionEncoder() instanceof PerMessageDeflateEncoder);
    }

Domain

Subdomains

Frequently Asked Questions

What does testNormalHandshake() do?
testNormalHandshake() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/extensions/compression/PerMessageDeflateClientExtensionHandshakerTest.java.
Where is testNormalHandshake() defined?
testNormalHandshake() is defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/extensions/compression/PerMessageDeflateClientExtensionHandshakerTest.java at line 68.

Analyze Your Own Codebase

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

Try Supermodel Free