testEmptyAbsPath() — netty Function Reference
Architecture documentation for the testEmptyAbsPath() function in HttpRequestEncoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b6a06945_a7eb_2534_2f4a_2d6b6d3098cc["testEmptyAbsPath()"] fcb9abc3_d47c_ca31_1af5_a7b8b31112c3["HttpRequestEncoderTest"] b6a06945_a7eb_2534_2f4a_2d6b6d3098cc -->|defined in| fcb9abc3_d47c_ca31_1af5_a7b8b31112c3 60a37657_2ad1_472c_3803_efdf8d070e3a["getBuffers()"] b6a06945_a7eb_2534_2f4a_2d6b6d3098cc -->|calls| 60a37657_2ad1_472c_3803_efdf8d070e3a ef6ea20f_1d89_e7fb_ed43_ea8b34830807["release()"] b6a06945_a7eb_2534_2f4a_2d6b6d3098cc -->|calls| ef6ea20f_1d89_e7fb_ed43_ea8b34830807 style b6a06945_a7eb_2534_2f4a_2d6b6d3098cc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/HttpRequestEncoderTest.java lines 112–122
@Test
public void testEmptyAbsPath() throws Exception {
for (ByteBuf buffer : getBuffers()) {
HttpRequestEncoder encoder = new HttpRequestEncoder();
encoder.encodeInitialLine(buffer, new DefaultHttpRequest(HttpVersion.HTTP_1_1,
HttpMethod.GET, ""));
String req = buffer.toString(StandardCharsets.US_ASCII);
assertEquals("GET / HTTP/1.1\r\n", req);
buffer.release();
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testEmptyAbsPath() do?
testEmptyAbsPath() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpRequestEncoderTest.java.
Where is testEmptyAbsPath() defined?
testEmptyAbsPath() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpRequestEncoderTest.java at line 112.
What does testEmptyAbsPath() call?
testEmptyAbsPath() calls 2 function(s): getBuffers, release.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free