Home / Function/ streamExceptionCauseRstStreamWithProtocolError() — netty Function Reference

streamExceptionCauseRstStreamWithProtocolError() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  e33e96f0_934c_fc4b_1602_74068a92980c["streamExceptionCauseRstStreamWithProtocolError()"]
  4745ff96_ed57_3bd8_9861_4b786d0b6e09["Http2MultiplexTest"]
  e33e96f0_934c_fc4b_1602_74068a92980c -->|defined in| 4745ff96_ed57_3bd8_9861_4b786d0b6e09
  style e33e96f0_934c_fc4b_1602_74068a92980c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java lines 471–480

    @Test
    public void streamExceptionCauseRstStreamWithProtocolError() {
        request.addLong(HttpHeaderNames.CONTENT_LENGTH, 10);
        Http2StreamChannel channel = newInboundStream(3, false, new ChannelInboundHandlerAdapter());
        channel.pipeline().fireExceptionCaught(new Http2FrameStreamException(channel.stream(),
                Http2Error.PROTOCOL_ERROR, new IllegalArgumentException()));
        assertFalse(channel.isActive());
        verify(frameWriter).writeRstStream(eqCodecCtx(), eq(3),
                eq(Http2Error.PROTOCOL_ERROR.code()), anyChannelPromise());
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free