sslExceptionTriggersChildChannelException() — netty Function Reference
Architecture documentation for the sslExceptionTriggersChildChannelException() function in Http2MultiplexHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 15bc463c_ea2f_1ca2_6b0a_5d6d488db613["sslExceptionTriggersChildChannelException()"] 4fba49cb_e5ea_a2e3_d051_264ed1bec463["Http2MultiplexHandlerTest"] 15bc463c_ea2f_1ca2_6b0a_5d6d488db613 -->|defined in| 4fba49cb_e5ea_a2e3_d051_264ed1bec463 style 15bc463c_ea2f_1ca2_6b0a_5d6d488db613 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexHandlerTest.java lines 59–83
@Test
public void sslExceptionTriggersChildChannelException() {
final LastInboundHandler inboundHandler = new LastInboundHandler();
Http2StreamChannel channel = newInboundStream(3, false, inboundHandler);
assertTrue(channel.isActive());
final RuntimeException testExc = new RuntimeException(new SSLException("foo"));
channel.parent().pipeline().addLast(new ChannelInboundHandlerAdapter() {
@Override
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
if (cause != testExc) {
super.exceptionCaught(ctx, cause);
}
}
});
channel.parent().pipeline().fireExceptionCaught(testExc);
assertTrue(channel.isActive());
RuntimeException exc = assertThrows(RuntimeException.class, new Executable() {
@Override
public void execute() throws Throwable {
inboundHandler.checkException();
}
});
assertEquals(testExc, exc);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does sslExceptionTriggersChildChannelException() do?
sslExceptionTriggersChildChannelException() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexHandlerTest.java.
Where is sslExceptionTriggersChildChannelException() defined?
sslExceptionTriggersChildChannelException() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexHandlerTest.java at line 59.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free