Home / Function/ getStreamId() — netty Function Reference

getStreamId() — netty Function Reference

Architecture documentation for the getStreamId() function in HttpToHttp2ConnectionHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  06d6ae40_b984_beda_b815_22f978264d9c["getStreamId()"]
  4447759a_2f71_7328_e5e4_3e3629ebf2c1["HttpToHttp2ConnectionHandler"]
  06d6ae40_b984_beda_b815_22f978264d9c -->|defined in| 4447759a_2f71_7328_e5e4_3e3629ebf2c1
  7372f9aa_ae7e_50a4_48ab_f253231ab58a["write()"]
  7372f9aa_ae7e_50a4_48ab_f253231ab58a -->|calls| 06d6ae40_b984_beda_b815_22f978264d9c
  style 06d6ae40_b984_beda_b815_22f978264d9c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/HttpToHttp2ConnectionHandler.java lines 78–81

    private int getStreamId(HttpHeaders httpHeaders) throws Exception {
        return httpHeaders.getInt(HttpConversionUtil.ExtensionHeaderNames.STREAM_ID.text(),
                                  connection().local().incrementAndGetNextStreamId());
    }

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free