Home / Function/ testUpgradeUrlWithQuery() — netty Function Reference

testUpgradeUrlWithQuery() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketClientHandshakerTest.java lines 272–282

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free