testUpgradeUrl() — netty Function Reference
Architecture documentation for the testUpgradeUrl() function in WebSocketClientHandshakerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 5457c2af_08ba_472b_ad26_b3d30a0d4376["testUpgradeUrl()"] 2cb6ab9a_d30f_c725_5b7e_5ad8d513e6b9["WebSocketClientHandshakerTest"] 5457c2af_08ba_472b_ad26_b3d30a0d4376 -->|defined in| 2cb6ab9a_d30f_c725_5b7e_5ad8d513e6b9 style 5457c2af_08ba_472b_ad26_b3d30a0d4376 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketClientHandshakerTest.java lines 259–270
@Test
@SuppressWarnings("deprecation")
public void testUpgradeUrl() {
URI uri = URI.create("ws://localhost:9999/path%20with%20ws");
WebSocketClientHandshaker handshaker = newHandshaker(uri);
FullHttpRequest request = handshaker.newHandshakeRequest();
try {
assertEquals("/path%20with%20ws", request.getUri());
} finally {
request.release();
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does testUpgradeUrl() do?
testUpgradeUrl() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketClientHandshakerTest.java.
Where is testUpgradeUrl() defined?
testUpgradeUrl() is defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketClientHandshakerTest.java at line 259.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free