framesShouldBeMultiplexed() — netty Function Reference
Architecture documentation for the framesShouldBeMultiplexed() function in Http2MultiplexTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 12065931_d2c3_382f_79af_d79f2dc48509["framesShouldBeMultiplexed()"] 4745ff96_ed57_3bd8_9861_4b786d0b6e09["Http2MultiplexTest"] 12065931_d2c3_382f_79af_d79f2dc48509 -->|defined in| 4745ff96_ed57_3bd8_9861_4b786d0b6e09 8df7745b_db2d_ef92_4b30_080373ca9f6d["verifyFramesMultiplexedToCorrectChannel()"] 12065931_d2c3_382f_79af_d79f2dc48509 -->|calls| 8df7745b_db2d_ef92_4b30_080373ca9f6d style 12065931_d2c3_382f_79af_d79f2dc48509 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java lines 500–521
@Test
public void framesShouldBeMultiplexed() {
LastInboundHandler handler1 = new LastInboundHandler();
Http2StreamChannel channel1 = newInboundStream(3, false, handler1);
LastInboundHandler handler2 = new LastInboundHandler();
Http2StreamChannel channel2 = newInboundStream(5, false, handler2);
LastInboundHandler handler3 = new LastInboundHandler();
Http2StreamChannel channel3 = newInboundStream(11, false, handler3);
verifyFramesMultiplexedToCorrectChannel(channel1, handler1, 1);
verifyFramesMultiplexedToCorrectChannel(channel2, handler2, 1);
verifyFramesMultiplexedToCorrectChannel(channel3, handler3, 1);
frameInboundWriter.writeInboundData(channel2.stream().id(), bb("hello"), 0, false);
frameInboundWriter.writeInboundData(channel1.stream().id(), bb("foo"), 0, true);
frameInboundWriter.writeInboundData(channel2.stream().id(), bb("world"), 0, true);
frameInboundWriter.writeInboundData(channel3.stream().id(), bb("bar"), 0, true);
verifyFramesMultiplexedToCorrectChannel(channel1, handler1, 1);
verifyFramesMultiplexedToCorrectChannel(channel2, handler2, 2);
verifyFramesMultiplexedToCorrectChannel(channel3, handler3, 1);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does framesShouldBeMultiplexed() do?
framesShouldBeMultiplexed() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java.
Where is framesShouldBeMultiplexed() defined?
framesShouldBeMultiplexed() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java at line 500.
What does framesShouldBeMultiplexed() call?
framesShouldBeMultiplexed() calls 1 function(s): verifyFramesMultiplexedToCorrectChannel.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free