public final class io.vertx.core.net.impl.ChannelProvider
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.vertx.core.net.impl.ChannelProvider
super_class: java.lang.Object
{
private final io.netty.bootstrap.Bootstrap bootstrap;
descriptor: Lio/netty/bootstrap/Bootstrap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.net.impl.SSLHelper sslHelper;
descriptor: Lio/vertx/core/net/impl/SSLHelper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.impl.ContextInternal context;
descriptor: Lio/vertx/core/impl/ContextInternal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.net.ProxyOptions proxyOptions;
descriptor: Lio/vertx/core/net/ProxyOptions;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String applicationProtocol;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private io.netty.channel.Channel channel;
descriptor: Lio/netty/channel/Channel;
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$io$vertx$core$net$ProxyType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>(io.netty.bootstrap.Bootstrap, io.vertx.core.net.impl.SSLHelper, io.vertx.core.impl.ContextInternal, io.vertx.core.net.ProxyOptions);
descriptor: (Lio/netty/bootstrap/Bootstrap;Lio/vertx/core/net/impl/SSLHelper;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/net/ProxyOptions;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.core.net.impl.ChannelProvider.bootstrap:Lio/netty/bootstrap/Bootstrap;
2: aload 0
aload 3
putfield io.vertx.core.net.impl.ChannelProvider.context:Lio/vertx/core/impl/ContextInternal;
3: aload 0
aload 2
putfield io.vertx.core.net.impl.ChannelProvider.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
4: aload 0
aload 4
putfield io.vertx.core.net.impl.ChannelProvider.proxyOptions:Lio/vertx/core/net/ProxyOptions;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/net/impl/ChannelProvider;
0 6 1 bootstrap Lio/netty/bootstrap/Bootstrap;
0 6 2 sslHelper Lio/vertx/core/net/impl/SSLHelper;
0 6 3 context Lio/vertx/core/impl/ContextInternal;
0 6 4 proxyOptions Lio/vertx/core/net/ProxyOptions;
MethodParameters:
Name Flags
bootstrap
sslHelper
context
proxyOptions
public java.lang.String applicationProtocol();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.ChannelProvider.applicationProtocol:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/ChannelProvider;
public io.netty.channel.Channel channel();
descriptor: ()Lio/netty/channel/Channel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.ChannelProvider.channel:Lio/netty/channel/Channel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/ChannelProvider;
public void connect(io.vertx.core.net.SocketAddress, io.vertx.core.net.SocketAddress, java.lang.String, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.netty.channel.Channel>>);
descriptor: (Lio/vertx/core/net/SocketAddress;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;ZLio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 5
invokedynamic handle(Lio/vertx/core/net/impl/ChannelProvider;Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/net/impl/ChannelProvider.lambda$0(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
astore 6
start local 6 1: aload 0
getfield io.vertx.core.net.impl.ChannelProvider.proxyOptions:Lio/vertx/core/net/ProxyOptions;
ifnull 4
2: aload 0
aload 1
aload 2
aload 3
iload 4
aload 6
invokevirtual io.vertx.core.net.impl.ChannelProvider.handleProxyConnect:(Lio/vertx/core/net/SocketAddress;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;ZLio/vertx/core/Handler;)V
3: goto 5
4: StackMap locals: io.vertx.core.Handler
StackMap stack:
aload 0
aload 1
aload 2
aload 3
iload 4
aload 6
invokevirtual io.vertx.core.net.impl.ChannelProvider.handleConnect:(Lio/vertx/core/net/SocketAddress;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;ZLio/vertx/core/Handler;)V
5: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/net/impl/ChannelProvider;
0 6 1 remoteAddress Lio/vertx/core/net/SocketAddress;
0 6 2 peerAddress Lio/vertx/core/net/SocketAddress;
0 6 3 serverName Ljava/lang/String;
0 6 4 ssl Z
0 6 5 channelHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;>;
1 6 6 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;>;
Signature: (Lio/vertx/core/net/SocketAddress;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;ZLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;>;)V
MethodParameters:
Name Flags
remoteAddress
peerAddress
serverName
ssl
channelHandler
private void initSSL(io.vertx.core.net.SocketAddress, java.lang.String, boolean, io.netty.channel.Channel, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.netty.channel.Channel>>);
descriptor: (Lio/vertx/core/net/SocketAddress;Ljava/lang/String;ZLio/netty/channel/Channel;Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 3
ifeq 6
1: new io.netty.handler.ssl.SslHandler
dup
aload 0
getfield io.vertx.core.net.impl.ChannelProvider.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
aload 0
getfield io.vertx.core.net.impl.ChannelProvider.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.owner:()Lio/vertx/core/impl/VertxInternal;
aload 1
aload 2
invokevirtual io.vertx.core.net.impl.SSLHelper.createEngine:(Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;)Ljavax/net/ssl/SSLEngine;
invokespecial io.netty.handler.ssl.SslHandler.<init>:(Ljavax/net/ssl/SSLEngine;)V
astore 6
start local 6 2: aload 6
aload 0
getfield io.vertx.core.net.impl.ChannelProvider.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
invokevirtual io.vertx.core.net.impl.SSLHelper.getSslHandshakeTimeout:()J
aload 0
getfield io.vertx.core.net.impl.ChannelProvider.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
invokevirtual io.vertx.core.net.impl.SSLHelper.getSslHandshakeTimeoutUnit:()Ljava/util/concurrent/TimeUnit;
invokevirtual io.netty.handler.ssl.SslHandler.setHandshakeTimeout:(JLjava/util/concurrent/TimeUnit;)V
3: aload 4
invokeinterface io.netty.channel.Channel.pipeline:()Lio/netty/channel/ChannelPipeline;
astore 7
start local 7 4: aload 7
ldc "ssl"
aload 6
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
5: aload 7
iconst_1
anewarray io.netty.channel.ChannelHandler
dup
iconst_0
new io.vertx.core.net.impl.ChannelProvider$1
dup
aload 0
aload 6
aload 5
invokespecial io.vertx.core.net.impl.ChannelProvider$1.<init>:(Lio/vertx/core/net/impl/ChannelProvider;Lio/netty/handler/ssl/SslHandler;Lio/vertx/core/Handler;)V
aastore
invokeinterface io.netty.channel.ChannelPipeline.addLast:([Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
end local 7 end local 6 6: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/net/impl/ChannelProvider;
0 7 1 peerAddress Lio/vertx/core/net/SocketAddress;
0 7 2 serverName Ljava/lang/String;
0 7 3 ssl Z
0 7 4 ch Lio/netty/channel/Channel;
0 7 5 channelHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;>;
2 6 6 sslHandler Lio/netty/handler/ssl/SslHandler;
4 6 7 pipeline Lio/netty/channel/ChannelPipeline;
Signature: (Lio/vertx/core/net/SocketAddress;Ljava/lang/String;ZLio/netty/channel/Channel;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;>;)V
MethodParameters:
Name Flags
peerAddress
serverName
ssl
ch
channelHandler
private void handleConnect(io.vertx.core.net.SocketAddress, io.vertx.core.net.SocketAddress, java.lang.String, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.netty.channel.Channel>>);
descriptor: (Lio/vertx/core/net/SocketAddress;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;ZLio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield io.vertx.core.net.impl.ChannelProvider.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.owner:()Lio/vertx/core/impl/VertxInternal;
astore 6
start local 6 1: aload 0
getfield io.vertx.core.net.impl.ChannelProvider.bootstrap:Lio/netty/bootstrap/Bootstrap;
aload 6
invokeinterface io.vertx.core.impl.VertxInternal.nettyAddressResolverGroup:()Lio/netty/resolver/AddressResolverGroup;
invokevirtual io.netty.bootstrap.Bootstrap.resolver:(Lio/netty/resolver/AddressResolverGroup;)Lio/netty/bootstrap/Bootstrap;
pop
2: aload 0
getfield io.vertx.core.net.impl.ChannelProvider.bootstrap:Lio/netty/bootstrap/Bootstrap;
new io.vertx.core.net.impl.ChannelProvider$2
dup
aload 0
aload 2
aload 3
iload 4
aload 5
invokespecial io.vertx.core.net.impl.ChannelProvider$2.<init>:(Lio/vertx/core/net/impl/ChannelProvider;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;ZLio/vertx/core/Handler;)V
invokevirtual io.netty.bootstrap.Bootstrap.handler:(Lio/netty/channel/ChannelHandler;)Lio/netty/bootstrap/AbstractBootstrap;
pop
3: aload 0
getfield io.vertx.core.net.impl.ChannelProvider.bootstrap:Lio/netty/bootstrap/Bootstrap;
aload 6
invokeinterface io.vertx.core.impl.VertxInternal.transport:()Lio/vertx/core/net/impl/transport/Transport;
aload 1
iconst_0
invokevirtual io.vertx.core.net.impl.transport.Transport.convert:(Lio/vertx/core/net/SocketAddress;Z)Ljava/net/SocketAddress;
invokevirtual io.netty.bootstrap.Bootstrap.connect:(Ljava/net/SocketAddress;)Lio/netty/channel/ChannelFuture;
astore 7
start local 7 4: aload 7
aload 0
aload 7
iload 4
aload 5
invokedynamic operationComplete(Lio/vertx/core/net/impl/ChannelProvider;Lio/netty/channel/ChannelFuture;ZLio/vertx/core/Handler;)Lio/netty/util/concurrent/GenericFutureListener;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lio/netty/util/concurrent/Future;)V
io/vertx/core/net/impl/ChannelProvider.lambda$2(Lio/netty/channel/ChannelFuture;ZLio/vertx/core/Handler;Lio/netty/util/concurrent/Future;)V (7)
(Lio/netty/util/concurrent/Future;)V
invokeinterface io.netty.channel.ChannelFuture.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture;
pop
5: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/net/impl/ChannelProvider;
0 6 1 remoteAddress Lio/vertx/core/net/SocketAddress;
0 6 2 peerAddress Lio/vertx/core/net/SocketAddress;
0 6 3 serverName Ljava/lang/String;
0 6 4 ssl Z
0 6 5 channelHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;>;
1 6 6 vertx Lio/vertx/core/impl/VertxInternal;
4 6 7 fut Lio/netty/channel/ChannelFuture;
Signature: (Lio/vertx/core/net/SocketAddress;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;ZLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;>;)V
MethodParameters:
Name Flags
remoteAddress
peerAddress
serverName
ssl
channelHandler
private void connected(io.netty.channel.Channel, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.netty.channel.Channel>>);
descriptor: (Lio/netty/channel/Channel;ZLio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
putfield io.vertx.core.net.impl.ChannelProvider.channel:Lio/netty/channel/Channel;
1: iload 2
ifne 3
2: aload 3
aload 0
getfield io.vertx.core.net.impl.ChannelProvider.channel:Lio/netty/channel/Channel;
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/net/impl/ChannelProvider;
0 4 1 channel Lio/netty/channel/Channel;
0 4 2 ssl Z
0 4 3 channelHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;>;
Signature: (Lio/netty/channel/Channel;ZLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;>;)V
MethodParameters:
Name Flags
channel
ssl
channelHandler
private void handleProxyConnect(io.vertx.core.net.SocketAddress, io.vertx.core.net.SocketAddress, java.lang.String, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.netty.channel.Channel>>);
descriptor: (Lio/vertx/core/net/SocketAddress;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;ZLio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=13, locals=12, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield io.vertx.core.net.impl.ChannelProvider.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.owner:()Lio/vertx/core/impl/VertxInternal;
astore 6
start local 6 1: aload 0
getfield io.vertx.core.net.impl.ChannelProvider.proxyOptions:Lio/vertx/core/net/ProxyOptions;
invokevirtual io.vertx.core.net.ProxyOptions.getHost:()Ljava/lang/String;
astore 7
start local 7 2: aload 0
getfield io.vertx.core.net.impl.ChannelProvider.proxyOptions:Lio/vertx/core/net/ProxyOptions;
invokevirtual io.vertx.core.net.ProxyOptions.getPort:()I
istore 8
start local 8 3: aload 0
getfield io.vertx.core.net.impl.ChannelProvider.proxyOptions:Lio/vertx/core/net/ProxyOptions;
invokevirtual io.vertx.core.net.ProxyOptions.getUsername:()Ljava/lang/String;
astore 9
start local 9 4: aload 0
getfield io.vertx.core.net.impl.ChannelProvider.proxyOptions:Lio/vertx/core/net/ProxyOptions;
invokevirtual io.vertx.core.net.ProxyOptions.getPassword:()Ljava/lang/String;
astore 10
start local 10 5: aload 0
getfield io.vertx.core.net.impl.ChannelProvider.proxyOptions:Lio/vertx/core/net/ProxyOptions;
invokevirtual io.vertx.core.net.ProxyOptions.getType:()Lio/vertx/core/net/ProxyType;
astore 11
start local 11 6: aload 6
aload 7
aload 0
iload 8
aload 11
aload 9
aload 10
aload 6
aload 1
aload 2
aload 3
iload 4
aload 5
invokedynamic handle(Lio/vertx/core/net/impl/ChannelProvider;ILio/vertx/core/net/ProxyType;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/net/SocketAddress;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;ZLio/vertx/core/Handler;)Lio/vertx/core/Handler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
io/vertx/core/net/impl/ChannelProvider.lambda$3(ILio/vertx/core/net/ProxyType;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/net/SocketAddress;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;ZLio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.impl.VertxInternal.resolveAddress:(Ljava/lang/String;Lio/vertx/core/Handler;)V
7: return
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/core/net/impl/ChannelProvider;
0 8 1 remoteAddress Lio/vertx/core/net/SocketAddress;
0 8 2 peerAddress Lio/vertx/core/net/SocketAddress;
0 8 3 serverName Ljava/lang/String;
0 8 4 ssl Z
0 8 5 channelHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;>;
1 8 6 vertx Lio/vertx/core/impl/VertxInternal;
2 8 7 proxyHost Ljava/lang/String;
3 8 8 proxyPort I
4 8 9 proxyUsername Ljava/lang/String;
5 8 10 proxyPassword Ljava/lang/String;
6 8 11 proxyType Lio/vertx/core/net/ProxyType;
Signature: (Lio/vertx/core/net/SocketAddress;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;ZLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;>;)V
MethodParameters:
Name Flags
remoteAddress
peerAddress
serverName
ssl
channelHandler
static int[] $SWITCH_TABLE$io$vertx$core$net$ProxyType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic io.vertx.core.net.impl.ChannelProvider.$SWITCH_TABLE$io$vertx$core$net$ProxyType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic io.vertx.core.net.ProxyType.values:()[Lio/vertx/core/net/ProxyType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic io.vertx.core.net.ProxyType.HTTP:Lio/vertx/core/net/ProxyType;
invokevirtual io.vertx.core.net.ProxyType.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic io.vertx.core.net.ProxyType.SOCKS4:Lio/vertx/core/net/ProxyType;
invokevirtual io.vertx.core.net.ProxyType.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic io.vertx.core.net.ProxyType.SOCKS5:Lio/vertx/core/net/ProxyType;
invokevirtual io.vertx.core.net.ProxyType.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic io.vertx.core.net.impl.ChannelProvider.$SWITCH_TABLE$io$vertx$core$net$ProxyType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
private void lambda$0(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: invokestatic io.vertx.core.Context.isOnEventLoopThread:()Z
ifeq 3
1: aload 1
aload 2
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.net.impl.ChannelProvider.context:Lio/vertx/core/impl/ContextInternal;
invokeinterface io.vertx.core.impl.ContextInternal.nettyEventLoop:()Lio/netty/channel/EventLoop;
aload 1
aload 2
invokedynamic run(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
io/vertx/core/net/impl/ChannelProvider.lambda$1(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (6)
()V
invokeinterface io.netty.channel.EventLoop.execute:(Ljava/lang/Runnable;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/net/impl/ChannelProvider;
0 5 2 res Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;
private void lambda$2(io.netty.channel.ChannelFuture, boolean, io.vertx.core.Handler, io.netty.util.concurrent.Future);
descriptor: (Lio/netty/channel/ChannelFuture;ZLio/vertx/core/Handler;Lio/netty/util/concurrent/Future;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 4 0: aload 4
invokeinterface io.netty.util.concurrent.Future.isSuccess:()Z
ifeq 3
1: aload 0
aload 1
invokeinterface io.netty.channel.ChannelFuture.channel:()Lio/netty/channel/Channel;
iload 2
aload 3
invokevirtual io.vertx.core.net.impl.ChannelProvider.connected:(Lio/netty/channel/Channel;ZLio/vertx/core/Handler;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 3
aload 4
invokeinterface io.netty.util.concurrent.Future.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 4 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/net/impl/ChannelProvider;
0 5 4 res Lio/netty/util/concurrent/Future<-Ljava/lang/Void;>;
Exceptions:
throws java.lang.Exception
private void lambda$3(int, io.vertx.core.net.ProxyType, java.lang.String, java.lang.String, io.vertx.core.impl.VertxInternal, io.vertx.core.net.SocketAddress, io.vertx.core.net.SocketAddress, java.lang.String, boolean, io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (ILio/vertx/core/net/ProxyType;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/impl/VertxInternal;Lio/vertx/core/net/SocketAddress;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;ZLio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=9, locals=17, args_size=12
start local 0 start local 11 0: aload 11
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 23
1: aload 11
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast java.net.InetAddress
astore 12
start local 12 2: new java.net.InetSocketAddress
dup
aload 12
iload 1
invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
astore 13
start local 13 3: invokestatic io.vertx.core.net.impl.ChannelProvider.$SWITCH_TABLE$io$vertx$core$net$ProxyType:()[I
aload 2
invokevirtual io.vertx.core.net.ProxyType.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 4
2: 14
3: 9
default: 4
}
4: StackMap locals: java.net.InetAddress java.net.InetSocketAddress
StackMap stack:
aload 3
ifnull 6
aload 4
ifnull 6
5: new io.netty.handler.proxy.HttpProxyHandler
dup
aload 13
aload 3
aload 4
invokespecial io.netty.handler.proxy.HttpProxyHandler.<init>:(Ljava/net/SocketAddress;Ljava/lang/String;Ljava/lang/String;)V
goto 7
StackMap locals:
StackMap stack:
6: new io.netty.handler.proxy.HttpProxyHandler
dup
aload 13
invokespecial io.netty.handler.proxy.HttpProxyHandler.<init>:(Ljava/net/SocketAddress;)V
7: StackMap locals:
StackMap stack: io.netty.handler.proxy.HttpProxyHandler
astore 14
start local 14 8: goto 17
end local 14 9: StackMap locals:
StackMap stack:
aload 3
ifnull 11
aload 4
ifnull 11
10: new io.netty.handler.proxy.Socks5ProxyHandler
dup
aload 13
aload 3
aload 4
invokespecial io.netty.handler.proxy.Socks5ProxyHandler.<init>:(Ljava/net/SocketAddress;Ljava/lang/String;Ljava/lang/String;)V
goto 12
StackMap locals:
StackMap stack:
11: new io.netty.handler.proxy.Socks5ProxyHandler
dup
aload 13
invokespecial io.netty.handler.proxy.Socks5ProxyHandler.<init>:(Ljava/net/SocketAddress;)V
12: StackMap locals:
StackMap stack: io.netty.handler.proxy.Socks5ProxyHandler
astore 14
start local 14 13: goto 17
end local 14 14: StackMap locals:
StackMap stack:
aload 3
ifnull 15
new io.netty.handler.proxy.Socks4ProxyHandler
dup
aload 13
aload 3
invokespecial io.netty.handler.proxy.Socks4ProxyHandler.<init>:(Ljava/net/SocketAddress;Ljava/lang/String;)V
goto 16
15: StackMap locals:
StackMap stack:
new io.netty.handler.proxy.Socks4ProxyHandler
dup
aload 13
invokespecial io.netty.handler.proxy.Socks4ProxyHandler.<init>:(Ljava/net/SocketAddress;)V
16: StackMap locals:
StackMap stack: io.netty.handler.proxy.Socks4ProxyHandler
astore 14
start local 14 17: StackMap locals: io.netty.handler.proxy.ProxyHandler
StackMap stack:
aload 0
getfield io.vertx.core.net.impl.ChannelProvider.bootstrap:Lio/netty/bootstrap/Bootstrap;
getstatic io.netty.resolver.NoopAddressResolverGroup.INSTANCE:Lio/netty/resolver/NoopAddressResolverGroup;
invokevirtual io.netty.bootstrap.Bootstrap.resolver:(Lio/netty/resolver/AddressResolverGroup;)Lio/netty/bootstrap/Bootstrap;
pop
18: aload 5
invokeinterface io.vertx.core.impl.VertxInternal.transport:()Lio/vertx/core/net/impl/transport/Transport;
aload 6
iconst_0
invokevirtual io.vertx.core.net.impl.transport.Transport.convert:(Lio/vertx/core/net/SocketAddress;Z)Ljava/net/SocketAddress;
astore 15
start local 15 19: aload 0
getfield io.vertx.core.net.impl.ChannelProvider.bootstrap:Lio/netty/bootstrap/Bootstrap;
new io.vertx.core.net.impl.ChannelProvider$3
dup
aload 0
aload 14
aload 7
aload 8
iload 9
aload 10
invokespecial io.vertx.core.net.impl.ChannelProvider$3.<init>:(Lio/vertx/core/net/impl/ChannelProvider;Lio/netty/handler/proxy/ProxyHandler;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;ZLio/vertx/core/Handler;)V
invokevirtual io.netty.bootstrap.Bootstrap.handler:(Lio/netty/channel/ChannelHandler;)Lio/netty/bootstrap/AbstractBootstrap;
pop
20: aload 0
getfield io.vertx.core.net.impl.ChannelProvider.bootstrap:Lio/netty/bootstrap/Bootstrap;
aload 15
invokevirtual io.netty.bootstrap.Bootstrap.connect:(Ljava/net/SocketAddress;)Lio/netty/channel/ChannelFuture;
astore 16
start local 16 21: aload 16
aload 10
invokedynamic operationComplete(Lio/vertx/core/Handler;)Lio/netty/util/concurrent/GenericFutureListener;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lio/netty/util/concurrent/Future;)V
io/vertx/core/net/impl/ChannelProvider.lambda$4(Lio/vertx/core/Handler;Lio/netty/util/concurrent/Future;)V (6)
(Lio/netty/util/concurrent/Future;)V
invokeinterface io.netty.channel.ChannelFuture.addListener:(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture;
pop
end local 16 end local 15 end local 14 end local 13 end local 12 22: goto 24
23: StackMap locals:
StackMap stack:
aload 10
aload 11
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
24: StackMap locals:
StackMap stack:
return
end local 11 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lio/vertx/core/net/impl/ChannelProvider;
0 25 11 dnsRes Lio/vertx/core/AsyncResult<Ljava/net/InetAddress;>;
2 22 12 address Ljava/net/InetAddress;
3 22 13 proxyAddr Ljava/net/InetSocketAddress;
8 9 14 proxy Lio/netty/handler/proxy/ProxyHandler;
13 14 14 proxy Lio/netty/handler/proxy/ProxyHandler;
17 22 14 proxy Lio/netty/handler/proxy/ProxyHandler;
19 22 15 targetAddress Ljava/net/SocketAddress;
21 22 16 future Lio/netty/channel/ChannelFuture;
private static void lambda$1(io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
return
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$4(io.vertx.core.Handler, io.netty.util.concurrent.Future);
descriptor: (Lio/vertx/core/Handler;Lio/netty/util/concurrent/Future;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
invokeinterface io.netty.util.concurrent.Future.isSuccess:()Z
ifne 2
1: aload 0
aload 1
invokeinterface io.netty.util.concurrent.Future.cause:()Ljava/lang/Throwable;
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 res Lio/netty/util/concurrent/Future<-Ljava/lang/Void;>;
Exceptions:
throws java.lang.Exception
}
SourceFile: "ChannelProvider.java"
NestMembers:
io.vertx.core.net.impl.ChannelProvider$1 io.vertx.core.net.impl.ChannelProvider$2 io.vertx.core.net.impl.ChannelProvider$3 io.vertx.core.net.impl.ChannelProvider$3$1 io.vertx.core.net.impl.ChannelProvider$4 io.vertx.core.net.impl.ChannelProvider$4$1
InnerClasses:
io.vertx.core.net.impl.ChannelProvider$1
io.vertx.core.net.impl.ChannelProvider$2
io.vertx.core.net.impl.ChannelProvider$3
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles