Home / Function/ channelRead() — netty Function Reference

channelRead() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  2cb2b2ad_35f6_663d_6d5d_e3bb378838e3["channelRead()"]
  0242423d_f57c_03e5_2d77_51a392318062["Http3RequestStreamDecodeStateValidator"]
  2cb2b2ad_35f6_663d_6d5d_e3bb378838e3 -->|defined in| 0242423d_f57c_03e5_2d77_51a392318062
  style 2cb2b2ad_35f6_663d_6d5d_e3bb378838e3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/Http3RequestStreamDecodeStateValidator.java lines 32–46

    @Override
    public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
        if (!(msg instanceof Http3RequestStreamFrame)) {
            super.channelRead(ctx, msg);
            return;
        }
        final Http3RequestStreamFrame frame = (Http3RequestStreamFrame) msg;
        final State nextState = evaluateFrame(state, frame);
        if (nextState == null) {
            frameTypeUnexpected(ctx, msg);
            return;
        }
        state = nextState;
        super.channelRead(ctx, msg);
    }

Domain

Subdomains

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/Http3RequestStreamDecodeStateValidator.java.
Where is channelRead() defined?
channelRead() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3RequestStreamDecodeStateValidator.java at line 32.

Analyze Your Own Codebase

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

Try Supermodel Free