Home / Function/ writeRstOnNonExistantStreamShouldSucceed() — netty Function Reference

writeRstOnNonExistantStreamShouldSucceed() — netty Function Reference

Architecture documentation for the writeRstOnNonExistantStreamShouldSucceed() function in Http2ConnectionHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  265fc86e_3498_e96f_4973_3fcc3e0d17de["writeRstOnNonExistantStreamShouldSucceed()"]
  e8b32c7d_fa9d_422b_0744_82047ac00ea5["Http2ConnectionHandlerTest"]
  265fc86e_3498_e96f_4973_3fcc3e0d17de -->|defined in| e8b32c7d_fa9d_422b_0744_82047ac00ea5
  style 265fc86e_3498_e96f_4973_3fcc3e0d17de fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java lines 567–574

    @Test
    public void writeRstOnNonExistantStreamShouldSucceed() throws Exception {
        handler = newHandler();
        when(frameWriter.writeRstStream(eq(ctx), eq(NON_EXISTANT_STREAM_ID),
                                        eq(STREAM_CLOSED.code()), eq(promise))).thenReturn(future);
        handler.resetStream(ctx, NON_EXISTANT_STREAM_ID, STREAM_CLOSED.code(), promise);
        verify(frameWriter).writeRstStream(eq(ctx), eq(NON_EXISTANT_STREAM_ID), eq(STREAM_CLOSED.code()), eq(promise));
    }

Domain

Subdomains

Frequently Asked Questions

What does writeRstOnNonExistantStreamShouldSucceed() do?
writeRstOnNonExistantStreamShouldSucceed() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java.
Where is writeRstOnNonExistantStreamShouldSucceed() defined?
writeRstOnNonExistantStreamShouldSucceed() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java at line 567.

Analyze Your Own Codebase

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

Try Supermodel Free