testKeepAliveIfConnectionHeaderAbsent() — netty Function Reference
Architecture documentation for the testKeepAliveIfConnectionHeaderAbsent() function in HttpUtilTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 56cdb0d8_77d5_e29b_53dc_d20ba3790a6f["testKeepAliveIfConnectionHeaderAbsent()"] 04f193b8_77e1_8af0_51b3_8dcd3ac8de0e["HttpUtilTest"] 56cdb0d8_77d5_e29b_53dc_d20ba3790a6f -->|defined in| 04f193b8_77e1_8af0_51b3_8dcd3ac8de0e style 56cdb0d8_77d5_e29b_53dc_d20ba3790a6f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/HttpUtilTest.java lines 426–435
@Test
public void testKeepAliveIfConnectionHeaderAbsent() {
HttpMessage http11Message = new DefaultHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.GET,
"http:localhost/http_1_1");
assertTrue(HttpUtil.isKeepAlive(http11Message));
HttpMessage http10Message = new DefaultHttpRequest(HttpVersion.HTTP_1_0, HttpMethod.GET,
"http:localhost/http_1_0");
assertFalse(HttpUtil.isKeepAlive(http10Message));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testKeepAliveIfConnectionHeaderAbsent() do?
testKeepAliveIfConnectionHeaderAbsent() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpUtilTest.java.
Where is testKeepAliveIfConnectionHeaderAbsent() defined?
testKeepAliveIfConnectionHeaderAbsent() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpUtilTest.java at line 426.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free