Home / Function/ testInvalidProtocol() — netty Function Reference

testInvalidProtocol() — netty Function Reference

Architecture documentation for the testInvalidProtocol() function in HAProxyMessageDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f1c9b34d_8a9e_d127_37e5_4c32ac55d58a["testInvalidProtocol()"]
  88909aff_3546_2e28_19d9_812a1929ee17["HAProxyMessageDecoderTest"]
  f1c9b34d_8a9e_d127_37e5_4c32ac55d58a -->|defined in| 88909aff_3546_2e28_19d9_812a1929ee17
  style f1c9b34d_8a9e_d127_37e5_4c32ac55d58a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-haproxy/src/test/java/io/netty/handler/codec/haproxy/HAProxyMessageDecoderTest.java lines 162–171

    @Test
    public void testInvalidProtocol() {
        final String header = "PROXY TCP7 192.168.0.1 192.168.0.11 56324 443\r\n";
        assertThrows(HAProxyProtocolException.class, new Executable() {
            @Override
            public void execute() {
                ch.writeInbound(copiedBuffer(header, CharsetUtil.US_ASCII));
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

What does testInvalidProtocol() do?
testInvalidProtocol() is a function in the netty codebase, defined in codec-haproxy/src/test/java/io/netty/handler/codec/haproxy/HAProxyMessageDecoderTest.java.
Where is testInvalidProtocol() defined?
testInvalidProtocol() is defined in codec-haproxy/src/test/java/io/netty/handler/codec/haproxy/HAProxyMessageDecoderTest.java at line 162.

Analyze Your Own Codebase

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

Try Supermodel Free