Home / Function/ streamExceptionTriggersChildChannelExceptionAndClose() — netty Function Reference

streamExceptionTriggersChildChannelExceptionAndClose() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java lines 857–873

    @Test
    public void streamExceptionTriggersChildChannelExceptionAndClose() throws Exception {
        final LastInboundHandler inboundHandler = new LastInboundHandler();
        Http2StreamChannel channel = newInboundStream(3, false, inboundHandler);
        assertTrue(channel.isActive());
        StreamException cause = new StreamException(channel.stream().id(), Http2Error.PROTOCOL_ERROR, "baaam!");
        parentChannel.pipeline().fireExceptionCaught(cause);

        assertFalse(channel.isActive());

        assertThrows(StreamException.class, new Executable() {
            @Override
            public void execute() throws Throwable {
                inboundHandler.checkException();
            }
        });
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free