Home / Function/ Http2Stream() — netty Function Reference

Http2Stream() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  cb0e7203_72eb_2078_3ea6_493340750840["Http2Stream()"]
  0ec3cd81_c4d9_2ddb_582d_5c58407aaa07["ActiveStreams"]
  cb0e7203_72eb_2078_3ea6_493340750840 -->|defined in| 0ec3cd81_c4d9_2ddb_582d_5c58407aaa07
  f0f9ba92_f6b6_9036_9ef7_235938810d6c["incrementPendingIterations()"]
  cb0e7203_72eb_2078_3ea6_493340750840 -->|calls| f0f9ba92_f6b6_9036_9ef7_235938810d6c
  d59982c4_2840_f395_d369_855f817593af["decrementPendingIterations()"]
  cb0e7203_72eb_2078_3ea6_493340750840 -->|calls| d59982c4_2840_f395_d369_855f817593af
  style cb0e7203_72eb_2078_3ea6_493340750840 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java lines 1010–1022

        public Http2Stream forEachActiveStream(Http2StreamVisitor visitor) throws Http2Exception {
            incrementPendingIterations();
            try {
                for (Http2Stream stream : streams) {
                    if (!visitor.visit(stream)) {
                        return stream;
                    }
                }
                return null;
            } finally {
                decrementPendingIterations();
            }
        }

Domain

Subdomains

Frequently Asked Questions

What does Http2Stream() do?
Http2Stream() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java.
Where is Http2Stream() defined?
Http2Stream() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java at line 1010.
What does Http2Stream() call?
Http2Stream() calls 2 function(s): decrementPendingIterations, incrementPendingIterations.

Analyze Your Own Codebase

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

Try Supermodel Free