Home / Function/ channelReadComplete() — netty Function Reference

channelReadComplete() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  13260857_fb05_6d06_80c1_0099b69a4481["channelReadComplete()"]
  b9b9e638_302b_6a01_f1e0_a9d2ea3a2ab2["JZlibDecoder"]
  13260857_fb05_6d06_80c1_0099b69a4481 -->|defined in| b9b9e638_302b_6a01_f1e0_a9d2ea3a2ab2
  style 13260857_fb05_6d06_80c1_0099b69a4481 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/main/java/io/netty/handler/codec/compression/JZlibDecoder.java lines 234–243

    @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/JZlibDecoder.java.
Where is channelReadComplete() defined?
channelReadComplete() is defined in codec-compression/src/main/java/io/netty/handler/codec/compression/JZlibDecoder.java at line 234.

Analyze Your Own Codebase

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

Try Supermodel Free