Home / Function/ write() — netty Function Reference

write() — netty Function Reference

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

Function java Buffer Allocators calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  d88fa1e7_08f0_2f10_e0d6_0aba2015f5dd["write()"]
  ac9fda69_8958_1431_6c61_8addd3cb4262["Http3ControlStreamOutboundHandler"]
  d88fa1e7_08f0_2f10_e0d6_0aba2015f5dd -->|defined in| ac9fda69_8958_1431_6c61_8addd3cb4262
  00b1d13d_6459_febf_81f0_12d6979c607f["channelActive()"]
  00b1d13d_6459_febf_81f0_12d6979c607f -->|calls| d88fa1e7_08f0_2f10_e0d6_0aba2015f5dd
  275e4bd5_0916_ca9b_f54b_437fb8fcb013["handleHttp3MaxPushIdFrame()"]
  d88fa1e7_08f0_2f10_e0d6_0aba2015f5dd -->|calls| 275e4bd5_0916_ca9b_f54b_437fb8fcb013
  81a48989_57e3_2274_b5c8_7a237c2724a7["handleHttp3GoAwayFrame()"]
  d88fa1e7_08f0_2f10_e0d6_0aba2015f5dd -->|calls| 81a48989_57e3_2274_b5c8_7a237c2724a7
  style d88fa1e7_08f0_2f10_e0d6_0aba2015f5dd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ControlStreamOutboundHandler.java lines 92–103

    @Override
    void write(ChannelHandlerContext ctx, Http3ControlStreamFrame msg, ChannelPromise promise) {
        if (msg instanceof Http3MaxPushIdFrame && !handleHttp3MaxPushIdFrame(promise, (Http3MaxPushIdFrame) msg)) {
            ReferenceCountUtil.release(msg);
            return;
        } else if (msg instanceof Http3GoAwayFrame && !handleHttp3GoAwayFrame(promise, (Http3GoAwayFrame) msg)) {
            ReferenceCountUtil.release(msg);
            return;
        }

        ctx.write(msg, promise);
    }

Domain

Subdomains

Called By

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/Http3ControlStreamOutboundHandler.java.
Where is write() defined?
write() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ControlStreamOutboundHandler.java at line 92.
What does write() call?
write() calls 2 function(s): handleHttp3GoAwayFrame, handleHttp3MaxPushIdFrame.
What calls write()?
write() is called by 1 function(s): channelActive.

Analyze Your Own Codebase

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

Try Supermodel Free