testHttpUpgradeRequest0() — netty Function Reference
Architecture documentation for the testHttpUpgradeRequest0() function in WebSocketServerProtocolHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD e39e5cc5_b5e7_302c_1168_3c2e459c4003["testHttpUpgradeRequest0()"] 7afc952d_7109_096b_f81d_bf3293e37581["WebSocketServerProtocolHandlerTest"] e39e5cc5_b5e7_302c_1168_3c2e459c4003 -->|defined in| 7afc952d_7109_096b_f81d_bf3293e37581 91ce99b1_e335_e375_fe9e_cc717868379b["testHttpUpgradeRequestFull()"] 91ce99b1_e335_e375_fe9e_cc717868379b -->|calls| e39e5cc5_b5e7_302c_1168_3c2e459c4003 bad1f52c_fb80_51d5_0471_2b05b6c6c86d["testHttpUpgradeRequestNonFull()"] bad1f52c_fb80_51d5_0471_2b05b6c6c86d -->|calls| e39e5cc5_b5e7_302c_1168_3c2e459c4003 a1104de5_2bbb_85ab_c04d_82d6bf5a5b4e["writeUpgradeRequest()"] e39e5cc5_b5e7_302c_1168_3c2e459c4003 -->|calls| a1104de5_2bbb_85ab_c04d_82d6bf5a5b4e style e39e5cc5_b5e7_302c_1168_3c2e459c4003 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandlerTest.java lines 75–85
private void testHttpUpgradeRequest0(boolean full) {
EmbeddedChannel ch = createChannel(new MockOutboundHandler());
ChannelHandlerContext handshakerCtx = ch.pipeline().context(WebSocketServerProtocolHandshakeHandler.class);
writeUpgradeRequest(ch, full);
FullHttpResponse response = responses.remove();
assertEquals(SWITCHING_PROTOCOLS, response.status());
response.release();
assertNotNull(WebSocketServerProtocolHandler.getHandshaker(handshakerCtx.channel()));
assertFalse(ch.finish());
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does testHttpUpgradeRequest0() do?
testHttpUpgradeRequest0() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandlerTest.java.
Where is testHttpUpgradeRequest0() defined?
testHttpUpgradeRequest0() is defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandlerTest.java at line 75.
What does testHttpUpgradeRequest0() call?
testHttpUpgradeRequest0() calls 1 function(s): writeUpgradeRequest.
What calls testHttpUpgradeRequest0()?
testHttpUpgradeRequest0() is called by 2 function(s): testHttpUpgradeRequestFull, testHttpUpgradeRequestNonFull.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free