DefaultStream() — netty Function Reference
Architecture documentation for the DefaultStream() function in DefaultHttp2Connection.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 70d81cb4_4074_f43b_ccc8_18d7b3da8dc5["DefaultStream()"] 4fff0ad9_a79c_4bdb_3e93_54ee4440ca84["DefaultEndpoint"] 70d81cb4_4074_f43b_ccc8_18d7b3da8dc5 -->|defined in| 4fff0ad9_a79c_4bdb_3e93_54ee4440ca84 49741a3a_f57a_2c21_d0a3_4f12e59d3dcb["DefaultStream()"] 49741a3a_f57a_2c21_d0a3_4f12e59d3dcb -->|calls| 70d81cb4_4074_f43b_ccc8_18d7b3da8dc5 facfc400_d7e3_bf1c_8873_e78842b4f8fc["checkNewStreamAllowed()"] 70d81cb4_4074_f43b_ccc8_18d7b3da8dc5 -->|calls| facfc400_d7e3_bf1c_8873_e78842b4f8fc 49741a3a_f57a_2c21_d0a3_4f12e59d3dcb["DefaultStream()"] 70d81cb4_4074_f43b_ccc8_18d7b3da8dc5 -->|calls| 49741a3a_f57a_2c21_d0a3_4f12e59d3dcb d07008fb_0112_ca84_34c9_1cd022951147["incrementExpectedStreamId()"] 70d81cb4_4074_f43b_ccc8_18d7b3da8dc5 -->|calls| d07008fb_0112_ca84_34c9_1cd022951147 bdf9e048_5016_bfd6_6f40_02cd1d34b189["addStream()"] 70d81cb4_4074_f43b_ccc8_18d7b3da8dc5 -->|calls| bdf9e048_5016_bfd6_6f40_02cd1d34b189 9d7263ab_8421_ff18_0764_884071aa14a0["id()"] 70d81cb4_4074_f43b_ccc8_18d7b3da8dc5 -->|calls| 9d7263ab_8421_ff18_0764_884071aa14a0 dbf14d4c_8a91_79fe_ca23_9da946a65a2c["opposite()"] 70d81cb4_4074_f43b_ccc8_18d7b3da8dc5 -->|calls| dbf14d4c_8a91_79fe_ca23_9da946a65a2c 99f1447c_1bfc_d9fe_4cb8_61a3bca25ad5["allowPushTo()"] 70d81cb4_4074_f43b_ccc8_18d7b3da8dc5 -->|calls| 99f1447c_1bfc_d9fe_4cb8_61a3bca25ad5 16f2f769_8bc7_0881_c25f_fac903744c3d["isLocal()"] 70d81cb4_4074_f43b_ccc8_18d7b3da8dc5 -->|calls| 16f2f769_8bc7_0881_c25f_fac903744c3d c5bb1d90_450c_6623_163c_34de2a1879a6["activate()"] 70d81cb4_4074_f43b_ccc8_18d7b3da8dc5 -->|calls| c5bb1d90_450c_6623_163c_34de2a1879a6 style 70d81cb4_4074_f43b_ccc8_18d7b3da8dc5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java lines 775–792
@Override
public DefaultStream createStream(int streamId, boolean halfClosed) throws Http2Exception {
State state = activeState(streamId, IDLE, isLocal(), halfClosed);
checkNewStreamAllowed(streamId, state);
lastCreatedStreamIdentity++;
// Create and initialize the stream.
DefaultStream stream = new DefaultStream(lastCreatedStreamIdentity, streamId, state);
incrementExpectedStreamId(streamId);
addStream(stream);
stream.activate();
return stream;
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does DefaultStream() do?
DefaultStream() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java.
Where is DefaultStream() defined?
DefaultStream() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java at line 775.
What does DefaultStream() call?
DefaultStream() calls 9 function(s): DefaultStream, activate, addStream, allowPushTo, checkNewStreamAllowed, id, incrementExpectedStreamId, isLocal, and 1 more.
What calls DefaultStream()?
DefaultStream() 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