Home / Function/ write() — netty Function Reference

write() — netty Function Reference

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

Function java Buffer Allocators calls 2 called by 4

Entity Profile

Dependency Diagram

graph TD
  a234e34e_4b68_a34a_5b98_49872289b7ac["write()"]
  57499e74_1040_f300_12bb_215179e108be["Http3FrameCodec"]
  a234e34e_4b68_a34a_5b98_49872289b7ac -->|defined in| 57499e74_1040_f300_12bb_215179e108be
  3d4d4991_5fbd_3e0a_fba1_d5578b3a5f92["writeDataFrame()"]
  3d4d4991_5fbd_3e0a_fba1_d5578b3a5f92 -->|calls| a234e34e_4b68_a34a_5b98_49872289b7ac
  f44f2a24_b15d_496d_23b1_303e5eefeff1["writeDynamicFrame()"]
  f44f2a24_b15d_496d_23b1_303e5eefeff1 -->|calls| a234e34e_4b68_a34a_5b98_49872289b7ac
  ac6bf4dd_e2ae_cc62_61c2_1691ef5ea296["writeFrameWithId()"]
  ac6bf4dd_e2ae_cc62_61c2_1691ef5ea296 -->|calls| a234e34e_4b68_a34a_5b98_49872289b7ac
  c4e0ff51_5f31_820f_cd6d_b0653d594561["writeUnknownFrame()"]
  c4e0ff51_5f31_820f_cd6d_b0653d594561 -->|calls| a234e34e_4b68_a34a_5b98_49872289b7ac
  516fac3d_3045_d842_66ce_3e1f0af8e1c8["enqueue()"]
  a234e34e_4b68_a34a_5b98_49872289b7ac -->|calls| 516fac3d_3045_d842_66ce_3e1f0af8e1c8
  8956333e_1f8a_a4ec_390f_4f648d6508a4["write0()"]
  a234e34e_4b68_a34a_5b98_49872289b7ac -->|calls| 8956333e_1f8a_a4ec_390f_4f648d6508a4
  style a234e34e_4b68_a34a_5b98_49872289b7ac fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/Http3FrameCodec.java lines 427–443

    @Override
    public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) {
        assert qpackAttributes != null;
        if (writeResumptionListener != null) {
            writeResumptionListener.enqueue(msg, promise);
            return;
        }

        if ((msg instanceof Http3HeadersFrame || msg instanceof Http3PushPromiseFrame) &&
                !qpackAttributes.dynamicTableDisabled() && !qpackAttributes.encoderStreamAvailable()) {
            writeResumptionListener = WriteResumptionListener.newListener(ctx, this);
            writeResumptionListener.enqueue(msg, promise);
            return;
        }

        write0(ctx, msg, promise);
    }

Domain

Subdomains

Frequently Asked Questions

What does write() do?
write() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3FrameCodec.java.
Where is write() defined?
write() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3FrameCodec.java at line 427.
What does write() call?
write() calls 2 function(s): enqueue, write0.
What calls write()?
write() is called by 4 function(s): writeDataFrame, writeDynamicFrame, writeFrameWithId, writeUnknownFrame.

Analyze Your Own Codebase

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

Try Supermodel Free