Home / Function/ DataFrameHeader() — netty Function Reference

DataFrameHeader() — netty Function Reference

Architecture documentation for the DataFrameHeader() function in Http2FrameWriterDataBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1c7370c4_c604_5d40_5979_39169e4dbcf6["DataFrameHeader()"]
  04abad0f_8793_fb74_8fcd_e6ba7ef5d1b8["DataFrameHeader"]
  1c7370c4_c604_5d40_5979_39169e4dbcf6 -->|defined in| 04abad0f_8793_fb74_8fcd_e6ba7ef5d1b8
  0791d501_8dec_ab00_6a1b_1a1805e56f9e["ChannelFuture()"]
  0791d501_8dec_ab00_6a1b_1a1805e56f9e -->|calls| 1c7370c4_c604_5d40_5979_39169e4dbcf6
  style 1c7370c4_c604_5d40_5979_39169e4dbcf6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/handler/codec/http2/Http2FrameWriterDataBenchmark.java lines 205–211

            DataFrameHeader(ChannelHandlerContext ctx, int streamId) {
                // All padding will be put at the end, so in the worst case we need 3 headers:
                // a repeated no-padding frame of maxFrameSize, a frame that has part data and part
                // padding, and a frame that has the remainder of the padding.
                buffer = ctx.alloc().buffer(3 * DATA_FRAME_HEADER_LENGTH);
                this.streamId = streamId;
            }

Domain

Subdomains

Called By

Frequently Asked Questions

What does DataFrameHeader() do?
DataFrameHeader() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/handler/codec/http2/Http2FrameWriterDataBenchmark.java.
Where is DataFrameHeader() defined?
DataFrameHeader() is defined in microbench/src/main/java/io/netty/handler/codec/http2/Http2FrameWriterDataBenchmark.java at line 205.
What calls DataFrameHeader()?
DataFrameHeader() is called by 1 function(s): ChannelFuture.

Analyze Your Own Codebase

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

Try Supermodel Free