Home / Function/ testServerWindowSizeDisable() — netty Function Reference

testServerWindowSizeDisable() — netty Function Reference

Architecture documentation for the testServerWindowSizeDisable() function in WebSocketServerCompressionHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1e1d6792_93ed_ccf7_ac3a_63e3a0d16467["testServerWindowSizeDisable()"]
  f04a1df1_c87f_2c9a_6db7_545340c5a3cb["WebSocketServerCompressionHandlerTest"]
  1e1d6792_93ed_ccf7_ac3a_63e3a0d16467 -->|defined in| f04a1df1_c87f_2c9a_6db7_545340c5a3cb
  style 1e1d6792_93ed_ccf7_ac3a_63e3a0d16467 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/websocketx/extensions/compression/WebSocketServerCompressionHandlerTest.java lines 124–140

    @Test
    public void testServerWindowSizeDisable() {
        EmbeddedChannel ch = new EmbeddedChannel(new WebSocketServerExtensionHandler(
                new PerMessageDeflateServerExtensionHandshaker(6, false, 15, false, false, 0)));

        HttpRequest req = newUpgradeRequest(PERMESSAGE_DEFLATE_EXTENSION + "; " + SERVER_MAX_WINDOW + "=10");
        ch.writeInbound(req);

        HttpResponse res = newUpgradeResponse(null);
        ch.writeOutbound(res);

        HttpResponse res2 = ch.readOutbound();

        assertFalse(res2.headers().contains(HttpHeaderNames.SEC_WEBSOCKET_EXTENSIONS));
        assertNull(ch.pipeline().get(PerMessageDeflateDecoder.class));
        assertNull(ch.pipeline().get(PerMessageDeflateEncoder.class));
    }

Domain

Subdomains

Frequently Asked Questions

What does testServerWindowSizeDisable() do?
testServerWindowSizeDisable() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/extensions/compression/WebSocketServerCompressionHandlerTest.java.
Where is testServerWindowSizeDisable() defined?
testServerWindowSizeDisable() is defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/extensions/compression/WebSocketServerCompressionHandlerTest.java at line 124.

Analyze Your Own Codebase

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

Try Supermodel Free