rstStreamShouldCloseStream() — netty Function Reference
Architecture documentation for the rstStreamShouldCloseStream() function in DefaultHttp2ConnectionEncoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0d477a9b_59c1_60fe_b10b_547f1ff6450d["rstStreamShouldCloseStream()"] aef19477_9a1f_48c4_824a_17c7f3ecbb10["DefaultHttp2ConnectionEncoderTest"] 0d477a9b_59c1_60fe_b10b_547f1ff6450d -->|defined in| aef19477_9a1f_48c4_824a_17c7f3ecbb10 28f0aa39_bbbc_f7c5_14c5_1a7106a5f5a4["writeAllFlowControlledFrames()"] 0d477a9b_59c1_60fe_b10b_547f1ff6450d -->|calls| 28f0aa39_bbbc_f7c5_14c5_1a7106a5f5a4 style 0d477a9b_59c1_60fe_b10b_547f1ff6450d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoderTest.java lines 682–693
@Test
public void rstStreamShouldCloseStream() throws Exception {
// Create the stream and send headers.
writeAllFlowControlledFrames();
encoder.writeHeaders(ctx, STREAM_ID, EmptyHttp2Headers.INSTANCE, 0, true, newPromise());
// Now verify that a stream reset is performed.
stream(STREAM_ID);
ChannelPromise promise = newPromise();
encoder.writeRstStream(ctx, STREAM_ID, PROTOCOL_ERROR.code(), promise);
verify(lifecycleManager).resetStream(eq(ctx), eq(STREAM_ID), anyLong(), eq(promise));
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does rstStreamShouldCloseStream() do?
rstStreamShouldCloseStream() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoderTest.java.
Where is rstStreamShouldCloseStream() defined?
rstStreamShouldCloseStream() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoderTest.java at line 682.
What does rstStreamShouldCloseStream() call?
rstStreamShouldCloseStream() calls 1 function(s): writeAllFlowControlledFrames.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free