testInvalidPort() — netty Function Reference
Architecture documentation for the testInvalidPort() function in HAProxyMessageDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 99e1a09e_ee8e_eac3_4b5f_68c7e0eda2eb["testInvalidPort()"] 88909aff_3546_2e28_19d9_812a1929ee17["HAProxyMessageDecoderTest"] 99e1a09e_ee8e_eac3_4b5f_68c7e0eda2eb -->|defined in| 88909aff_3546_2e28_19d9_812a1929ee17 style 99e1a09e_ee8e_eac3_4b5f_68c7e0eda2eb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-haproxy/src/test/java/io/netty/handler/codec/haproxy/HAProxyMessageDecoderTest.java lines 128–137
@Test
public void testInvalidPort() {
final String header = "PROXY TCP4 192.168.0.1 192.168.0.11 80000 443\r\n";
assertThrows(HAProxyProtocolException.class, new Executable() {
@Override
public void execute() {
ch.writeInbound(copiedBuffer(header, CharsetUtil.US_ASCII));
}
});
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does testInvalidPort() do?
testInvalidPort() is a function in the netty codebase, defined in codec-haproxy/src/test/java/io/netty/handler/codec/haproxy/HAProxyMessageDecoderTest.java.
Where is testInvalidPort() defined?
testInvalidPort() is defined in codec-haproxy/src/test/java/io/netty/handler/codec/haproxy/HAProxyMessageDecoderTest.java at line 128.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free