Home / Function/ channelReadComplete0() — netty Function Reference

channelReadComplete0() — netty Function Reference

Architecture documentation for the channelReadComplete0() function in Http2ConnectionHandler.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  a88a1d92_90a2_7d96_f945_50da838f9124["channelReadComplete0()"]
  a9ab361d_2417_0366_d9d0_ae1adb2145dc["Http2ConnectionHandler"]
  a88a1d92_90a2_7d96_f945_50da838f9124 -->|defined in| a9ab361d_2417_0366_d9d0_ae1adb2145dc
  aae0aa7f_2029_08c9_f24d_05375655c19d["channelReadComplete()"]
  aae0aa7f_2029_08c9_f24d_05375655c19d -->|calls| a88a1d92_90a2_7d96_f945_50da838f9124
  4f765efd_a35a_41de_e7db_a51cd97af3a2["read()"]
  a88a1d92_90a2_7d96_f945_50da838f9124 -->|calls| 4f765efd_a35a_41de_e7db_a51cd97af3a2
  style a88a1d92_90a2_7d96_f945_50da838f9124 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java lines 563–575

    final void channelReadComplete0(ChannelHandlerContext ctx) {
        // Discard bytes of the cumulation buffer if needed.
        discardSomeReadBytes();

        // Ensure we never stale the HTTP/2 Channel. Flow-control is enforced by HTTP/2.
        //
        // See https://tools.ietf.org/html/rfc7540#section-5.2.2
        if (!ctx.channel().config().isAutoRead()) {
            ctx.read();
        }

        ctx.fireChannelReadComplete();
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does channelReadComplete0() do?
channelReadComplete0() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java.
Where is channelReadComplete0() defined?
channelReadComplete0() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java at line 563.
What does channelReadComplete0() call?
channelReadComplete0() calls 1 function(s): read.
What calls channelReadComplete0()?
channelReadComplete0() is called by 1 function(s): channelReadComplete.

Analyze Your Own Codebase

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

Try Supermodel Free