Home / Function/ testQueryStringPath() — netty Function Reference

testQueryStringPath() — netty Function Reference

Architecture documentation for the testQueryStringPath() function in HttpRequestEncoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e36afe9b_5cd6_0964_e0bf_b9d84ccabac0["testQueryStringPath()"]
  fcb9abc3_d47c_ca31_1af5_a7b8b31112c3["HttpRequestEncoderTest"]
  e36afe9b_5cd6_0964_e0bf_b9d84ccabac0 -->|defined in| fcb9abc3_d47c_ca31_1af5_a7b8b31112c3
  60a37657_2ad1_472c_3803_efdf8d070e3a["getBuffers()"]
  e36afe9b_5cd6_0964_e0bf_b9d84ccabac0 -->|calls| 60a37657_2ad1_472c_3803_efdf8d070e3a
  ef6ea20f_1d89_e7fb_ed43_ea8b34830807["release()"]
  e36afe9b_5cd6_0964_e0bf_b9d84ccabac0 -->|calls| ef6ea20f_1d89_e7fb_ed43_ea8b34830807
  style e36afe9b_5cd6_0964_e0bf_b9d84ccabac0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/HttpRequestEncoderTest.java lines 124–134

    @Test
    public void testQueryStringPath() throws Exception {
        for (ByteBuf buffer : getBuffers()) {
            HttpRequestEncoder encoder = new HttpRequestEncoder();
            encoder.encodeInitialLine(buffer, new DefaultHttpRequest(HttpVersion.HTTP_1_1,
                    HttpMethod.GET, "/?url=http://example.com"));
            String req = buffer.toString(StandardCharsets.US_ASCII);
            assertEquals("GET /?url=http://example.com HTTP/1.1\r\n", req);
            buffer.release();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does testQueryStringPath() do?
testQueryStringPath() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpRequestEncoderTest.java.
Where is testQueryStringPath() defined?
testQueryStringPath() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpRequestEncoderTest.java at line 124.
What does testQueryStringPath() call?
testQueryStringPath() 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