headerAndDataFramesShouldBeDelivered() — netty Function Reference
Architecture documentation for the headerAndDataFramesShouldBeDelivered() function in Http2MultiplexTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 1bdb6615_4148_2958_227b_3def5e67fbb6["headerAndDataFramesShouldBeDelivered()"] 4745ff96_ed57_3bd8_9861_4b786d0b6e09["Http2MultiplexTest"] 1bdb6615_4148_2958_227b_3def5e67fbb6 -->|defined in| 4745ff96_ed57_3bd8_9861_4b786d0b6e09 style 1bdb6615_4148_2958_227b_3def5e67fbb6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java lines 235–254
@Test
public void headerAndDataFramesShouldBeDelivered() {
LastInboundHandler inboundHandler = new LastInboundHandler();
Http2StreamChannel channel = newInboundStream(3, false, inboundHandler);
Http2HeadersFrame headersFrame = new DefaultHttp2HeadersFrame(request).stream(channel.stream());
Http2DataFrame dataFrame1 = new DefaultHttp2DataFrame(bb("hello")).stream(channel.stream());
Http2DataFrame dataFrame2 = new DefaultHttp2DataFrame(bb("world")).stream(channel.stream());
assertTrue(inboundHandler.isChannelActive());
frameInboundWriter.writeInboundData(channel.stream().id(), bb("hello"), 0, false);
frameInboundWriter.writeInboundData(channel.stream().id(), bb("world"), 0, false);
assertEquals(headersFrame, inboundHandler.readInbound());
assertEqualsAndRelease(dataFrame1, inboundHandler.<Http2Frame>readInbound());
assertEqualsAndRelease(dataFrame2, inboundHandler.<Http2Frame>readInbound());
assertNull(inboundHandler.readInbound());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does headerAndDataFramesShouldBeDelivered() do?
headerAndDataFramesShouldBeDelivered() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java.
Where is headerAndDataFramesShouldBeDelivered() defined?
headerAndDataFramesShouldBeDelivered() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java at line 235.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free