Home / Function/ writeRstOnIdleStreamShouldNotWriteButStillSucceed() — netty Function Reference

writeRstOnIdleStreamShouldNotWriteButStillSucceed() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java lines 590–597

    @Test
    public void writeRstOnIdleStreamShouldNotWriteButStillSucceed() throws Exception {
        handler = newHandler();
        when(stream.state()).thenReturn(IDLE);
        handler.resetStream(ctx, STREAM_ID, STREAM_CLOSED.code(), promise);
        verify(frameWriter, never()).writeRstStream(eq(ctx), eq(STREAM_ID), anyLong(), any(ChannelPromise.class));
        verify(stream).close();
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free