Home / Function/ testUpgradeUrlWithoutPathWithQuery() — netty Function Reference

testUpgradeUrlWithoutPathWithQuery() — netty Function Reference

Architecture documentation for the testUpgradeUrlWithoutPathWithQuery() function in WebSocketClientHandshakerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  92fbecb6_dbf4_373a_aba3_0beae69942c5["testUpgradeUrlWithoutPathWithQuery()"]
  2cb6ab9a_d30f_c725_5b7e_5ad8d513e6b9["WebSocketClientHandshakerTest"]
  92fbecb6_dbf4_373a_aba3_0beae69942c5 -->|defined in| 2cb6ab9a_d30f_c725_5b7e_5ad8d513e6b9
  style 92fbecb6_dbf4_373a_aba3_0beae69942c5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketClientHandshakerTest.java lines 296–306

    @Test
    public void testUpgradeUrlWithoutPathWithQuery() {
        URI uri = URI.create("ws://localhost:9999?a=b%20c");
        WebSocketClientHandshaker handshaker = newHandshaker(uri);
        FullHttpRequest request = handshaker.newHandshakeRequest();
        try {
            assertEquals("/?a=b%20c", request.uri());
        } finally {
            request.release();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does testUpgradeUrlWithoutPathWithQuery() do?
testUpgradeUrlWithoutPathWithQuery() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketClientHandshakerTest.java.
Where is testUpgradeUrlWithoutPathWithQuery() defined?
testUpgradeUrlWithoutPathWithQuery() is defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketClientHandshakerTest.java at line 296.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free