Home / Function/ testFailedHandshake() — netty Function Reference

testFailedHandshake() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  e98aee37_3c42_fc8e_490a_e82ceda27af3["testFailedHandshake()"]
  7f3f42b1_639d_5fb4_5f96_e41ee66978a0["DeflateFrameClientExtensionHandshakerTest"]
  e98aee37_3c42_fc8e_490a_e82ceda27af3 -->|defined in| 7f3f42b1_639d_5fb4_5f96_e41ee66978a0
  style e98aee37_3c42_fc8e_490a_e82ceda27af3 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 72–87

    @Test
    public void testFailedHandshake() {
        // initialize
        DeflateFrameClientExtensionHandshaker handshaker =
                new DeflateFrameClientExtensionHandshaker(false, 0);

        Map<String, String> parameters = new HashMap<String, String>();
        parameters.put("invalid", "12");

        // execute
        WebSocketClientExtension extension = handshaker.handshakeExtension(
                new WebSocketExtensionData(DEFLATE_FRAME_EXTENSION, parameters));

        // test
        assertNull(extension);
    }

Domain

Subdomains

Frequently Asked Questions

What does testFailedHandshake() do?
testFailedHandshake() 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 testFailedHandshake() defined?
testFailedHandshake() is defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/extensions/compression/DeflateFrameClientExtensionHandshakerTest.java at line 72.

Analyze Your Own Codebase

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

Try Supermodel Free