testUriWithEmptyPath() — netty Function Reference
Architecture documentation for the testUriWithEmptyPath() function in HttpRequestEncoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 29752071_aa76_5ebb_6e9d_9e760ada9f56["testUriWithEmptyPath()"] fcb9abc3_d47c_ca31_1af5_a7b8b31112c3["HttpRequestEncoderTest"] 29752071_aa76_5ebb_6e9d_9e760ada9f56 -->|defined in| fcb9abc3_d47c_ca31_1af5_a7b8b31112c3 60a37657_2ad1_472c_3803_efdf8d070e3a["getBuffers()"] 29752071_aa76_5ebb_6e9d_9e760ada9f56 -->|calls| 60a37657_2ad1_472c_3803_efdf8d070e3a ef6ea20f_1d89_e7fb_ed43_ea8b34830807["release()"] 29752071_aa76_5ebb_6e9d_9e760ada9f56 -->|calls| ef6ea20f_1d89_e7fb_ed43_ea8b34830807 style 29752071_aa76_5ebb_6e9d_9e760ada9f56 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/HttpRequestEncoderTest.java lines 76–86
@Test
public void testUriWithEmptyPath() throws Exception {
for (ByteBuf buffer : getBuffers()) {
HttpRequestEncoder encoder = new HttpRequestEncoder();
encoder.encodeInitialLine(buffer, new DefaultHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.GET,
"http://localhost:9999/?p1=v1"));
String req = buffer.toString(StandardCharsets.US_ASCII);
assertEquals("GET http://localhost:9999/?p1=v1 HTTP/1.1\r\n", req);
buffer.release();
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testUriWithEmptyPath() do?
testUriWithEmptyPath() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpRequestEncoderTest.java.
Where is testUriWithEmptyPath() defined?
testUriWithEmptyPath() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpRequestEncoderTest.java at line 76.
What does testUriWithEmptyPath() call?
testUriWithEmptyPath() 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