Home / Function/ incrementExpectedStreamId() — netty Function Reference

incrementExpectedStreamId() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  d07008fb_0112_ca84_34c9_1cd022951147["incrementExpectedStreamId()"]
  4fff0ad9_a79c_4bdb_3e93_54ee4440ca84["DefaultEndpoint"]
  d07008fb_0112_ca84_34c9_1cd022951147 -->|defined in| 4fff0ad9_a79c_4bdb_3e93_54ee4440ca84
  70d81cb4_4074_f43b_ccc8_18d7b3da8dc5["DefaultStream()"]
  70d81cb4_4074_f43b_ccc8_18d7b3da8dc5 -->|calls| d07008fb_0112_ca84_34c9_1cd022951147
  style d07008fb_0112_ca84_34c9_1cd022951147 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java lines 752–758

        private void incrementExpectedStreamId(int streamId) {
            if (streamId > nextReservationStreamId && nextReservationStreamId >= 0) {
                nextReservationStreamId = streamId;
            }
            nextStreamIdToCreate = streamId + 2;
            ++numStreams;
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does incrementExpectedStreamId() do?
incrementExpectedStreamId() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java.
Where is incrementExpectedStreamId() defined?
incrementExpectedStreamId() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java at line 752.
What calls incrementExpectedStreamId()?
incrementExpectedStreamId() is called by 1 function(s): DefaultStream.

Analyze Your Own Codebase

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

Try Supermodel Free