Home / Function/ channelReadComplete() — netty Function Reference

channelReadComplete() — netty Function Reference

Architecture documentation for the channelReadComplete() function in JdkZlibDecoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  74d253c2_55ad_cc1f_953a_1b4579e18857["channelReadComplete()"]
  bba68af7_04c2_8ee6_82f0_73e08fa3f9cd["JdkZlibDecoder"]
  74d253c2_55ad_cc1f_953a_1b4579e18857 -->|defined in| bba68af7_04c2_8ee6_82f0_73e08fa3f9cd
  style 74d253c2_55ad_cc1f_953a_1b4579e18857 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/main/java/io/netty/handler/codec/compression/JdkZlibDecoder.java lines 534–543

    @Override
    public void channelReadComplete(ChannelHandlerContext ctx) throws Exception {
        // Discard bytes of the cumulation buffer if needed.
        discardSomeReadBytes();

        if (needsRead && !ctx.channel().config().isAutoRead()) {
            ctx.read();
        }
        ctx.fireChannelReadComplete();
    }

Domain

Subdomains

Frequently Asked Questions

What does channelReadComplete() do?
channelReadComplete() is a function in the netty codebase, defined in codec-compression/src/main/java/io/netty/handler/codec/compression/JdkZlibDecoder.java.
Where is channelReadComplete() defined?
channelReadComplete() is defined in codec-compression/src/main/java/io/netty/handler/codec/compression/JdkZlibDecoder.java at line 534.

Analyze Your Own Codebase

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

Try Supermodel Free