class io.vertx.core.net.impl.ChannelProvider$1 extends io.netty.channel.ChannelInboundHandlerAdapter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.core.net.impl.ChannelProvider$1
super_class: io.netty.channel.ChannelInboundHandlerAdapter
{
final io.vertx.core.net.impl.ChannelProvider this$0;
descriptor: Lio/vertx/core/net/impl/ChannelProvider;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final io.netty.handler.ssl.SslHandler val$sslHandler;
descriptor: Lio/netty/handler/ssl/SslHandler;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final io.netty.util.concurrent.Promise val$channelHandler;
descriptor: Lio/netty/util/concurrent/Promise;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(io.vertx.core.net.impl.ChannelProvider, io.netty.handler.ssl.SslHandler, io.netty.util.concurrent.Promise);
descriptor: (Lio/vertx/core/net/impl/ChannelProvider;Lio/netty/handler/ssl/SslHandler;Lio/netty/util/concurrent/Promise;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield io.vertx.core.net.impl.ChannelProvider$1.this$0:Lio/vertx/core/net/impl/ChannelProvider;
aload 0
aload 2
putfield io.vertx.core.net.impl.ChannelProvider$1.val$sslHandler:Lio/netty/handler/ssl/SslHandler;
aload 0
aload 3
putfield io.vertx.core.net.impl.ChannelProvider$1.val$channelHandler:Lio/netty/util/concurrent/Promise;
aload 0
invokespecial io.netty.channel.ChannelInboundHandlerAdapter.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/ChannelProvider$1;
MethodParameters:
Name Flags
this$0 final
val$sslHandler final
val$channelHandler final
public void userEventTriggered(io.netty.channel.ChannelHandlerContext, java.lang.Object);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof io.netty.handler.ssl.SslHandshakeCompletionEvent
ifeq 10
1: aload 2
checkcast io.netty.handler.ssl.SslHandshakeCompletionEvent
astore 3
start local 3 2: aload 3
invokevirtual io.netty.handler.ssl.SslHandshakeCompletionEvent.isSuccess:()Z
ifeq 7
3: aload 1
invokeinterface io.netty.channel.ChannelHandlerContext.pipeline:()Lio/netty/channel/ChannelPipeline;
aload 0
invokeinterface io.netty.channel.ChannelPipeline.remove:(Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
4: aload 0
getfield io.vertx.core.net.impl.ChannelProvider$1.this$0:Lio/vertx/core/net/impl/ChannelProvider;
aload 0
getfield io.vertx.core.net.impl.ChannelProvider$1.val$sslHandler:Lio/netty/handler/ssl/SslHandler;
invokevirtual io.netty.handler.ssl.SslHandler.applicationProtocol:()Ljava/lang/String;
putfield io.vertx.core.net.impl.ChannelProvider.applicationProtocol:Ljava/lang/String;
5: aload 0
getfield io.vertx.core.net.impl.ChannelProvider$1.val$channelHandler:Lio/netty/util/concurrent/Promise;
aload 0
getfield io.vertx.core.net.impl.ChannelProvider$1.this$0:Lio/vertx/core/net/impl/ChannelProvider;
getfield io.vertx.core.net.impl.ChannelProvider.channel:Lio/netty/channel/Channel;
invokeinterface io.netty.util.concurrent.Promise.setSuccess:(Ljava/lang/Object;)Lio/netty/util/concurrent/Promise;
pop
6: goto 10
7: StackMap locals: io.netty.handler.ssl.SslHandshakeCompletionEvent
StackMap stack:
new javax.net.ssl.SSLHandshakeException
dup
ldc "Failed to create SSL connection"
invokespecial javax.net.ssl.SSLHandshakeException.<init>:(Ljava/lang/String;)V
astore 4
start local 4 8: aload 4
aload 3
invokevirtual io.netty.handler.ssl.SslHandshakeCompletionEvent.cause:()Ljava/lang/Throwable;
invokevirtual javax.net.ssl.SSLHandshakeException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
9: aload 0
getfield io.vertx.core.net.impl.ChannelProvider$1.val$channelHandler:Lio/netty/util/concurrent/Promise;
aload 4
invokeinterface io.netty.util.concurrent.Promise.setFailure:(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Promise;
pop
end local 4 end local 3 10: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface io.netty.channel.ChannelHandlerContext.fireUserEventTriggered:(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;
pop
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/vertx/core/net/impl/ChannelProvider$1;
0 12 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 12 2 evt Ljava/lang/Object;
2 10 3 completion Lio/netty/handler/ssl/SslHandshakeCompletionEvent;
8 10 4 sslException Ljavax/net/ssl/SSLHandshakeException;
MethodParameters:
Name Flags
ctx
evt
public void exceptionCaught(io.netty.channel.ChannelHandlerContext, java.lang.Throwable);
descriptor: (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/ChannelProvider$1;
0 1 1 ctx Lio/netty/channel/ChannelHandlerContext;
0 1 2 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
ctx
cause
}
SourceFile: "ChannelProvider.java"
EnclosingMethod: io.vertx.core.net.impl.ChannelProvider.initSSL:(Lio/vertx/core/net/SocketAddress;Ljava/lang/String;ZLio/netty/channel/Channel;Lio/netty/util/concurrent/Promise;)V
NestHost: io.vertx.core.net.impl.ChannelProvider
InnerClasses:
io.vertx.core.net.impl.ChannelProvider$1