class io.vertx.pgclient.impl.codec.InitCommandCodec extends io.vertx.pgclient.impl.codec.PgCommandCodec<io.vertx.sqlclient.impl.Connection, io.vertx.sqlclient.impl.command.InitCommand>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.pgclient.impl.codec.InitCommandCodec
super_class: io.vertx.pgclient.impl.codec.PgCommandCodec
{
private io.vertx.pgclient.impl.codec.PgEncoder encoder;
descriptor: Lio/vertx/pgclient/impl/codec/PgEncoder;
flags: (0x0002) ACC_PRIVATE
private java.lang.String encoding;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
void <init>(io.vertx.sqlclient.impl.command.InitCommand);
descriptor: (Lio/vertx/sqlclient/impl/command/InitCommand;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial io.vertx.pgclient.impl.codec.PgCommandCodec.<init>:(Lio/vertx/sqlclient/impl/command/CommandBase;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/pgclient/impl/codec/InitCommandCodec;
0 2 1 cmd Lio/vertx/sqlclient/impl/command/InitCommand;
MethodParameters:
Name Flags
cmd
void encode(io.vertx.pgclient.impl.codec.PgEncoder);
descriptor: (Lio/vertx/pgclient/impl/codec/PgEncoder;)V
flags: (0x0000)
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.vertx.pgclient.impl.codec.InitCommandCodec.encoder:Lio/vertx/pgclient/impl/codec/PgEncoder;
1: aload 1
new io.vertx.pgclient.impl.codec.StartupMessage
dup
aload 0
getfield io.vertx.pgclient.impl.codec.InitCommandCodec.cmd:Lio/vertx/sqlclient/impl/command/CommandBase;
checkcast io.vertx.sqlclient.impl.command.InitCommand
invokevirtual io.vertx.sqlclient.impl.command.InitCommand.username:()Ljava/lang/String;
aload 0
getfield io.vertx.pgclient.impl.codec.InitCommandCodec.cmd:Lio/vertx/sqlclient/impl/command/CommandBase;
checkcast io.vertx.sqlclient.impl.command.InitCommand
invokevirtual io.vertx.sqlclient.impl.command.InitCommand.database:()Ljava/lang/String;
aload 0
getfield io.vertx.pgclient.impl.codec.InitCommandCodec.cmd:Lio/vertx/sqlclient/impl/command/CommandBase;
checkcast io.vertx.sqlclient.impl.command.InitCommand
invokevirtual io.vertx.sqlclient.impl.command.InitCommand.properties:()Ljava/util/Map;
invokespecial io.vertx.pgclient.impl.codec.StartupMessage.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V
invokevirtual io.vertx.pgclient.impl.codec.PgEncoder.writeStartupMessage:(Lio/vertx/pgclient/impl/codec/StartupMessage;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/pgclient/impl/codec/InitCommandCodec;
0 3 1 encoder Lio/vertx/pgclient/impl/codec/PgEncoder;
MethodParameters:
Name Flags
encoder
public void handleAuthenticationMD5Password(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.pgclient.impl.codec.InitCommandCodec.encoder:Lio/vertx/pgclient/impl/codec/PgEncoder;
new io.vertx.pgclient.impl.codec.PasswordMessage
dup
aload 0
getfield io.vertx.pgclient.impl.codec.InitCommandCodec.cmd:Lio/vertx/sqlclient/impl/command/CommandBase;
checkcast io.vertx.sqlclient.impl.command.InitCommand
invokevirtual io.vertx.sqlclient.impl.command.InitCommand.username:()Ljava/lang/String;
aload 0
getfield io.vertx.pgclient.impl.codec.InitCommandCodec.cmd:Lio/vertx/sqlclient/impl/command/CommandBase;
checkcast io.vertx.sqlclient.impl.command.InitCommand
invokevirtual io.vertx.sqlclient.impl.command.InitCommand.password:()Ljava/lang/String;
aload 1
invokespecial io.vertx.pgclient.impl.codec.PasswordMessage.<init>:(Ljava/lang/String;Ljava/lang/String;[B)V
invokevirtual io.vertx.pgclient.impl.codec.PgEncoder.writePasswordMessage:(Lio/vertx/pgclient/impl/codec/PasswordMessage;)V
1: aload 0
getfield io.vertx.pgclient.impl.codec.InitCommandCodec.encoder:Lio/vertx/pgclient/impl/codec/PgEncoder;
invokevirtual io.vertx.pgclient.impl.codec.PgEncoder.flush:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/pgclient/impl/codec/InitCommandCodec;
0 3 1 salt [B
MethodParameters:
Name Flags
salt
public void handleAuthenticationClearTextPassword();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.pgclient.impl.codec.InitCommandCodec.encoder:Lio/vertx/pgclient/impl/codec/PgEncoder;
new io.vertx.pgclient.impl.codec.PasswordMessage
dup
aload 0
getfield io.vertx.pgclient.impl.codec.InitCommandCodec.cmd:Lio/vertx/sqlclient/impl/command/CommandBase;
checkcast io.vertx.sqlclient.impl.command.InitCommand
invokevirtual io.vertx.sqlclient.impl.command.InitCommand.username:()Ljava/lang/String;
aload 0
getfield io.vertx.pgclient.impl.codec.InitCommandCodec.cmd:Lio/vertx/sqlclient/impl/command/CommandBase;
checkcast io.vertx.sqlclient.impl.command.InitCommand
invokevirtual io.vertx.sqlclient.impl.command.InitCommand.password:()Ljava/lang/String;
aconst_null
invokespecial io.vertx.pgclient.impl.codec.PasswordMessage.<init>:(Ljava/lang/String;Ljava/lang/String;[B)V
invokevirtual io.vertx.pgclient.impl.codec.PgEncoder.writePasswordMessage:(Lio/vertx/pgclient/impl/codec/PasswordMessage;)V
1: aload 0
getfield io.vertx.pgclient.impl.codec.InitCommandCodec.encoder:Lio/vertx/pgclient/impl/codec/PgEncoder;
invokevirtual io.vertx.pgclient.impl.codec.PgEncoder.flush:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/pgclient/impl/codec/InitCommandCodec;
public void handleAuthenticationOk();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/pgclient/impl/codec/InitCommandCodec;
public void handleParameterStatus(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "client_encoding"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
aload 2
putfield io.vertx.pgclient.impl.codec.InitCommandCodec.encoding:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/pgclient/impl/codec/InitCommandCodec;
0 3 1 key Ljava/lang/String;
0 3 2 value Ljava/lang/String;
MethodParameters:
Name Flags
key
value
public void handleBackendKeyData(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.pgclient.impl.codec.InitCommandCodec.cmd:Lio/vertx/sqlclient/impl/command/CommandBase;
checkcast io.vertx.sqlclient.impl.command.InitCommand
invokevirtual io.vertx.sqlclient.impl.command.InitCommand.connection:()Lio/vertx/sqlclient/impl/SocketConnectionBase;
checkcast io.vertx.pgclient.impl.PgSocketConnection
iload 1
putfield io.vertx.pgclient.impl.PgSocketConnection.processId:I
1: aload 0
getfield io.vertx.pgclient.impl.codec.InitCommandCodec.cmd:Lio/vertx/sqlclient/impl/command/CommandBase;
checkcast io.vertx.sqlclient.impl.command.InitCommand
invokevirtual io.vertx.sqlclient.impl.command.InitCommand.connection:()Lio/vertx/sqlclient/impl/SocketConnectionBase;
checkcast io.vertx.pgclient.impl.PgSocketConnection
iload 2
putfield io.vertx.pgclient.impl.PgSocketConnection.secretKey:I
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/pgclient/impl/codec/InitCommandCodec;
0 3 1 processId I
0 3 2 secretKey I
MethodParameters:
Name Flags
processId
secretKey
public void handleErrorResponse(io.vertx.pgclient.impl.codec.ErrorResponse);
descriptor: (Lio/vertx/pgclient/impl/codec/ErrorResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual io.vertx.pgclient.impl.codec.ErrorResponse.toException:()Lio/vertx/pgclient/PgException;
invokestatic io.vertx.sqlclient.impl.command.CommandResponse.failure:(Ljava/lang/Throwable;)Lio/vertx/sqlclient/impl/command/CommandResponse;
astore 2
start local 2 1: aload 0
getfield io.vertx.pgclient.impl.codec.InitCommandCodec.completionHandler:Lio/vertx/core/Handler;
aload 2
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/pgclient/impl/codec/InitCommandCodec;
0 3 1 errorResponse Lio/vertx/pgclient/impl/codec/ErrorResponse;
1 3 2 resp Lio/vertx/sqlclient/impl/command/CommandResponse<Lio/vertx/sqlclient/impl/Connection;>;
MethodParameters:
Name Flags
errorResponse
public void handleReadyForQuery(io.vertx.sqlclient.impl.TxStatus);
descriptor: (Lio/vertx/sqlclient/impl/TxStatus;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield io.vertx.pgclient.impl.codec.InitCommandCodec.encoding:Ljava/lang/String;
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
astore 2
2: goto 4
StackMap locals: io.vertx.pgclient.impl.codec.InitCommandCodec io.vertx.sqlclient.impl.TxStatus java.nio.charset.Charset
StackMap stack: java.lang.Exception
3: pop
4: StackMap locals:
StackMap stack:
aload 2
ifnull 5
aload 2
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.equals:(Ljava/lang/Object;)Z
ifne 7
5: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
getfield io.vertx.pgclient.impl.codec.InitCommandCodec.encoding:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " is not supported in the client only UTF8"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic io.vertx.sqlclient.impl.command.CommandResponse.failure:(Ljava/lang/String;)Lio/vertx/sqlclient/impl/command/CommandResponse;
astore 3
start local 3 6: goto 8
end local 3 7: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.pgclient.impl.codec.InitCommandCodec.cmd:Lio/vertx/sqlclient/impl/command/CommandBase;
checkcast io.vertx.sqlclient.impl.command.InitCommand
invokevirtual io.vertx.sqlclient.impl.command.InitCommand.connection:()Lio/vertx/sqlclient/impl/SocketConnectionBase;
invokestatic io.vertx.sqlclient.impl.command.CommandResponse.success:(Ljava/lang/Object;)Lio/vertx/sqlclient/impl/command/CommandResponse;
astore 3
start local 3 8: StackMap locals: io.vertx.sqlclient.impl.command.CommandResponse
StackMap stack:
aload 0
getfield io.vertx.pgclient.impl.codec.InitCommandCodec.completionHandler:Lio/vertx/core/Handler;
aload 3
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/pgclient/impl/codec/InitCommandCodec;
0 10 1 txStatus Lio/vertx/sqlclient/impl/TxStatus;
1 10 2 cs Ljava/nio/charset/Charset;
6 7 3 fut Lio/vertx/sqlclient/impl/command/CommandResponse<Lio/vertx/sqlclient/impl/Connection;>;
8 10 3 fut Lio/vertx/sqlclient/impl/command/CommandResponse<Lio/vertx/sqlclient/impl/Connection;>;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
MethodParameters:
Name Flags
txStatus
}
Signature: Lio/vertx/pgclient/impl/codec/PgCommandCodec<Lio/vertx/sqlclient/impl/Connection;Lio/vertx/sqlclient/impl/command/InitCommand;>;
SourceFile: "InitCommandCodec.java"