testHeaderTooLong() — netty Function Reference
Architecture documentation for the testHeaderTooLong() function in HAProxyMessageDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 21aa97fa_198c_fdf8_82dc_9dcdf20e02d7["testHeaderTooLong()"] 88909aff_3546_2e28_19d9_812a1929ee17["HAProxyMessageDecoderTest"] 21aa97fa_198c_fdf8_82dc_9dcdf20e02d7 -->|defined in| 88909aff_3546_2e28_19d9_812a1929ee17 style 21aa97fa_198c_fdf8_82dc_9dcdf20e02d7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-haproxy/src/test/java/io/netty/handler/codec/haproxy/HAProxyMessageDecoderTest.java lines 217–227
@Test
public void testHeaderTooLong() {
final String header = "PROXY TCP4 192.168.0.1 192.168.0.11 56324 " +
"00000000000000000000000000000000000000000000000000000000000000000443\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 testHeaderTooLong() do?
testHeaderTooLong() is a function in the netty codebase, defined in codec-haproxy/src/test/java/io/netty/handler/codec/haproxy/HAProxyMessageDecoderTest.java.
Where is testHeaderTooLong() defined?
testHeaderTooLong() is defined in codec-haproxy/src/test/java/io/netty/handler/codec/haproxy/HAProxyMessageDecoderTest.java at line 217.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free