public class io.reactiverse.pgclient.impl.PgConnectionFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.reactiverse.pgclient.impl.PgConnectionFactory
super_class: java.lang.Object
{
private final io.vertx.core.net.NetClient client;
descriptor: Lio/vertx/core/net/NetClient;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.Context ctx;
descriptor: Lio/vertx/core/Context;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean registerCloseHook;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String host;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int port;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.reactiverse.pgclient.SslMode sslMode;
descriptor: Lio/reactiverse/pgclient/SslMode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.net.TrustOptions trustOptions;
descriptor: Lio/vertx/core/net/TrustOptions;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String hostnameVerificationAlgorithm;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String database;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String username;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String password;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean cachePreparedStatements;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int pipeliningLimit;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean isUsingDomainSocket;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.core.Closeable hook;
descriptor: Lio/vertx/core/Closeable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$io$reactiverse$pgclient$SslMode;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>(io.vertx.core.Context, boolean, io.reactiverse.pgclient.PgConnectOptions);
descriptor: (Lio/vertx/core/Context;ZLio/reactiverse/pgclient/PgConnectOptions;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
invokedynamic close(Lio/reactiverse/pgclient/impl/PgConnectionFactory;)Lio/vertx/core/Closeable;
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/vertx/core/Handler;)V
io/reactiverse/pgclient/impl/PgConnectionFactory.close(Lio/vertx/core/Handler;)V (7)
(Lio/vertx/core/Handler;)V
putfield io.reactiverse.pgclient.impl.PgConnectionFactory.hook:Lio/vertx/core/Closeable;
2: aload 0
iload 2
putfield io.reactiverse.pgclient.impl.PgConnectionFactory.registerCloseHook:Z
3: aload 0
aload 1
putfield io.reactiverse.pgclient.impl.PgConnectionFactory.ctx:Lio/vertx/core/Context;
4: iload 2
ifeq 6
5: aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.ctx:Lio/vertx/core/Context;
aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.hook:Lio/vertx/core/Closeable;
invokeinterface io.vertx.core.Context.addCloseHook:(Lio/vertx/core/Closeable;)V
6: StackMap locals: io.reactiverse.pgclient.impl.PgConnectionFactory io.vertx.core.Context int io.reactiverse.pgclient.PgConnectOptions
StackMap stack:
new io.vertx.core.net.NetClientOptions
dup
aload 3
invokespecial io.vertx.core.net.NetClientOptions.<init>:(Lio/vertx/core/net/NetClientOptions;)V
astore 5
start local 5 7: aload 5
iconst_0
invokevirtual io.vertx.core.net.NetClientOptions.setSsl:(Z)Lio/vertx/core/net/NetClientOptions;
pop
8: aload 0
aload 3
invokevirtual io.reactiverse.pgclient.PgConnectOptions.getSslMode:()Lio/reactiverse/pgclient/SslMode;
putfield io.reactiverse.pgclient.impl.PgConnectionFactory.sslMode:Lio/reactiverse/pgclient/SslMode;
9: aload 0
aload 5
invokevirtual io.vertx.core.net.NetClientOptions.getHostnameVerificationAlgorithm:()Ljava/lang/String;
putfield io.reactiverse.pgclient.impl.PgConnectionFactory.hostnameVerificationAlgorithm:Ljava/lang/String;
10: aload 0
aload 5
invokevirtual io.vertx.core.net.NetClientOptions.getTrustOptions:()Lio/vertx/core/net/TrustOptions;
putfield io.reactiverse.pgclient.impl.PgConnectionFactory.trustOptions:Lio/vertx/core/net/TrustOptions;
11: aload 0
aload 3
invokevirtual io.reactiverse.pgclient.PgConnectOptions.getHost:()Ljava/lang/String;
putfield io.reactiverse.pgclient.impl.PgConnectionFactory.host:Ljava/lang/String;
12: aload 0
aload 3
invokevirtual io.reactiverse.pgclient.PgConnectOptions.getPort:()I
putfield io.reactiverse.pgclient.impl.PgConnectionFactory.port:I
13: aload 0
aload 3
invokevirtual io.reactiverse.pgclient.PgConnectOptions.getDatabase:()Ljava/lang/String;
putfield io.reactiverse.pgclient.impl.PgConnectionFactory.database:Ljava/lang/String;
14: aload 0
aload 3
invokevirtual io.reactiverse.pgclient.PgConnectOptions.getUser:()Ljava/lang/String;
putfield io.reactiverse.pgclient.impl.PgConnectionFactory.username:Ljava/lang/String;
15: aload 0
aload 3
invokevirtual io.reactiverse.pgclient.PgConnectOptions.getPassword:()Ljava/lang/String;
putfield io.reactiverse.pgclient.impl.PgConnectionFactory.password:Ljava/lang/String;
16: aload 0
aload 3
invokevirtual io.reactiverse.pgclient.PgConnectOptions.getCachePreparedStatements:()Z
putfield io.reactiverse.pgclient.impl.PgConnectionFactory.cachePreparedStatements:Z
17: aload 0
aload 3
invokevirtual io.reactiverse.pgclient.PgConnectOptions.getPipeliningLimit:()I
putfield io.reactiverse.pgclient.impl.PgConnectionFactory.pipeliningLimit:I
18: aload 0
aload 3
invokevirtual io.reactiverse.pgclient.PgConnectOptions.isUsingDomainSocket:()Z
putfield io.reactiverse.pgclient.impl.PgConnectionFactory.isUsingDomainSocket:Z
19: aload 0
aload 1
invokeinterface io.vertx.core.Context.owner:()Lio/vertx/core/Vertx;
aload 5
invokeinterface io.vertx.core.Vertx.createNetClient:(Lio/vertx/core/net/NetClientOptions;)Lio/vertx/core/net/NetClient;
putfield io.reactiverse.pgclient.impl.PgConnectionFactory.client:Lio/vertx/core/net/NetClient;
20: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/reactiverse/pgclient/impl/PgConnectionFactory;
0 21 1 context Lio/vertx/core/Context;
0 21 2 registerCloseHook Z
0 21 3 options Lio/reactiverse/pgclient/PgConnectOptions;
7 21 5 netClientOptions Lio/vertx/core/net/NetClientOptions;
MethodParameters:
Name Flags
context
registerCloseHook
options
private void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.client:Lio/vertx/core/net/NetClient;
invokeinterface io.vertx.core.net.NetClient.close:()V
1: aload 1
invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactiverse/pgclient/impl/PgConnectionFactory;
0 3 1 completionHandler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
MethodParameters:
Name Flags
completionHandler
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.registerCloseHook:Z
ifeq 2
1: aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.ctx:Lio/vertx/core/Context;
aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.hook:Lio/vertx/core/Closeable;
invokeinterface io.vertx.core.Context.removeCloseHook:(Lio/vertx/core/Closeable;)Z
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.client:Lio/vertx/core/net/NetClient;
invokeinterface io.vertx.core.net.NetClient.close:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactiverse/pgclient/impl/PgConnectionFactory;
public void create(io.vertx.core.Handler<? super io.reactiverse.pgclient.impl.CommandResponse<io.reactiverse.pgclient.impl.Connection>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokedynamic handle(Lio/reactiverse/pgclient/impl/PgConnectionFactory;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/reactiverse/pgclient/impl/PgConnectionFactory.lambda$1(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.reactiverse.pgclient.impl.PgConnectionFactory.connect:(Lio/vertx/core/Handler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactiverse/pgclient/impl/PgConnectionFactory;
0 2 1 completionHandler Lio/vertx/core/Handler<-Lio/reactiverse/pgclient/impl/CommandResponse<Lio/reactiverse/pgclient/impl/Connection;>;>;
Signature: (Lio/vertx/core/Handler<-Lio/reactiverse/pgclient/impl/CommandResponse<Lio/reactiverse/pgclient/impl/Connection;>;>;)V
MethodParameters:
Name Flags
completionHandler
public void connect(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.pgclient.impl.SocketConnection>>);
descriptor: (Lio/vertx/core/Handler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: invokestatic io.reactiverse.pgclient.impl.PgConnectionFactory.$SWITCH_TABLE$io$reactiverse$pgclient$SslMode:()[I
aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.sslMode:Lio/reactiverse/pgclient/SslMode;
invokevirtual io.reactiverse.pgclient.SslMode.ordinal:()I
iaload
tableswitch { // 1 - 6
1: 1
2: 3
3: 5
4: 13
5: 10
6: 7
default: 15
}
1: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 1
invokevirtual io.reactiverse.pgclient.impl.PgConnectionFactory.doConnect:(ZLio/vertx/core/Handler;)V
2: goto 16
3: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 0
aload 1
invokedynamic handle(Lio/reactiverse/pgclient/impl/PgConnectionFactory;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/reactiverse/pgclient/impl/PgConnectionFactory.lambda$2(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.reactiverse.pgclient.impl.PgConnectionFactory.doConnect:(ZLio/vertx/core/Handler;)V
4: goto 16
5: StackMap locals:
StackMap stack:
aload 0
iconst_1
aload 0
aload 1
invokedynamic handle(Lio/reactiverse/pgclient/impl/PgConnectionFactory;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/reactiverse/pgclient/impl/PgConnectionFactory.lambda$3(Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.reactiverse.pgclient.impl.PgConnectionFactory.doConnect:(ZLio/vertx/core/Handler;)V
6: goto 16
7: StackMap locals:
StackMap stack:
aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.hostnameVerificationAlgorithm:Ljava/lang/String;
ifnull 8
aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.hostnameVerificationAlgorithm:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 10
8: StackMap locals:
StackMap stack:
aload 1
new java.lang.IllegalArgumentException
dup
ldc "Host verification algorithm must be specified under verify-full sslmode"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
9: return
10: StackMap locals:
StackMap stack:
aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.trustOptions:Lio/vertx/core/net/TrustOptions;
ifnonnull 13
11: aload 1
new java.lang.IllegalArgumentException
dup
ldc "Trust options must be specified under verify-full or verify-ca sslmode"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
12: return
13: StackMap locals:
StackMap stack:
aload 0
iconst_1
aload 1
invokevirtual io.reactiverse.pgclient.impl.PgConnectionFactory.doConnect:(ZLio/vertx/core/Handler;)V
14: goto 16
15: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Unsupported SSL mode"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/reactiverse/pgclient/impl/PgConnectionFactory;
0 17 1 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/reactiverse/pgclient/impl/SocketConnection;>;>;
Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/reactiverse/pgclient/impl/SocketConnection;>;>;)V
MethodParameters:
Name Flags
handler
private void doConnect(boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.reactiverse.pgclient.impl.SocketConnection>>);
descriptor: (ZLio/vertx/core/Handler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: invokestatic io.vertx.core.Vertx.currentContext:()Lio/vertx/core/Context;
aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.ctx:Lio/vertx/core/Context;
if_acmpeq 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.isUsingDomainSocket:Z
ifne 5
3: aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.port:I
aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.host:Ljava/lang/String;
invokestatic io.vertx.core.net.SocketAddress.inetSocketAddress:(ILjava/lang/String;)Lio/vertx/core/net/SocketAddress;
astore 3
start local 3 4: goto 6
end local 3 5: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.host:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/.s.PGSQL."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.port:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic io.vertx.core.net.SocketAddress.domainSocketAddress:(Ljava/lang/String;)Lio/vertx/core/net/SocketAddress;
astore 3
start local 3 6: StackMap locals: io.vertx.core.net.SocketAddress
StackMap stack:
invokestatic io.vertx.core.Future.future:()Lio/vertx/core/Future;
aload 0
iload 1
aload 2
invokedynamic handle(Lio/reactiverse/pgclient/impl/PgConnectionFactory;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/reactiverse/pgclient/impl/PgConnectionFactory.lambda$4(ZLio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (7)
(Lio/vertx/core/AsyncResult;)V
invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
astore 4
start local 4 7: aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.client:Lio/vertx/core/net/NetClient;
aload 3
aconst_null
aload 4
invokeinterface io.vertx.core.net.NetClient.connect:(Lio/vertx/core/net/SocketAddress;Ljava/lang/String;Lio/vertx/core/Handler;)Lio/vertx/core/net/NetClient;
pop
8: goto 11
StackMap locals: io.reactiverse.pgclient.impl.PgConnectionFactory int io.vertx.core.Handler io.vertx.core.net.SocketAddress io.vertx.core.Future
StackMap stack: java.lang.Exception
9: astore 5
start local 5 10: aload 4
aload 5
invokeinterface io.vertx.core.Future.fail:(Ljava/lang/Throwable;)V
end local 5 11: 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 12 0 this Lio/reactiverse/pgclient/impl/PgConnectionFactory;
0 12 1 ssl Z
0 12 2 handler Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/reactiverse/pgclient/impl/SocketConnection;>;>;
4 5 3 socketAddress Lio/vertx/core/net/SocketAddress;
6 12 3 socketAddress Lio/vertx/core/net/SocketAddress;
7 12 4 future Lio/vertx/core/Future<Lio/vertx/core/net/NetSocket;>;
10 11 5 e Ljava/lang/Exception;
Exception table:
from to target type
7 8 9 Class java.lang.Exception
Signature: (ZLio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/reactiverse/pgclient/impl/SocketConnection;>;>;)V
MethodParameters:
Name Flags
ssl
handler
private io.reactiverse.pgclient.impl.SocketConnection newSocketConnection(io.vertx.core.impl.NetSocketInternal);
descriptor: (Lio/vertx/core/impl/NetSocketInternal;)Lio/reactiverse/pgclient/impl/SocketConnection;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new io.reactiverse.pgclient.impl.SocketConnection
dup
aload 1
aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.cachePreparedStatements:Z
aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.pipeliningLimit:I
aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.ctx:Lio/vertx/core/Context;
invokespecial io.reactiverse.pgclient.impl.SocketConnection.<init>:(Lio/vertx/core/impl/NetSocketInternal;ZILio/vertx/core/Context;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactiverse/pgclient/impl/PgConnectionFactory;
0 1 1 socket Lio/vertx/core/impl/NetSocketInternal;
MethodParameters:
Name Flags
socket
static int[] $SWITCH_TABLE$io$reactiverse$pgclient$SslMode();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic io.reactiverse.pgclient.impl.PgConnectionFactory.$SWITCH_TABLE$io$reactiverse$pgclient$SslMode:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic io.reactiverse.pgclient.SslMode.values:()[Lio/reactiverse/pgclient/SslMode;
arraylength
newarray 10
astore 0
2: aload 0
getstatic io.reactiverse.pgclient.SslMode.ALLOW:Lio/reactiverse/pgclient/SslMode;
invokevirtual io.reactiverse.pgclient.SslMode.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic io.reactiverse.pgclient.SslMode.DISABLE:Lio/reactiverse/pgclient/SslMode;
invokevirtual io.reactiverse.pgclient.SslMode.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic io.reactiverse.pgclient.SslMode.PREFER:Lio/reactiverse/pgclient/SslMode;
invokevirtual io.reactiverse.pgclient.SslMode.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic io.reactiverse.pgclient.SslMode.REQUIRE:Lio/reactiverse/pgclient/SslMode;
invokevirtual io.reactiverse.pgclient.SslMode.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic io.reactiverse.pgclient.SslMode.VERIFY_CA:Lio/reactiverse/pgclient/SslMode;
invokevirtual io.reactiverse.pgclient.SslMode.ordinal:()I
iconst_5
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic io.reactiverse.pgclient.SslMode.VERIFY_FULL:Lio/reactiverse/pgclient/SslMode;
invokevirtual io.reactiverse.pgclient.SslMode.ordinal:()I
bipush 6
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic io.reactiverse.pgclient.impl.PgConnectionFactory.$SWITCH_TABLE$io$reactiverse$pgclient$SslMode:[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
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
private void lambda$1(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=5, locals=4, args_size=3
start local 0 start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 5
1: aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.reactiverse.pgclient.impl.SocketConnection
astore 3
start local 3 2: aload 3
invokevirtual io.reactiverse.pgclient.impl.SocketConnection.initializeCodec:()V
3: aload 3
aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.username:Ljava/lang/String;
aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.password:Ljava/lang/String;
aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.database:Ljava/lang/String;
aload 1
invokevirtual io.reactiverse.pgclient.impl.SocketConnection.sendStartupMessage:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lio/vertx/core/Handler;)V
end local 3 4: goto 6
5: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
invokestatic io.reactiverse.pgclient.impl.CommandResponse.failure:(Ljava/lang/Throwable;)Lio/reactiverse/pgclient/impl/CommandResponse;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactiverse/pgclient/impl/PgConnectionFactory;
0 7 2 ar Lio/vertx/core/AsyncResult<Lio/reactiverse/pgclient/impl/SocketConnection;>;
2 4 3 conn Lio/reactiverse/pgclient/impl/SocketConnection;
private void lambda$2(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: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.reactiverse.pgclient.impl.SocketConnection
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
aload 1
invokevirtual io.reactiverse.pgclient.impl.PgConnectionFactory.doConnect:(ZLio/vertx/core/Handler;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactiverse/pgclient/impl/PgConnectionFactory;
0 5 2 ar Lio/vertx/core/AsyncResult<Lio/reactiverse/pgclient/impl/SocketConnection;>;
private void lambda$3(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: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 1
aload 2
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.reactiverse.pgclient.impl.SocketConnection
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 1
invokevirtual io.reactiverse.pgclient.impl.PgConnectionFactory.doConnect:(ZLio/vertx/core/Handler;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactiverse/pgclient/impl/PgConnectionFactory;
0 5 2 ar Lio/vertx/core/AsyncResult<Lio/reactiverse/pgclient/impl/SocketConnection;>;
private void lambda$4(boolean, io.vertx.core.Handler, io.vertx.core.AsyncResult);
descriptor: (ZLio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 3 0: aload 3
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 8
1: aload 3
invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
checkcast io.vertx.core.impl.NetSocketInternal
astore 4
start local 4 2: aload 0
aload 4
invokevirtual io.reactiverse.pgclient.impl.PgConnectionFactory.newSocketConnection:(Lio/vertx/core/impl/NetSocketInternal;)Lio/reactiverse/pgclient/impl/SocketConnection;
astore 5
start local 5 3: iload 1
ifeq 6
aload 0
getfield io.reactiverse.pgclient.impl.PgConnectionFactory.isUsingDomainSocket:Z
ifne 6
4: aload 5
aload 2
aload 5
invokedynamic handle(Lio/vertx/core/Handler;Lio/reactiverse/pgclient/impl/SocketConnection;)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/reactiverse/pgclient/impl/PgConnectionFactory.lambda$5(Lio/vertx/core/Handler;Lio/reactiverse/pgclient/impl/SocketConnection;Lio/vertx/core/AsyncResult;)V (6)
(Lio/vertx/core/AsyncResult;)V
invokevirtual io.reactiverse.pgclient.impl.SocketConnection.upgradeToSSLConnection:(Lio/vertx/core/Handler;)V
5: goto 9
6: StackMap locals: io.vertx.core.impl.NetSocketInternal io.reactiverse.pgclient.impl.SocketConnection
StackMap stack:
aload 2
aload 5
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
end local 5 end local 4 7: goto 9
8: StackMap locals:
StackMap stack:
aload 2
aload 3
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
9: StackMap locals:
StackMap stack:
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/reactiverse/pgclient/impl/PgConnectionFactory;
0 10 3 ar Lio/vertx/core/AsyncResult<Lio/vertx/core/net/NetSocket;>;
2 7 4 socket Lio/vertx/core/impl/NetSocketInternal;
3 7 5 conn Lio/reactiverse/pgclient/impl/SocketConnection;
private static void lambda$5(io.vertx.core.Handler, io.reactiverse.pgclient.impl.SocketConnection, io.vertx.core.AsyncResult);
descriptor: (Lio/vertx/core/Handler;Lio/reactiverse/pgclient/impl/SocketConnection;Lio/vertx/core/AsyncResult;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 2 0: aload 2
invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
ifeq 3
1: aload 0
aload 1
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 2
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
4: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 5 2 ar2 Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
}
SourceFile: "PgConnectionFactory.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles