open0FailsPromiseOnHttp2MultiplexHandlerError() — netty Function Reference
Architecture documentation for the open0FailsPromiseOnHttp2MultiplexHandlerError() function in Http2StreamChannelBootstrapTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD f8adc3db_2606_20ae_9c96_1307c036432c["open0FailsPromiseOnHttp2MultiplexHandlerError()"] 50eedf11_f660_dc20_71c5_c1d7bf019f90["Http2StreamChannelBootstrapTest"] f8adc3db_2606_20ae_9c96_1307c036432c -->|defined in| 50eedf11_f660_dc20_71c5_c1d7bf019f90 55bcd333_86e0_abba_a434_4152c1517f1f["Http2MultiplexHandler()"] f8adc3db_2606_20ae_9c96_1307c036432c -->|calls| 55bcd333_86e0_abba_a434_4152c1517f1f style f8adc3db_2606_20ae_9c96_1307c036432c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/Http2StreamChannelBootstrapTest.java lines 148–163
@Test
public void open0FailsPromiseOnHttp2MultiplexHandlerError() {
Http2StreamChannelBootstrap bootstrap = new Http2StreamChannelBootstrap(mock(Channel.class));
Http2MultiplexHandler handler = new Http2MultiplexHandler(mock(ChannelHandler.class));
EventExecutor executor = mock(EventExecutor.class);
when(executor.inEventLoop()).thenReturn(true);
ChannelHandlerContext ctx = mock(ChannelHandlerContext.class);
when(ctx.executor()).thenReturn(executor);
when(ctx.handler()).thenReturn(handler);
Promise<Http2StreamChannel> promise = new DefaultPromise<Http2StreamChannel>(mock(EventExecutor.class));
bootstrap.open0(ctx, promise);
assertTrue(promise.isDone());
assertInstanceOf(IllegalStateException.class, promise.cause());
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does open0FailsPromiseOnHttp2MultiplexHandlerError() do?
open0FailsPromiseOnHttp2MultiplexHandlerError() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2StreamChannelBootstrapTest.java.
Where is open0FailsPromiseOnHttp2MultiplexHandlerError() defined?
open0FailsPromiseOnHttp2MultiplexHandlerError() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2StreamChannelBootstrapTest.java at line 148.
What does open0FailsPromiseOnHttp2MultiplexHandlerError() call?
open0FailsPromiseOnHttp2MultiplexHandlerError() calls 1 function(s): Http2MultiplexHandler.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free