class io.vertx.core.http.impl.HttpChannelConnector implements io.vertx.core.http.impl.pool.ConnectionProvider<io.vertx.core.http.impl.HttpClientConnection>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.core.http.impl.HttpChannelConnector
super_class: java.lang.Object
{
private final io.vertx.core.http.impl.HttpClientImpl client;
descriptor: Lio/vertx/core/http/impl/HttpClientImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.http.HttpClientOptions options;
descriptor: Lio/vertx/core/http/HttpClientOptions;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.spi.metrics.HttpClientMetrics metrics;
descriptor: Lio/vertx/core/spi/metrics/HttpClientMetrics;
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.http.HttpVersion version;
descriptor: Lio/vertx/core/http/HttpVersion;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long weight;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long http1Weight;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long http2Weight;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long http1MaxConcurrency;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean ssl;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.net.SocketAddress peerAddress;
descriptor: Lio/vertx/core/net/SocketAddress;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.net.SocketAddress server;
descriptor: Lio/vertx/core/net/SocketAddress;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object endpointMetric;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(io.vertx.core.http.impl.HttpClientImpl, java.lang.Object, io.vertx.core.http.HttpVersion, boolean, io.vertx.core.net.SocketAddress, io.vertx.core.net.SocketAddress);
descriptor: (Lio/vertx/core/http/impl/HttpClientImpl;Ljava/lang/Object;Lio/vertx/core/http/HttpVersion;ZLio/vertx/core/net/SocketAddress;Lio/vertx/core/net/SocketAddress;)V
flags: (0x0000)
Code:
stack=3, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.core.http.impl.HttpChannelConnector.client:Lio/vertx/core/http/impl/HttpClientImpl;
2: aload 0
aload 2
putfield io.vertx.core.http.impl.HttpChannelConnector.endpointMetric:Ljava/lang/Object;
3: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.HttpClientImpl.getOptions:()Lio/vertx/core/http/HttpClientOptions;
putfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
4: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.HttpClientImpl.metrics:()Lio/vertx/core/spi/metrics/HttpClientMetrics;
putfield io.vertx.core.http.impl.HttpChannelConnector.metrics:Lio/vertx/core/spi/metrics/HttpClientMetrics;
5: aload 0
aload 1
invokevirtual io.vertx.core.http.impl.HttpClientImpl.getSslHelper:()Lio/vertx/core/net/impl/SSLHelper;
putfield io.vertx.core.http.impl.HttpChannelConnector.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
6: aload 0
aload 3
putfield io.vertx.core.http.impl.HttpChannelConnector.version:Lio/vertx/core/http/HttpVersion;
7: aload 0
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.getHttp2MaxPoolSize:()I
i2l
putfield io.vertx.core.http.impl.HttpChannelConnector.http1Weight:J
8: aload 0
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.getMaxPoolSize:()I
i2l
putfield io.vertx.core.http.impl.HttpChannelConnector.http2Weight:J
9: aload 0
aload 3
getstatic io.vertx.core.http.HttpVersion.HTTP_2:Lio/vertx/core/http/HttpVersion;
if_acmpne 10
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.http2Weight:J
goto 11
StackMap locals: io.vertx.core.http.impl.HttpChannelConnector io.vertx.core.http.impl.HttpClientImpl java.lang.Object io.vertx.core.http.HttpVersion int io.vertx.core.net.SocketAddress io.vertx.core.net.SocketAddress
StackMap stack: io.vertx.core.http.impl.HttpChannelConnector
10: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.http1Weight:J
StackMap locals: io.vertx.core.http.impl.HttpChannelConnector io.vertx.core.http.impl.HttpClientImpl java.lang.Object io.vertx.core.http.HttpVersion int io.vertx.core.net.SocketAddress io.vertx.core.net.SocketAddress
StackMap stack: io.vertx.core.http.impl.HttpChannelConnector long
11: putfield io.vertx.core.http.impl.HttpChannelConnector.weight:J
12: aload 0
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.isPipelining:()Z
ifeq 13
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.getPipeliningLimit:()I
goto 14
StackMap locals:
StackMap stack: io.vertx.core.http.impl.HttpChannelConnector
13: iconst_1
StackMap locals: io.vertx.core.http.impl.HttpChannelConnector io.vertx.core.http.impl.HttpClientImpl java.lang.Object io.vertx.core.http.HttpVersion int io.vertx.core.net.SocketAddress io.vertx.core.net.SocketAddress
StackMap stack: io.vertx.core.http.impl.HttpChannelConnector int
14: i2l
putfield io.vertx.core.http.impl.HttpChannelConnector.http1MaxConcurrency:J
15: aload 0
iload 4
putfield io.vertx.core.http.impl.HttpChannelConnector.ssl:Z
16: aload 0
aload 5
putfield io.vertx.core.http.impl.HttpChannelConnector.peerAddress:Lio/vertx/core/net/SocketAddress;
17: aload 0
aload 6
putfield io.vertx.core.http.impl.HttpChannelConnector.server:Lio/vertx/core/net/SocketAddress;
18: 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 19 0 this Lio/vertx/core/http/impl/HttpChannelConnector;
0 19 1 client Lio/vertx/core/http/impl/HttpClientImpl;
0 19 2 endpointMetric Ljava/lang/Object;
0 19 3 version Lio/vertx/core/http/HttpVersion;
0 19 4 ssl Z
0 19 5 peerAddress Lio/vertx/core/net/SocketAddress;
0 19 6 server Lio/vertx/core/net/SocketAddress;
MethodParameters:
Name Flags
client
endpointMetric
version
ssl
peerAddress
server
public long weight();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.weight:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/http/impl/HttpChannelConnector;
public void close(io.vertx.core.http.impl.HttpClientConnection);
descriptor: (Lio/vertx/core/http/impl/HttpClientConnection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface io.vertx.core.http.impl.HttpClientConnection.close:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/HttpChannelConnector;
0 2 1 conn Lio/vertx/core/http/impl/HttpClientConnection;
MethodParameters:
Name Flags
conn
public void connect(io.vertx.core.http.impl.pool.ConnectionListener<io.vertx.core.http.impl.HttpClientConnection>, io.vertx.core.impl.ContextInternal, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.http.impl.pool.ConnectResult<io.vertx.core.http.impl.HttpClientConnection>>>);
descriptor: (Lio/vertx/core/http/impl/pool/ConnectionListener;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
astore 4
start local 4 1: aload 4
invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
aload 3
invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
pop
2: aload 0
aload 1
aload 2
aload 4
invokevirtual io.vertx.core.http.impl.HttpChannelConnector.doConnect:(Lio/vertx/core/http/impl/pool/ConnectionListener;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Promise;)V
3: goto 6
StackMap locals: io.vertx.core.http.impl.HttpChannelConnector io.vertx.core.http.impl.pool.ConnectionListener io.vertx.core.impl.ContextInternal io.vertx.core.Handler io.vertx.core.Promise
StackMap stack: java.lang.Exception
4: astore 5
start local 5 5: aload 4
aload 5
invokeinterface io.vertx.core.Promise.tryFail:(Ljava/lang/Throwable;)Z
pop
end local 5 6: StackMap locals:
StackMap stack:
return
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/http/impl/HttpChannelConnector;
0 7 1 listener Lio/vertx/core/http/impl/pool/ConnectionListener<Lio/vertx/core/http/impl/HttpClientConnection;>;
0 7 2 context Lio/vertx/core/impl/ContextInternal;
0 7 3 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/http/impl/pool/ConnectResult<Lio/vertx/core/http/impl/HttpClientConnection;>;>;>;
1 7 4 promise Lio/vertx/core/Promise<Lio/vertx/core/http/impl/pool/ConnectResult<Lio/vertx/core/http/impl/HttpClientConnection;>;>;
5 6 5 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
Signature: (Lio/vertx/core/http/impl/pool/ConnectionListener<Lio/vertx/core/http/impl/HttpClientConnection;>;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/core/http/impl/pool/ConnectResult<Lio/vertx/core/http/impl/HttpClientConnection;>;>;>;)V
MethodParameters:
Name Flags
listener
context
handler
private void doConnect(io.vertx.core.http.impl.pool.ConnectionListener<io.vertx.core.http.impl.HttpClientConnection>, io.vertx.core.impl.ContextInternal, io.vertx.core.Promise<io.vertx.core.http.impl.pool.ConnectResult<io.vertx.core.http.impl.HttpClientConnection>>);
descriptor: (Lio/vertx/core/http/impl/pool/ConnectionListener;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Promise;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.server:Lio/vertx/core/net/SocketAddress;
invokeinterface io.vertx.core.net.SocketAddress.path:()Ljava/lang/String;
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 4
start local 4 3: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.isUseAlpn:()Z
istore 5
start local 5 4: new io.netty.bootstrap.Bootstrap
dup
invokespecial io.netty.bootstrap.Bootstrap.<init>:()V
astore 6
start local 6 5: aload 6
aload 2
invokeinterface io.vertx.core.impl.ContextInternal.nettyEventLoop:()Lio/netty/channel/EventLoop;
invokevirtual io.netty.bootstrap.Bootstrap.group:(Lio/netty/channel/EventLoopGroup;)Lio/netty/bootstrap/AbstractBootstrap;
pop
6: aload 6
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.client:Lio/vertx/core/http/impl/HttpClientImpl;
invokevirtual io.vertx.core.http.impl.HttpClientImpl.getVertx:()Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.transport:()Lio/vertx/core/net/impl/transport/Transport;
iload 4
invokevirtual io.vertx.core.net.impl.transport.Transport.channelFactory:(Z)Lio/netty/channel/ChannelFactory;
invokevirtual io.netty.bootstrap.Bootstrap.channelFactory:(Lio/netty/channel/ChannelFactory;)Lio/netty/bootstrap/AbstractBootstrap;
pop
7: aload 0
iload 4
aload 6
invokevirtual io.vertx.core.http.impl.HttpChannelConnector.applyConnectionOptions:(ZLio/netty/bootstrap/Bootstrap;)V
8: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.getProxyOptions:()Lio/vertx/core/net/ProxyOptions;
astore 7
start local 7 9: aload 7
ifnull 11
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.ssl:Z
ifne 11
aload 7
invokevirtual io.vertx.core.net.ProxyOptions.getType:()Lio/vertx/core/net/ProxyType;
getstatic io.vertx.core.net.ProxyType.HTTP:Lio/vertx/core/net/ProxyType;
if_acmpne 11
10: aconst_null
astore 7
11: StackMap locals: io.vertx.core.http.impl.HttpChannelConnector io.vertx.core.http.impl.pool.ConnectionListener io.vertx.core.impl.ContextInternal io.vertx.core.Promise int int io.netty.bootstrap.Bootstrap io.vertx.core.net.ProxyOptions
StackMap stack:
new io.vertx.core.net.impl.ChannelProvider
dup
aload 6
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.sslHelper:Lio/vertx/core/net/impl/SSLHelper;
aload 2
aload 7
invokespecial io.vertx.core.net.impl.ChannelProvider.<init>:(Lio/netty/bootstrap/Bootstrap;Lio/vertx/core/net/impl/SSLHelper;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/net/ProxyOptions;)V
astore 8
start local 8 12: aload 0
aload 8
iload 5
aload 1
aload 2
aload 3
invokedynamic handle(Lio/vertx/core/http/impl/HttpChannelConnector;Lio/vertx/core/net/impl/ChannelProvider;ZLio/vertx/core/http/impl/pool/ConnectionListener;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Promise;)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/http/impl/HttpChannelConnector.lambda$0(Lio/vertx/core/net/impl/ChannelProvider;ZLio/vertx/core/http/impl/pool/ConnectionListener;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
astore 9
start local 9 13: aload 8
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.server:Lio/vertx/core/net/SocketAddress;
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.peerAddress:Lio/vertx/core/net/SocketAddress;
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.isForceSni:()Z
ifeq 14
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.peerAddress:Lio/vertx/core/net/SocketAddress;
invokeinterface io.vertx.core.net.SocketAddress.host:()Ljava/lang/String;
goto 15
StackMap locals: io.vertx.core.http.impl.HttpChannelConnector io.vertx.core.http.impl.pool.ConnectionListener io.vertx.core.impl.ContextInternal io.vertx.core.Promise int int io.netty.bootstrap.Bootstrap io.vertx.core.net.ProxyOptions io.vertx.core.net.impl.ChannelProvider io.vertx.core.Handler
StackMap stack: io.vertx.core.net.impl.ChannelProvider io.vertx.core.net.SocketAddress io.vertx.core.net.SocketAddress
14: aconst_null
StackMap locals: io.vertx.core.http.impl.HttpChannelConnector io.vertx.core.http.impl.pool.ConnectionListener io.vertx.core.impl.ContextInternal io.vertx.core.Promise int int io.netty.bootstrap.Bootstrap io.vertx.core.net.ProxyOptions io.vertx.core.net.impl.ChannelProvider io.vertx.core.Handler
StackMap stack: io.vertx.core.net.impl.ChannelProvider io.vertx.core.net.SocketAddress io.vertx.core.net.SocketAddress java.lang.String
15: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.ssl:Z
aload 9
invokevirtual io.vertx.core.net.impl.ChannelProvider.connect:(Lio/vertx/core/net/SocketAddress;Lio/vertx/core/net/SocketAddress;Ljava/lang/String;ZLio/vertx/core/Handler;)V
16: return
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 17 0 this Lio/vertx/core/http/impl/HttpChannelConnector;
0 17 1 listener Lio/vertx/core/http/impl/pool/ConnectionListener<Lio/vertx/core/http/impl/HttpClientConnection;>;
0 17 2 context Lio/vertx/core/impl/ContextInternal;
0 17 3 future Lio/vertx/core/Promise<Lio/vertx/core/http/impl/pool/ConnectResult<Lio/vertx/core/http/impl/HttpClientConnection;>;>;
3 17 4 domainSocket Z
4 17 5 useAlpn Z
5 17 6 bootstrap Lio/netty/bootstrap/Bootstrap;
9 17 7 options Lio/vertx/core/net/ProxyOptions;
12 17 8 channelProvider Lio/vertx/core/net/impl/ChannelProvider;
13 17 9 channelHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;>;
Signature: (Lio/vertx/core/http/impl/pool/ConnectionListener<Lio/vertx/core/http/impl/HttpClientConnection;>;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Promise<Lio/vertx/core/http/impl/pool/ConnectResult<Lio/vertx/core/http/impl/HttpClientConnection;>;>;)V
MethodParameters:
Name Flags
listener
context
future
private void applyConnectionOptions(boolean, io.netty.bootstrap.Bootstrap);
descriptor: (ZLio/netty/bootstrap/Bootstrap;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.client:Lio/vertx/core/http/impl/HttpClientImpl;
invokevirtual io.vertx.core.http.impl.HttpClientImpl.getVertx:()Lio/vertx/core/impl/VertxInternal;
invokeinterface io.vertx.core.impl.VertxInternal.transport:()Lio/vertx/core/net/impl/transport/Transport;
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
iload 1
aload 2
invokevirtual io.vertx.core.net.impl.transport.Transport.configure:(Lio/vertx/core/net/ClientOptionsBase;ZLio/netty/bootstrap/Bootstrap;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/HttpChannelConnector;
0 2 1 domainSocket Z
0 2 2 bootstrap Lio/netty/bootstrap/Bootstrap;
MethodParameters:
Name Flags
domainSocket
bootstrap
private void applyHttp2ConnectionOptions(io.netty.channel.ChannelPipeline);
descriptor: (Lio/netty/channel/ChannelPipeline;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.getIdleTimeout:()I
ifle 2
1: aload 1
ldc "idle"
new io.netty.handler.timeout.IdleStateHandler
dup
lconst_0
lconst_0
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.getIdleTimeout:()I
i2l
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.getIdleTimeoutUnit:()Ljava/util/concurrent/TimeUnit;
invokespecial io.netty.handler.timeout.IdleStateHandler.<init>:(JJJLjava/util/concurrent/TimeUnit;)V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/http/impl/HttpChannelConnector;
0 3 1 pipeline Lio/netty/channel/ChannelPipeline;
MethodParameters:
Name Flags
pipeline
private void applyHttp1xConnectionOptions(io.netty.channel.ChannelPipeline);
descriptor: (Lio/netty/channel/ChannelPipeline;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.getIdleTimeout:()I
ifle 2
1: aload 1
ldc "idle"
new io.netty.handler.timeout.IdleStateHandler
dup
lconst_0
lconst_0
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.getIdleTimeout:()I
i2l
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.getIdleTimeoutUnit:()Ljava/util/concurrent/TimeUnit;
invokespecial io.netty.handler.timeout.IdleStateHandler.<init>:(JJJLjava/util/concurrent/TimeUnit;)V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.getLogActivity:()Z
ifeq 4
3: aload 1
ldc "logging"
new io.netty.handler.logging.LoggingHandler
dup
invokespecial io.netty.handler.logging.LoggingHandler.<init>:()V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
4: StackMap locals:
StackMap stack:
aload 1
ldc "codec"
new io.netty.handler.codec.http.HttpClientCodec
dup
5: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.getMaxInitialLineLength:()I
6: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.getMaxHeaderSize:()I
7: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.getMaxChunkSize:()I
8: iconst_0
9: iconst_0
10: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.getDecoderInitialBufferSize:()I
invokespecial io.netty.handler.codec.http.HttpClientCodec.<init>:(IIIZZI)V
11: invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
12: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.isTryUseCompression:()Z
ifeq 14
13: aload 1
ldc "inflater"
new io.netty.handler.codec.http.HttpContentDecompressor
dup
iconst_0
invokespecial io.netty.handler.codec.http.HttpContentDecompressor.<init>:(Z)V
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/vertx/core/http/impl/HttpChannelConnector;
0 15 1 pipeline Lio/netty/channel/ChannelPipeline;
MethodParameters:
Name Flags
pipeline
private void http1xConnected(io.vertx.core.http.impl.pool.ConnectionListener<io.vertx.core.http.impl.HttpClientConnection>, io.vertx.core.http.HttpVersion, io.vertx.core.net.SocketAddress, boolean, io.vertx.core.impl.ContextInternal, io.netty.channel.Channel, long, io.vertx.core.Promise<io.vertx.core.http.impl.pool.ConnectResult<io.vertx.core.http.impl.HttpClientConnection>>);
descriptor: (Lio/vertx/core/http/impl/pool/ConnectionListener;Lio/vertx/core/http/HttpVersion;Lio/vertx/core/net/SocketAddress;ZLio/vertx/core/impl/ContextInternal;Lio/netty/channel/Channel;JLio/vertx/core/Promise;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=12, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 9 0: aload 2
getstatic io.vertx.core.http.HttpVersion.HTTP_2:Lio/vertx/core/http/HttpVersion;
if_acmpne 1
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.isHttp2ClearTextUpgrade:()Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 10
start local 10 3: aload 5
aload 0
aload 1
iload 10
aload 2
iload 4
aload 3
aload 5
invokedynamic apply(Lio/vertx/core/http/impl/HttpChannelConnector;Lio/vertx/core/http/impl/pool/ConnectionListener;ZLio/vertx/core/http/HttpVersion;ZLio/vertx/core/net/SocketAddress;Lio/vertx/core/impl/ContextInternal;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
io/vertx/core/http/impl/HttpChannelConnector.lambda$1(Lio/vertx/core/http/impl/pool/ConnectionListener;ZLio/vertx/core/http/HttpVersion;ZLio/vertx/core/net/SocketAddress;Lio/vertx/core/impl/ContextInternal;Lio/netty/channel/ChannelHandlerContext;)Lio/vertx/core/http/impl/Http1xClientConnection; (7)
(Lio/netty/channel/ChannelHandlerContext;)Lio/vertx/core/http/impl/Http1xClientConnection;
invokestatic io.vertx.core.net.impl.VertxHandler.create:(Lio/vertx/core/impl/ContextInternal;Ljava/util/function/Function;)Lio/vertx/core/net/impl/VertxHandler;
astore 11
start local 11 4: aload 11
aload 0
iload 10
aload 9
invokedynamic handle(Lio/vertx/core/http/impl/HttpChannelConnector;ZLio/vertx/core/Promise;)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/http/impl/HttpChannelConnector.lambda$3(ZLio/vertx/core/Promise;Lio/vertx/core/http/impl/Http1xClientConnection;)V (7)
(Lio/vertx/core/http/impl/Http1xClientConnection;)V
invokevirtual io.vertx.core.net.impl.VertxHandler.addHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/net/impl/VertxHandler;
pop
5: aload 11
aload 1
invokedynamic handle(Lio/vertx/core/http/impl/pool/ConnectionListener;)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/http/impl/HttpChannelConnector.lambda$4(Lio/vertx/core/http/impl/pool/ConnectionListener;Lio/vertx/core/http/impl/Http1xClientConnection;)V (6)
(Lio/vertx/core/http/impl/Http1xClientConnection;)V
invokevirtual io.vertx.core.net.impl.VertxHandler.removeHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/net/impl/VertxHandler;
pop
6: aload 6
invokeinterface io.netty.channel.Channel.pipeline:()Lio/netty/channel/ChannelPipeline;
ldc "handler"
aload 11
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
7: return
end local 11 end local 10 end local 9 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/http/impl/HttpChannelConnector;
0 8 1 listener Lio/vertx/core/http/impl/pool/ConnectionListener<Lio/vertx/core/http/impl/HttpClientConnection;>;
0 8 2 version Lio/vertx/core/http/HttpVersion;
0 8 3 server Lio/vertx/core/net/SocketAddress;
0 8 4 ssl Z
0 8 5 context Lio/vertx/core/impl/ContextInternal;
0 8 6 ch Lio/netty/channel/Channel;
0 8 7 weight J
0 8 9 future Lio/vertx/core/Promise<Lio/vertx/core/http/impl/pool/ConnectResult<Lio/vertx/core/http/impl/HttpClientConnection;>;>;
3 8 10 upgrade Z
4 8 11 clientHandler Lio/vertx/core/net/impl/VertxHandler<Lio/vertx/core/http/impl/Http1xClientConnection;>;
Signature: (Lio/vertx/core/http/impl/pool/ConnectionListener<Lio/vertx/core/http/impl/HttpClientConnection;>;Lio/vertx/core/http/HttpVersion;Lio/vertx/core/net/SocketAddress;ZLio/vertx/core/impl/ContextInternal;Lio/netty/channel/Channel;JLio/vertx/core/Promise<Lio/vertx/core/http/impl/pool/ConnectResult<Lio/vertx/core/http/impl/HttpClientConnection;>;>;)V
MethodParameters:
Name Flags
listener
version
server
ssl
context
ch
weight
future
private void http2Connected(io.vertx.core.http.impl.pool.ConnectionListener<io.vertx.core.http.impl.HttpClientConnection>, io.vertx.core.impl.ContextInternal, io.netty.channel.Channel, io.vertx.core.Promise<io.vertx.core.http.impl.pool.ConnectResult<io.vertx.core.http.impl.HttpClientConnection>>);
descriptor: (Lio/vertx/core/http/impl/pool/ConnectionListener;Lio/vertx/core/impl/ContextInternal;Lio/netty/channel/Channel;Lio/vertx/core/Promise;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.client:Lio/vertx/core/http/impl/HttpClientImpl;
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.endpointMetric:Ljava/lang/Object;
aload 1
aload 2
aconst_null
aload 0
aload 4
invokedynamic accept(Lio/vertx/core/http/impl/HttpChannelConnector;Lio/vertx/core/Promise;)Ljava/util/function/BiConsumer;
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;Ljava/lang/Object;)V
io/vertx/core/http/impl/HttpChannelConnector.lambda$5(Lio/vertx/core/Promise;Lio/vertx/core/http/impl/Http2ClientConnection;Ljava/lang/Long;)V (7)
(Lio/vertx/core/http/impl/Http2ClientConnection;Ljava/lang/Long;)V
invokestatic io.vertx.core.http.impl.Http2ClientConnection.createHttp2ConnectionHandler:(Lio/vertx/core/http/impl/HttpClientImpl;Ljava/lang/Object;Lio/vertx/core/http/impl/pool/ConnectionListener;Lio/vertx/core/impl/ContextInternal;Ljava/lang/Object;Ljava/util/function/BiConsumer;)Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler;
astore 5
start local 5 1: aload 3
invokeinterface io.netty.channel.Channel.pipeline:()Lio/netty/channel/ChannelPipeline;
ldc "handler"
aload 5
invokeinterface io.netty.channel.ChannelPipeline.addLast:(Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;
pop
2: aload 3
invokeinterface io.netty.channel.Channel.flush:()Lio/netty/channel/Channel;
pop
end local 5 3: goto 6
StackMap locals:
StackMap stack: java.lang.Exception
4: astore 5
start local 5 5: aload 0
aload 3
aload 1
aload 5
aload 4
invokevirtual io.vertx.core.http.impl.HttpChannelConnector.connectFailed:(Lio/netty/channel/Channel;Lio/vertx/core/http/impl/pool/ConnectionListener;Ljava/lang/Throwable;Lio/vertx/core/Promise;)V
end local 5 6: StackMap locals:
StackMap stack:
return
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/http/impl/HttpChannelConnector;
0 7 1 listener Lio/vertx/core/http/impl/pool/ConnectionListener<Lio/vertx/core/http/impl/HttpClientConnection;>;
0 7 2 context Lio/vertx/core/impl/ContextInternal;
0 7 3 ch Lio/netty/channel/Channel;
0 7 4 future Lio/vertx/core/Promise<Lio/vertx/core/http/impl/pool/ConnectResult<Lio/vertx/core/http/impl/HttpClientConnection;>;>;
1 3 5 clientHandler Lio/vertx/core/http/impl/VertxHttp2ConnectionHandler<Lio/vertx/core/http/impl/Http2ClientConnection;>;
5 6 5 e Ljava/lang/Exception;
Exception table:
from to target type
0 3 4 Class java.lang.Exception
Signature: (Lio/vertx/core/http/impl/pool/ConnectionListener<Lio/vertx/core/http/impl/HttpClientConnection;>;Lio/vertx/core/impl/ContextInternal;Lio/netty/channel/Channel;Lio/vertx/core/Promise<Lio/vertx/core/http/impl/pool/ConnectResult<Lio/vertx/core/http/impl/HttpClientConnection;>;>;)V
MethodParameters:
Name Flags
listener
context
ch
future
private void connectFailed(io.netty.channel.Channel, io.vertx.core.http.impl.pool.ConnectionListener<io.vertx.core.http.impl.HttpClientConnection>, java.lang.Throwable, io.vertx.core.Promise<io.vertx.core.http.impl.pool.ConnectResult<io.vertx.core.http.impl.HttpClientConnection>>);
descriptor: (Lio/netty/channel/Channel;Lio/vertx/core/http/impl/pool/ConnectionListener;Ljava/lang/Throwable;Lio/vertx/core/Promise;)V
flags: (0x0002) ACC_PRIVATE
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 1
ifnull 4
1: aload 1
invokeinterface io.netty.channel.Channel.close:()Lio/netty/channel/ChannelFuture;
pop
2: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
3: pop
4: StackMap locals:
StackMap stack:
aload 4
aload 3
invokeinterface io.vertx.core.Promise.tryFail:(Ljava/lang/Throwable;)Z
pop
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/http/impl/HttpChannelConnector;
0 6 1 ch Lio/netty/channel/Channel;
0 6 2 listener Lio/vertx/core/http/impl/pool/ConnectionListener<Lio/vertx/core/http/impl/HttpClientConnection;>;
0 6 3 t Ljava/lang/Throwable;
0 6 4 future Lio/vertx/core/Promise<Lio/vertx/core/http/impl/pool/ConnectResult<Lio/vertx/core/http/impl/HttpClientConnection;>;>;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
Signature: (Lio/netty/channel/Channel;Lio/vertx/core/http/impl/pool/ConnectionListener<Lio/vertx/core/http/impl/HttpClientConnection;>;Ljava/lang/Throwable;Lio/vertx/core/Promise<Lio/vertx/core/http/impl/pool/ConnectResult<Lio/vertx/core/http/impl/HttpClientConnection;>;>;)V
MethodParameters:
Name Flags
ch
listener
t
future
public void close(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.vertx.core.http.impl.HttpClientConnection
invokevirtual io.vertx.core.http.impl.HttpChannelConnector.close:(Lio/vertx/core/http/impl/HttpClientConnection;)V
return
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(io.vertx.core.net.impl.ChannelProvider, boolean, io.vertx.core.http.impl.pool.ConnectionListener, io.vertx.core.impl.ContextInternal, io.vertx.core.Promise, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/net/impl/ChannelProvider;ZLio/vertx/core/http/impl/pool/ConnectionListener;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=10, locals=10, args_size=7
start local 0 start local 6 0: aload 6
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 31
1: aload 6
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.netty.channel.Channel
astore 7
start local 7 2: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.ssl:Z
ifeq 19
3: aload 1
invokevirtual io.vertx.core.net.impl.ChannelProvider.applicationProtocol:()Ljava/lang/String;
astore 8
start local 8 4: iload 2
ifeq 16
5: ldc "h2"
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
6: aload 0
aload 7
invokeinterface io.netty.channel.Channel.pipeline:()Lio/netty/channel/ChannelPipeline;
invokevirtual io.vertx.core.http.impl.HttpChannelConnector.applyHttp2ConnectionOptions:(Lio/netty/channel/ChannelPipeline;)V
7: aload 0
aload 3
aload 4
aload 7
aload 5
invokevirtual io.vertx.core.http.impl.HttpChannelConnector.http2Connected:(Lio/vertx/core/http/impl/pool/ConnectionListener;Lio/vertx/core/impl/ContextInternal;Lio/netty/channel/Channel;Lio/vertx/core/Promise;)V
8: goto 32
9: StackMap locals: io.netty.channel.Channel java.lang.String
StackMap stack:
aload 0
aload 7
invokeinterface io.netty.channel.Channel.pipeline:()Lio/netty/channel/ChannelPipeline;
invokevirtual io.vertx.core.http.impl.HttpChannelConnector.applyHttp1xConnectionOptions:(Lio/netty/channel/ChannelPipeline;)V
10: ldc "http/1.0"
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: getstatic io.vertx.core.http.HttpVersion.HTTP_1_0:Lio/vertx/core/http/HttpVersion;
goto 13
StackMap locals:
StackMap stack:
12: getstatic io.vertx.core.http.HttpVersion.HTTP_1_1:Lio/vertx/core/http/HttpVersion;
13: StackMap locals:
StackMap stack: io.vertx.core.http.HttpVersion
astore 9
start local 9 14: aload 0
aload 3
aload 9
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.server:Lio/vertx/core/net/SocketAddress;
iconst_1
aload 4
aload 7
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.http1Weight:J
aload 5
invokevirtual io.vertx.core.http.impl.HttpChannelConnector.http1xConnected:(Lio/vertx/core/http/impl/pool/ConnectionListener;Lio/vertx/core/http/HttpVersion;Lio/vertx/core/net/SocketAddress;ZLio/vertx/core/impl/ContextInternal;Lio/netty/channel/Channel;JLio/vertx/core/Promise;)V
end local 9 15: goto 32
16: StackMap locals:
StackMap stack:
aload 0
aload 7
invokeinterface io.netty.channel.Channel.pipeline:()Lio/netty/channel/ChannelPipeline;
invokevirtual io.vertx.core.http.impl.HttpChannelConnector.applyHttp1xConnectionOptions:(Lio/netty/channel/ChannelPipeline;)V
17: aload 0
aload 3
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.version:Lio/vertx/core/http/HttpVersion;
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.server:Lio/vertx/core/net/SocketAddress;
iconst_1
aload 4
aload 7
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.http1Weight:J
aload 5
invokevirtual io.vertx.core.http.impl.HttpChannelConnector.http1xConnected:(Lio/vertx/core/http/impl/pool/ConnectionListener;Lio/vertx/core/http/HttpVersion;Lio/vertx/core/net/SocketAddress;ZLio/vertx/core/impl/ContextInternal;Lio/netty/channel/Channel;JLio/vertx/core/Promise;)V
end local 8 18: goto 32
19: StackMap locals:
StackMap stack:
aload 7
invokeinterface io.netty.channel.Channel.pipeline:()Lio/netty/channel/ChannelPipeline;
astore 8
start local 8 20: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.version:Lio/vertx/core/http/HttpVersion;
getstatic io.vertx.core.http.HttpVersion.HTTP_2:Lio/vertx/core/http/HttpVersion;
if_acmpne 28
21: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.options:Lio/vertx/core/http/HttpClientOptions;
invokevirtual io.vertx.core.http.HttpClientOptions.isHttp2ClearTextUpgrade:()Z
ifeq 25
22: aload 0
aload 8
invokevirtual io.vertx.core.http.impl.HttpChannelConnector.applyHttp1xConnectionOptions:(Lio/netty/channel/ChannelPipeline;)V
23: aload 0
aload 3
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.version:Lio/vertx/core/http/HttpVersion;
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.server:Lio/vertx/core/net/SocketAddress;
iconst_0
aload 4
aload 7
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.http2Weight:J
aload 5
invokevirtual io.vertx.core.http.impl.HttpChannelConnector.http1xConnected:(Lio/vertx/core/http/impl/pool/ConnectionListener;Lio/vertx/core/http/HttpVersion;Lio/vertx/core/net/SocketAddress;ZLio/vertx/core/impl/ContextInternal;Lio/netty/channel/Channel;JLio/vertx/core/Promise;)V
24: goto 32
25: StackMap locals: io.netty.channel.ChannelPipeline
StackMap stack:
aload 0
aload 8
invokevirtual io.vertx.core.http.impl.HttpChannelConnector.applyHttp2ConnectionOptions:(Lio/netty/channel/ChannelPipeline;)V
26: aload 0
aload 3
aload 4
aload 7
aload 5
invokevirtual io.vertx.core.http.impl.HttpChannelConnector.http2Connected:(Lio/vertx/core/http/impl/pool/ConnectionListener;Lio/vertx/core/impl/ContextInternal;Lio/netty/channel/Channel;Lio/vertx/core/Promise;)V
27: goto 32
28: StackMap locals:
StackMap stack:
aload 0
aload 8
invokevirtual io.vertx.core.http.impl.HttpChannelConnector.applyHttp1xConnectionOptions:(Lio/netty/channel/ChannelPipeline;)V
29: aload 0
aload 3
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.version:Lio/vertx/core/http/HttpVersion;
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.server:Lio/vertx/core/net/SocketAddress;
iconst_0
aload 4
aload 7
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.http1Weight:J
aload 5
invokevirtual io.vertx.core.http.impl.HttpChannelConnector.http1xConnected:(Lio/vertx/core/http/impl/pool/ConnectionListener;Lio/vertx/core/http/HttpVersion;Lio/vertx/core/net/SocketAddress;ZLio/vertx/core/impl/ContextInternal;Lio/netty/channel/Channel;JLio/vertx/core/Promise;)V
end local 8 end local 7 30: goto 32
31: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual io.vertx.core.net.impl.ChannelProvider.channel:()Lio/netty/channel/Channel;
aload 3
aload 6
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
aload 5
invokevirtual io.vertx.core.http.impl.HttpChannelConnector.connectFailed:(Lio/netty/channel/Channel;Lio/vertx/core/http/impl/pool/ConnectionListener;Ljava/lang/Throwable;Lio/vertx/core/Promise;)V
32: StackMap locals:
StackMap stack:
return
end local 6 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lio/vertx/core/http/impl/HttpChannelConnector;
0 33 6 res Lio/vertx/core/AsyncResult<Lio/netty/channel/Channel;>;
2 30 7 ch Lio/netty/channel/Channel;
4 18 8 protocol Ljava/lang/String;
14 15 9 fallbackProtocol Lio/vertx/core/http/HttpVersion;
20 30 8 pipeline Lio/netty/channel/ChannelPipeline;
private io.vertx.core.http.impl.Http1xClientConnection lambda$1(io.vertx.core.http.impl.pool.ConnectionListener, boolean, io.vertx.core.http.HttpVersion, boolean, io.vertx.core.net.SocketAddress, io.vertx.core.impl.ContextInternal, io.netty.channel.ChannelHandlerContext);
descriptor: (Lio/vertx/core/http/impl/pool/ConnectionListener;ZLio/vertx/core/http/HttpVersion;ZLio/vertx/core/net/SocketAddress;Lio/vertx/core/impl/ContextInternal;Lio/netty/channel/ChannelHandlerContext;)Lio/vertx/core/http/impl/Http1xClientConnection;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=11, locals=9, args_size=8
start local 0 start local 7 0: new io.vertx.core.http.impl.Http1xClientConnection
dup
aload 1
iload 2
ifeq 1
getstatic io.vertx.core.http.HttpVersion.HTTP_1_1:Lio/vertx/core/http/HttpVersion;
goto 2
StackMap locals: io.vertx.core.http.impl.HttpChannelConnector io.vertx.core.http.impl.pool.ConnectionListener int io.vertx.core.http.HttpVersion int io.vertx.core.net.SocketAddress io.vertx.core.impl.ContextInternal io.netty.channel.ChannelHandlerContext
StackMap stack: new 0 new 0 io.vertx.core.http.impl.pool.ConnectionListener
1: aload 3
StackMap locals: io.vertx.core.http.impl.HttpChannelConnector io.vertx.core.http.impl.pool.ConnectionListener int io.vertx.core.http.HttpVersion int io.vertx.core.net.SocketAddress io.vertx.core.impl.ContextInternal io.netty.channel.ChannelHandlerContext
StackMap stack: new 0 new 0 io.vertx.core.http.impl.pool.ConnectionListener io.vertx.core.http.HttpVersion
2: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.client:Lio/vertx/core/http/impl/HttpClientImpl;
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.endpointMetric:Ljava/lang/Object;
aload 7
iload 4
aload 5
aload 6
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.metrics:Lio/vertx/core/spi/metrics/HttpClientMetrics;
invokespecial io.vertx.core.http.impl.Http1xClientConnection.<init>:(Lio/vertx/core/http/impl/pool/ConnectionListener;Lio/vertx/core/http/HttpVersion;Lio/vertx/core/http/impl/HttpClientImpl;Ljava/lang/Object;Lio/netty/channel/ChannelHandlerContext;ZLio/vertx/core/net/SocketAddress;Lio/vertx/core/impl/ContextInternal;Lio/vertx/core/spi/metrics/HttpClientMetrics;)V
astore 8
start local 8 3: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.metrics:Lio/vertx/core/spi/metrics/HttpClientMetrics;
ifnull 5
4: aload 6
aload 0
aload 8
invokedynamic handle(Lio/vertx/core/http/impl/HttpChannelConnector;Lio/vertx/core/http/impl/Http1xClientConnection;)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/http/impl/HttpChannelConnector.lambda$2(Lio/vertx/core/http/impl/Http1xClientConnection;Ljava/lang/Void;)V (7)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.ContextInternal.executeFromIO:(Lio/vertx/core/Handler;)V
5: StackMap locals: io.vertx.core.http.impl.Http1xClientConnection
StackMap stack:
aload 8
areturn
end local 8 end local 7 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/core/http/impl/HttpChannelConnector;
0 6 7 chctx Lio/netty/channel/ChannelHandlerContext;
3 6 8 conn Lio/vertx/core/http/impl/Http1xClientConnection;
private void lambda$3(boolean, io.vertx.core.Promise, io.vertx.core.http.impl.Http1xClientConnection);
descriptor: (ZLio/vertx/core/Promise;Lio/vertx/core/http/impl/Http1xClientConnection;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=4, args_size=4
start local 0 start local 3 0: iload 1
ifeq 3
1: aload 2
new io.vertx.core.http.impl.pool.ConnectResult
dup
new io.vertx.core.http.impl.Http2UpgradedClientConnection
dup
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.client:Lio/vertx/core/http/impl/HttpClientImpl;
aload 3
invokespecial io.vertx.core.http.impl.Http2UpgradedClientConnection.<init>:(Lio/vertx/core/http/impl/HttpClientImpl;Lio/vertx/core/http/impl/Http1xClientConnection;)V
lconst_1
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.http2Weight:J
invokespecial io.vertx.core.http.impl.pool.ConnectResult.<init>:(Ljava/lang/Object;JJ)V
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 2
new io.vertx.core.http.impl.pool.ConnectResult
dup
aload 3
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.http1MaxConcurrency:J
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.http1Weight:J
invokespecial io.vertx.core.http.impl.pool.ConnectResult.<init>:(Ljava/lang/Object;JJ)V
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/vertx/core/http/impl/HttpChannelConnector;
0 5 3 conn Lio/vertx/core/http/impl/Http1xClientConnection;
private static void lambda$4(io.vertx.core.http.impl.pool.ConnectionListener, io.vertx.core.http.impl.Http1xClientConnection);
descriptor: (Lio/vertx/core/http/impl/pool/ConnectionListener;Lio/vertx/core/http/impl/Http1xClientConnection;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokeinterface io.vertx.core.http.impl.pool.ConnectionListener.onEvict:()V
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 conn Lio/vertx/core/http/impl/Http1xClientConnection;
private void lambda$5(io.vertx.core.Promise, io.vertx.core.http.impl.Http2ClientConnection, java.lang.Long);
descriptor: (Lio/vertx/core/Promise;Lio/vertx/core/http/impl/Http2ClientConnection;Ljava/lang/Long;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 1
new io.vertx.core.http.impl.pool.ConnectResult
dup
aload 2
aload 3
invokevirtual java.lang.Long.longValue:()J
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.http2Weight:J
invokespecial io.vertx.core.http.impl.pool.ConnectResult.<init>:(Ljava/lang/Object;JJ)V
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
1: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/http/impl/HttpChannelConnector;
0 2 2 conn Lio/vertx/core/http/impl/Http2ClientConnection;
0 2 3 concurrency Ljava/lang/Long;
private void lambda$2(io.vertx.core.http.impl.Http1xClientConnection, java.lang.Void);
descriptor: (Lio/vertx/core/http/impl/Http1xClientConnection;Ljava/lang/Void;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 2 0: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.metrics:Lio/vertx/core/spi/metrics/HttpClientMetrics;
aload 1
invokevirtual io.vertx.core.http.impl.Http1xClientConnection.remoteAddress:()Lio/vertx/core/net/SocketAddress;
aload 1
invokevirtual io.vertx.core.http.impl.Http1xClientConnection.remoteName:()Ljava/lang/String;
invokeinterface io.vertx.core.spi.metrics.HttpClientMetrics.connected:(Lio/vertx/core/net/SocketAddress;Ljava/lang/String;)Ljava/lang/Object;
astore 3
start local 3 1: aload 1
aload 3
invokevirtual io.vertx.core.http.impl.Http1xClientConnection.metric:(Ljava/lang/Object;)V
2: aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.metrics:Lio/vertx/core/spi/metrics/HttpClientMetrics;
aload 0
getfield io.vertx.core.http.impl.HttpChannelConnector.endpointMetric:Ljava/lang/Object;
aload 3
invokeinterface io.vertx.core.spi.metrics.HttpClientMetrics.endpointConnected:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 3 3: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/http/impl/HttpChannelConnector;
0 4 2 v Ljava/lang/Void;
1 3 3 socketMetric Ljava/lang/Object;
}
Signature: Ljava/lang/Object;Lio/vertx/core/http/impl/pool/ConnectionProvider<Lio/vertx/core/http/impl/HttpClientConnection;>;
SourceFile: "HttpChannelConnector.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles