Home / Function/ canOpenStream() — netty Function Reference

canOpenStream() — netty Function Reference

Architecture documentation for the canOpenStream() function in DefaultHttp2Connection.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  88dfd231_33bb_8529_db43_2bb61c56d210["canOpenStream()"]
  4fff0ad9_a79c_4bdb_3e93_54ee4440ca84["DefaultEndpoint"]
  88dfd231_33bb_8529_db43_2bb61c56d210 -->|defined in| 4fff0ad9_a79c_4bdb_3e93_54ee4440ca84
  b0bbabf3_9ef1_59e5_be02_dd1e1c9fd442["Http2Stream()"]
  b0bbabf3_9ef1_59e5_be02_dd1e1c9fd442 -->|calls| 88dfd231_33bb_8529_db43_2bb61c56d210
  facfc400_d7e3_bf1c_8873_e78842b4f8fc["checkNewStreamAllowed()"]
  facfc400_d7e3_bf1c_8873_e78842b4f8fc -->|calls| 88dfd231_33bb_8529_db43_2bb61c56d210
  style 88dfd231_33bb_8529_db43_2bb61c56d210 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java lines 770–773

        @Override
        public boolean canOpenStream() {
            return numActiveStreams < maxActiveStreams;
        }

Domain

Subdomains

Frequently Asked Questions

What does canOpenStream() do?
canOpenStream() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java.
Where is canOpenStream() defined?
canOpenStream() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java at line 770.
What calls canOpenStream()?
canOpenStream() is called by 2 function(s): Http2Stream, checkNewStreamAllowed.

Analyze Your Own Codebase

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

Try Supermodel Free