Home / Function/ testNormalHandshake() — netty Function Reference

testNormalHandshake() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  66b6b9a3_3ca5_afa8_7616_932726dc032c["testNormalHandshake()"]
  7f3f42b1_639d_5fb4_5f96_e41ee66978a0["DeflateFrameClientExtensionHandshakerTest"]
  66b6b9a3_3ca5_afa8_7616_932726dc032c -->|defined in| 7f3f42b1_639d_5fb4_5f96_e41ee66978a0
  style 66b6b9a3_3ca5_afa8_7616_932726dc032c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/websocketx/extensions/compression/DeflateFrameClientExtensionHandshakerTest.java lines 58–70

    @Test
    public void testNormalHandshake() {
        DeflateFrameClientExtensionHandshaker handshaker =
                new DeflateFrameClientExtensionHandshaker(false, 0);

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

        assertNotNull(extension);
        assertEquals(WebSocketClientExtension.RSV1, extension.rsv());
        assertTrue(extension.newExtensionDecoder() instanceof PerFrameDeflateDecoder);
        assertTrue(extension.newExtensionEncoder() instanceof PerFrameDeflateEncoder);
    }

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/DeflateFrameClientExtensionHandshakerTest.java.
Where is testNormalHandshake() defined?
testNormalHandshake() is defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/extensions/compression/DeflateFrameClientExtensionHandshakerTest.java at line 58.

Analyze Your Own Codebase

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

Try Supermodel Free