testInvalidHeaders0() — netty Function Reference
Architecture documentation for the testInvalidHeaders0() function in HttpResponseDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ee16ce6b_0b51_ba66_6b2c_476799b88b5b["testInvalidHeaders0()"] 90546a8c_51c4_a9dc_b6e8_695d29269596["HttpResponseDecoderTest"] ee16ce6b_0b51_ba66_6b2c_476799b88b5b -->|defined in| 90546a8c_51c4_a9dc_b6e8_695d29269596 b62c81d0_0a2e_3ff9_b8cd_7830e1dbdaad["testHeaderNameStartsWithControlChar()"] b62c81d0_0a2e_3ff9_b8cd_7830e1dbdaad -->|calls| ee16ce6b_0b51_ba66_6b2c_476799b88b5b 97261986_3d3e_28a2_77fd_d56fe7b31d47["testHeaderNameEndsWithControlChar()"] 97261986_3d3e_28a2_77fd_d56fe7b31d47 -->|calls| ee16ce6b_0b51_ba66_6b2c_476799b88b5b cd2209c3_4c06_246c_211e_3b06d244af25["testInvalidVersion()"] cd2209c3_4c06_246c_211e_3b06d244af25 -->|calls| ee16ce6b_0b51_ba66_6b2c_476799b88b5b style ee16ce6b_0b51_ba66_6b2c_476799b88b5b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/HttpResponseDecoderTest.java lines 1225–1233
private static void testInvalidHeaders0(ByteBuf responseBuffer) {
EmbeddedChannel channel = new EmbeddedChannel(new HttpResponseDecoder());
assertTrue(channel.writeInbound(responseBuffer));
HttpResponse response = channel.readInbound();
assertInstanceOf(IllegalArgumentException.class, response.decoderResult().cause());
assertTrue(response.decoderResult().isFailure());
ReferenceCountUtil.release(response);
assertFalse(channel.finish());
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does testInvalidHeaders0() do?
testInvalidHeaders0() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpResponseDecoderTest.java.
Where is testInvalidHeaders0() defined?
testInvalidHeaders0() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpResponseDecoderTest.java at line 1225.
What calls testInvalidHeaders0()?
testInvalidHeaders0() is called by 3 function(s): testHeaderNameEndsWithControlChar, testHeaderNameStartsWithControlChar, testInvalidVersion.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free