testDoNotCreateUTF8Validator() — netty Function Reference
Architecture documentation for the testDoNotCreateUTF8Validator() function in WebSocketServerProtocolHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b7a0fac2_887f_0b3e_ff2c_a4dd93270712["testDoNotCreateUTF8Validator()"] 7afc952d_7109_096b_f81d_bf3293e37581["WebSocketServerProtocolHandlerTest"] b7a0fac2_887f_0b3e_ff2c_a4dd93270712 -->|defined in| 7afc952d_7109_096b_f81d_bf3293e37581 80f33c2c_3b4b_5696_fbad_e6b9f93bb80d["EmbeddedChannel()"] b7a0fac2_887f_0b3e_ff2c_a4dd93270712 -->|calls| 80f33c2c_3b4b_5696_fbad_e6b9f93bb80d a1104de5_2bbb_85ab_c04d_82d6bf5a5b4e["writeUpgradeRequest()"] b7a0fac2_887f_0b3e_ff2c_a4dd93270712 -->|calls| a1104de5_2bbb_85ab_c04d_82d6bf5a5b4e style b7a0fac2_887f_0b3e_ff2c_a4dd93270712 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandlerTest.java lines 171–190
@Test
public void testDoNotCreateUTF8Validator() {
WebSocketServerProtocolConfig config = WebSocketServerProtocolConfig.newBuilder()
.websocketPath("/test")
.withUTF8Validator(false)
.build();
EmbeddedChannel ch = new EmbeddedChannel(
new WebSocketServerProtocolHandler(config),
new HttpRequestDecoder(),
new HttpResponseEncoder(),
new MockOutboundHandler());
writeUpgradeRequest(ch);
FullHttpResponse response = responses.remove();
assertEquals(SWITCHING_PROTOCOLS, response.status());
response.release();
assertNull(ch.pipeline().get(Utf8FrameValidator.class));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testDoNotCreateUTF8Validator() do?
testDoNotCreateUTF8Validator() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandlerTest.java.
Where is testDoNotCreateUTF8Validator() defined?
testDoNotCreateUTF8Validator() is defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandlerTest.java at line 171.
What does testDoNotCreateUTF8Validator() call?
testDoNotCreateUTF8Validator() calls 2 function(s): EmbeddedChannel, writeUpgradeRequest.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free