Home / Function/ testControlFrameInTheMiddleOfFragmentAllowed() — netty Function Reference

testControlFrameInTheMiddleOfFragmentAllowed() — netty Function Reference

Architecture documentation for the testControlFrameInTheMiddleOfFragmentAllowed() function in WebSocketUtf8FrameValidatorTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  24378039_d1c3_e383_ad9b_907fe444ebde["testControlFrameInTheMiddleOfFragmentAllowed()"]
  5afab092_8064_6a0f_9ed4_1e250f5e1864["WebSocketUtf8FrameValidatorTest"]
  24378039_d1c3_e383_ad9b_907fe444ebde -->|defined in| 5afab092_8064_6a0f_9ed4_1e250f5e1864
  4465a9b4_f855_1e65_4b93_458fca5d3b29["testCloseWithStatusInTheMiddleOfFragmentAllowed()"]
  4465a9b4_f855_1e65_4b93_458fca5d3b29 -->|calls| 24378039_d1c3_e383_ad9b_907fe444ebde
  3b02e38e_b43b_54f0_01a8_b99abf74f451["testPingInTheMiddleOfFragmentAllowed()"]
  3b02e38e_b43b_54f0_01a8_b99abf74f451 -->|calls| 24378039_d1c3_e383_ad9b_907fe444ebde
  fb2b533a_7a42_ed94_a704_43f5b0f0e67d["testPongInTheMiddleOfFragmentAllowed()"]
  fb2b533a_7a42_ed94_a704_43f5b0f0e67d -->|calls| 24378039_d1c3_e383_ad9b_907fe444ebde
  style 24378039_d1c3_e383_ad9b_907fe444ebde fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketUtf8FrameValidatorTest.java lines 94–100

    private static void testControlFrameInTheMiddleOfFragmentAllowed(WebSocketFrame controlFrame) {
        final EmbeddedChannel channel = new EmbeddedChannel(new Utf8FrameValidator(false));
        final TextWebSocketFrame frame = new TextWebSocketFrame(false, 0, "text");
        assertTrue(channel.writeInbound(frame));
        assertTrue(channel.writeInbound(controlFrame));
        assertTrue(channel.finishAndReleaseAll());
    }

Domain

Subdomains

Frequently Asked Questions

What does testControlFrameInTheMiddleOfFragmentAllowed() do?
testControlFrameInTheMiddleOfFragmentAllowed() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketUtf8FrameValidatorTest.java.
Where is testControlFrameInTheMiddleOfFragmentAllowed() defined?
testControlFrameInTheMiddleOfFragmentAllowed() is defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketUtf8FrameValidatorTest.java at line 94.
What calls testControlFrameInTheMiddleOfFragmentAllowed()?
testControlFrameInTheMiddleOfFragmentAllowed() is called by 3 function(s): testCloseWithStatusInTheMiddleOfFragmentAllowed, testPingInTheMiddleOfFragmentAllowed, testPongInTheMiddleOfFragmentAllowed.

Analyze Your Own Codebase

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

Try Supermodel Free