Home / Function/ beginRead() — netty Function Reference

beginRead() — netty Function Reference

Architecture documentation for the beginRead() function in AbstractHttp2StreamChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  3a18b33a_f9a8_0622_5d3c_59bf383e0e3a["beginRead()"]
  2656dcfe_5cdb_7c7d_bc25_312393fe2e05["Http2ChannelUnsafe"]
  3a18b33a_f9a8_0622_5d3c_59bf383e0e3a -->|defined in| 2656dcfe_5cdb_7c7d_bc25_312393fe2e05
  6defa2f0_deaf_b8bb_9379_f478807d197e["isActive()"]
  3a18b33a_f9a8_0622_5d3c_59bf383e0e3a -->|calls| 6defa2f0_deaf_b8bb_9379_f478807d197e
  62a996f5_c8c1_0a8e_97ff_db08bcadbc89["updateLocalWindowIfNeeded()"]
  3a18b33a_f9a8_0622_5d3c_59bf383e0e3a -->|calls| 62a996f5_c8c1_0a8e_97ff_db08bcadbc89
  8c7ec287_e512_c36c_39d6_33286068a273["doBeginRead()"]
  3a18b33a_f9a8_0622_5d3c_59bf383e0e3a -->|calls| 8c7ec287_e512_c36c_39d6_33286068a273
  style 3a18b33a_f9a8_0622_5d3c_59bf383e0e3a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java lines 840–858

        @Override
        public void beginRead() {
            if (!isActive()) {
                return;
            }
            updateLocalWindowIfNeeded();

            switch (readStatus) {
                case IDLE:
                    readStatus = ReadStatus.IN_PROGRESS;
                    doBeginRead();
                    break;
                case IN_PROGRESS:
                    readStatus = ReadStatus.REQUESTED;
                    break;
                default:
                    break;
            }
        }

Domain

Subdomains

Frequently Asked Questions

What does beginRead() do?
beginRead() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java.
Where is beginRead() defined?
beginRead() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java at line 840.
What does beginRead() call?
beginRead() calls 3 function(s): doBeginRead, isActive, updateLocalWindowIfNeeded.

Analyze Your Own Codebase

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

Try Supermodel Free