readHeaderFrame() — netty Function Reference
Architecture documentation for the readHeaderFrame() function in DefaultHttp2FrameReaderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b9465947_bdea_365c_4553_5407d21d3f86["readHeaderFrame()"] 66b2f0cc_bce5_f8e1_a7ee_93cd2a101951["DefaultHttp2FrameReaderTest"] b9465947_bdea_365c_4553_5407d21d3f86 -->|defined in| 66b2f0cc_bce5_f8e1_a7ee_93cd2a101951 6dbae7d2_4be8_0723_a821_daaa741ba082["writeHeaderFrame()"] b9465947_bdea_365c_4553_5407d21d3f86 -->|calls| 6dbae7d2_4be8_0723_a821_daaa741ba082 style b9465947_bdea_365c_4553_5407d21d3f86 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2FrameReaderTest.java lines 67–86
@Test
public void readHeaderFrame() throws Http2Exception {
final int streamId = 1;
ByteBuf input = Unpooled.buffer();
try {
Http2Headers headers = new DefaultHttp2Headers()
.authority("foo")
.method("get")
.path("/")
.scheme("https");
Http2Flags flags = new Http2Flags().endOfHeaders(true).endOfStream(true);
writeHeaderFrame(input, streamId, headers, flags);
frameReader.readFrame(ctx, input, listener);
verify(listener).onHeadersRead(ctx, 1, headers, 0, true);
} finally {
input.release();
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does readHeaderFrame() do?
readHeaderFrame() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2FrameReaderTest.java.
Where is readHeaderFrame() defined?
readHeaderFrame() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2FrameReaderTest.java at line 67.
What does readHeaderFrame() call?
readHeaderFrame() calls 1 function(s): writeHeaderFrame.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free