testRequestWithBadInitialLine() — netty Function Reference
Architecture documentation for the testRequestWithBadInitialLine() function in HttpInvalidMessageTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD e6337f8f_a892_660e_9afa_c688fb606d2c["testRequestWithBadInitialLine()"] 9fcfe62b_bd7f_3212_a40b_cda45186b61b["HttpInvalidMessageTest"] e6337f8f_a892_660e_9afa_c688fb606d2c -->|defined in| 9fcfe62b_bd7f_3212_a40b_cda45186b61b 089c961b_dc5d_1623_f43c_45ebbfde8f6a["ensureInboundTrafficDiscarded()"] e6337f8f_a892_660e_9afa_c688fb606d2c -->|calls| 089c961b_dc5d_1623_f43c_45ebbfde8f6a style e6337f8f_a892_660e_9afa_c688fb606d2c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/HttpInvalidMessageTest.java lines 37–46
@Test
public void testRequestWithBadInitialLine() throws Exception {
EmbeddedChannel ch = new EmbeddedChannel(new HttpRequestDecoder());
ch.writeInbound(Unpooled.copiedBuffer("GET / HTTP/1.0 with extra\r\n", CharsetUtil.UTF_8));
HttpRequest req = ch.readInbound();
DecoderResult dr = req.decoderResult();
assertFalse(dr.isSuccess());
assertTrue(dr.isFailure());
ensureInboundTrafficDiscarded(ch);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testRequestWithBadInitialLine() do?
testRequestWithBadInitialLine() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpInvalidMessageTest.java.
Where is testRequestWithBadInitialLine() defined?
testRequestWithBadInitialLine() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpInvalidMessageTest.java at line 37.
What does testRequestWithBadInitialLine() call?
testRequestWithBadInitialLine() calls 1 function(s): ensureInboundTrafficDiscarded.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free