Home / Function/ outboundStreamShouldWriteResetFrameOnClose_headersSent() — netty Function Reference

outboundStreamShouldWriteResetFrameOnClose_headersSent() — netty Function Reference

Architecture documentation for the outboundStreamShouldWriteResetFrameOnClose_headersSent() function in Http2MultiplexTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  0fb3c053_49f0_e7a7_44ea_d94c027bf9ec["outboundStreamShouldWriteResetFrameOnClose_headersSent()"]
  4745ff96_ed57_3bd8_9861_4b786d0b6e09["Http2MultiplexTest"]
  0fb3c053_49f0_e7a7_44ea_d94c027bf9ec -->|defined in| 4745ff96_ed57_3bd8_9861_4b786d0b6e09
  22928953_49fc_cbc5_c75c_f236ce1e1fc7["eqStreamId()"]
  0fb3c053_49f0_e7a7_44ea_d94c027bf9ec -->|calls| 22928953_49fc_cbc5_c75c_f236ce1e1fc7
  style 0fb3c053_49f0_e7a7_44ea_d94c027bf9ec fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java lines 787–803

    @Test
    public void outboundStreamShouldWriteResetFrameOnClose_headersSent() {
        ChannelHandler handler = new ChannelInboundHandlerAdapter() {
            @Override
            public void channelActive(ChannelHandlerContext ctx) {
                ctx.writeAndFlush(new DefaultHttp2HeadersFrame(new DefaultHttp2Headers()));
                ctx.fireChannelActive();
            }
        };

        Http2StreamChannel childChannel = newOutboundStream(handler);
        assertTrue(childChannel.isActive());

        childChannel.close();
        verify(frameWriter).writeRstStream(eqCodecCtx(),
                eqStreamId(childChannel), eq(Http2Error.CANCEL.code()), anyChannelPromise());
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does outboundStreamShouldWriteResetFrameOnClose_headersSent() do?
outboundStreamShouldWriteResetFrameOnClose_headersSent() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java.
Where is outboundStreamShouldWriteResetFrameOnClose_headersSent() defined?
outboundStreamShouldWriteResetFrameOnClose_headersSent() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java at line 787.
What does outboundStreamShouldWriteResetFrameOnClose_headersSent() call?
outboundStreamShouldWriteResetFrameOnClose_headersSent() calls 1 function(s): eqStreamId.

Analyze Your Own Codebase

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

Try Supermodel Free