addStream() — netty Function Reference
Architecture documentation for the addStream() function in DefaultHttp2Connection.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD bdf9e048_5016_bfd6_6f40_02cd1d34b189["addStream()"] 4fff0ad9_a79c_4bdb_3e93_54ee4440ca84["DefaultEndpoint"] bdf9e048_5016_bfd6_6f40_02cd1d34b189 -->|defined in| 4fff0ad9_a79c_4bdb_3e93_54ee4440ca84 70d81cb4_4074_f43b_ccc8_18d7b3da8dc5["DefaultStream()"] 70d81cb4_4074_f43b_ccc8_18d7b3da8dc5 -->|calls| bdf9e048_5016_bfd6_6f40_02cd1d34b189 9d7263ab_8421_ff18_0764_884071aa14a0["id()"] bdf9e048_5016_bfd6_6f40_02cd1d34b189 -->|calls| 9d7263ab_8421_ff18_0764_884071aa14a0 cd5dbdca_c253_9014_4710_af50d3d57270["size()"] bdf9e048_5016_bfd6_6f40_02cd1d34b189 -->|calls| cd5dbdca_c253_9014_4710_af50d3d57270 style bdf9e048_5016_bfd6_6f40_02cd1d34b189 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java lines 830–842
private void addStream(DefaultStream stream) {
// Add the stream to the map and priority tree.
streamMap.put(stream.id(), stream);
// Notify the listeners of the event.
for (int i = 0; i < listeners.size(); i++) {
try {
listeners.get(i).onStreamAdded(stream);
} catch (Throwable cause) {
logger.error("Caught Throwable from listener onStreamAdded.", cause);
}
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does addStream() do?
addStream() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java.
Where is addStream() defined?
addStream() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java at line 830.
What does addStream() call?
addStream() calls 2 function(s): id, size.
What calls addStream()?
addStream() 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