Home / Function/ channelRead() — netty Function Reference

channelRead() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  552ee46c_e191_c31e_0760_893a4dc62d1b["channelRead()"]
  57499e74_1040_f300_12bb_215179e108be["Http3FrameCodec"]
  552ee46c_e191_c31e_0760_893a4dc62d1b -->|defined in| 57499e74_1040_f300_12bb_215179e108be
  bc889d75_7258_5336_e80d_f4e24471b1ac["resume()"]
  bc889d75_7258_5336_e80d_f4e24471b1ac -->|calls| 552ee46c_e191_c31e_0760_893a4dc62d1b
  style 552ee46c_e191_c31e_0760_893a4dc62d1b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/Http3FrameCodec.java lines 124–135

    @Override
    public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
        ByteBuf buffer;
        if (msg instanceof QuicStreamFrame) {
            QuicStreamFrame streamFrame = (QuicStreamFrame) msg;
            buffer = streamFrame.content().retain();
            streamFrame.release();
        } else {
            buffer = (ByteBuf) msg;
        }
        super.channelRead(ctx, buffer);
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does channelRead() do?
channelRead() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3FrameCodec.java.
Where is channelRead() defined?
channelRead() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3FrameCodec.java at line 124.
What calls channelRead()?
channelRead() is called by 1 function(s): resume.

Analyze Your Own Codebase

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

Try Supermodel Free