Home / Function/ writeFrameWithId() — netty Function Reference

writeFrameWithId() — netty Function Reference

Architecture documentation for the writeFrameWithId() function in Http3FrameCodec.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 3

Entity Profile

Dependency Diagram

graph TD
  ac6bf4dd_e2ae_cc62_61c2_1691ef5ea296["writeFrameWithId()"]
  57499e74_1040_f300_12bb_215179e108be["Http3FrameCodec"]
  ac6bf4dd_e2ae_cc62_61c2_1691ef5ea296 -->|defined in| 57499e74_1040_f300_12bb_215179e108be
  84c78b62_f7dd_a1bb_071d_dce8ebe9ecc7["writeCancelPushFrame()"]
  84c78b62_f7dd_a1bb_071d_dce8ebe9ecc7 -->|calls| ac6bf4dd_e2ae_cc62_61c2_1691ef5ea296
  910e4002_2d65_996a_24b9_a36448decf2a["writeGoAwayFrame()"]
  910e4002_2d65_996a_24b9_a36448decf2a -->|calls| ac6bf4dd_e2ae_cc62_61c2_1691ef5ea296
  3b5bd36c_456b_922e_5209_33936ece7819["writeMaxPushIdFrame()"]
  3b5bd36c_456b_922e_5209_33936ece7819 -->|calls| ac6bf4dd_e2ae_cc62_61c2_1691ef5ea296
  a234e34e_4b68_a34a_5b98_49872289b7ac["write()"]
  ac6bf4dd_e2ae_cc62_61c2_1691ef5ea296 -->|calls| a234e34e_4b68_a34a_5b98_49872289b7ac
  style ac6bf4dd_e2ae_cc62_61c2_1691ef5ea296 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/Http3FrameCodec.java lines 567–573

    private static void writeFrameWithId(ChannelHandlerContext ctx, long type, long id, ChannelPromise promise) {
        ByteBuf out = ctx.alloc().directBuffer(24);
        writeVariableLengthInteger(out, type);
        writeVariableLengthInteger(out, numBytesForVariableLengthInteger(id));
        writeVariableLengthInteger(out, id);
        ctx.write(out, promise);
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does writeFrameWithId() do?
writeFrameWithId() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3FrameCodec.java.
Where is writeFrameWithId() defined?
writeFrameWithId() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3FrameCodec.java at line 567.
What does writeFrameWithId() call?
writeFrameWithId() calls 1 function(s): write.
What calls writeFrameWithId()?
writeFrameWithId() is called by 3 function(s): writeCancelPushFrame, writeGoAwayFrame, writeMaxPushIdFrame.

Analyze Your Own Codebase

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

Try Supermodel Free