class io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec extends io.vertx.mysqlclient.impl.codec.AuthenticationCommandBaseCodec<java.lang.Void, io.vertx.mysqlclient.impl.command.ChangeUserCommand>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec
super_class: io.vertx.mysqlclient.impl.codec.AuthenticationCommandBaseCodec
{
void <init>(io.vertx.mysqlclient.impl.command.ChangeUserCommand);
descriptor: (Lio/vertx/mysqlclient/impl/command/ChangeUserCommand;)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.mysqlclient.impl.codec.AuthenticationCommandBaseCodec.<init>:(Lio/vertx/mysqlclient/impl/command/AuthenticationCommandBase;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/mysqlclient/impl/codec/ChangeUserCommandCodec;
0 2 1 cmd Lio/vertx/mysqlclient/impl/command/ChangeUserCommand;
MethodParameters:
Name Flags
cmd
void encode(io.vertx.mysqlclient.impl.codec.MySQLEncoder);
descriptor: (Lio/vertx/mysqlclient/impl/codec/MySQLEncoder;)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.mysqlclient.impl.codec.AuthenticationCommandBaseCodec.encode:(Lio/vertx/mysqlclient/impl/codec/MySQLEncoder;)V
1: aload 0
invokevirtual io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.sendChangeUserCommand:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/mysqlclient/impl/codec/ChangeUserCommandCodec;
0 3 1 encoder Lio/vertx/mysqlclient/impl/codec/MySQLEncoder;
MethodParameters:
Name Flags
encoder
void decodePayload(io.netty.buffer.ByteBuf, int);
descriptor: (Lio/netty/buffer/ByteBuf;I)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 1
invokevirtual io.netty.buffer.ByteBuf.readerIndex:()I
invokevirtual io.netty.buffer.ByteBuf.getUnsignedByte:(I)S
istore 3
start local 3 1: iload 3
lookupswitch { // 4
0: 6
1: 4
254: 2
255: 8
default: 9
}
2: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.cmd:Lio/vertx/sqlclient/impl/command/CommandBase;
checkcast io.vertx.mysqlclient.impl.command.ChangeUserCommand
invokevirtual io.vertx.mysqlclient.impl.command.ChangeUserCommand.password:()Ljava/lang/String;
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
aload 1
invokevirtual io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.handleAuthSwitchRequest:([BLio/netty/buffer/ByteBuf;)V
3: goto 9
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.cmd:Lio/vertx/sqlclient/impl/command/CommandBase;
checkcast io.vertx.mysqlclient.impl.command.ChangeUserCommand
invokevirtual io.vertx.mysqlclient.impl.command.ChangeUserCommand.password:()Ljava/lang/String;
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
aload 1
invokevirtual io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.handleAuthMoreData:([BLio/netty/buffer/ByteBuf;)V
5: goto 9
6: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.completionHandler:Lio/vertx/core/Handler;
aconst_null
invokestatic io.vertx.sqlclient.impl.command.CommandResponse.success:(Ljava/lang/Object;)Lio/vertx/sqlclient/impl/command/CommandResponse;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.handleErrorPacketPayload:(Lio/netty/buffer/ByteBuf;)V
9: StackMap locals:
StackMap stack:
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/mysqlclient/impl/codec/ChangeUserCommandCodec;
0 10 1 payload Lio/netty/buffer/ByteBuf;
0 10 2 payloadLength I
1 10 3 header I
MethodParameters:
Name Flags
payload
payloadLength
private void handleAuthSwitchRequest(byte[], io.netty.buffer.ByteBuf);
descriptor: ([BLio/netty/buffer/ByteBuf;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
iconst_1
invokevirtual io.netty.buffer.ByteBuf.skipBytes:(I)Lio/netty/buffer/ByteBuf;
pop
1: aload 2
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokestatic io.vertx.mysqlclient.impl.util.BufferUtils.readNullTerminatedString:(Lio/netty/buffer/ByteBuf;Ljava/nio/charset/Charset;)Ljava/lang/String;
astore 3
start local 3 2: aload 0
bipush 20
newarray 8
putfield io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.authPluginData:[B
3: aload 2
aload 0
getfield io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.authPluginData:[B
invokevirtual io.netty.buffer.ByteBuf.readBytes:([B)Lio/netty/buffer/ByteBuf;
pop
4: aload 3
dup
astore 5
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 3
-1232755404: 5
-1034481270: 6
2050512934: 7
default: 14
}
StackMap locals: io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec byte[] io.netty.buffer.ByteBuf java.lang.String top java.lang.String
StackMap stack:
5: aload 5
ldc "caching_sha2_password"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
goto 14
StackMap locals:
StackMap stack:
6: aload 5
ldc "mysql_clear_password"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
goto 14
StackMap locals:
StackMap stack:
7: aload 5
ldc "mysql_native_password"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 14
8: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.authPluginData:[B
invokestatic io.vertx.mysqlclient.impl.util.Native41Authenticator.encode:([B[B)[B
astore 4
start local 4 9: goto 16
end local 4 10: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.authPluginData:[B
invokestatic io.vertx.mysqlclient.impl.util.CachingSha2Authenticator.encode:([B[B)[B
astore 4
start local 4 11: goto 16
end local 4 12: StackMap locals:
StackMap stack:
aload 1
astore 4
start local 4 13: goto 16
end local 4 14: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.completionHandler:Lio/vertx/core/Handler;
new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported authentication method: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
invokestatic io.vertx.sqlclient.impl.command.CommandResponse.failure:(Ljava/lang/Throwable;)Lio/vertx/sqlclient/impl/command/CommandResponse;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
15: return
start local 4 16: StackMap locals: io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec byte[] io.netty.buffer.ByteBuf java.lang.String byte[]
StackMap stack:
aload 0
aload 4
invokevirtual io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.sendBytesAsPacket:([B)V
17: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/vertx/mysqlclient/impl/codec/ChangeUserCommandCodec;
0 18 1 password [B
0 18 2 payload Lio/netty/buffer/ByteBuf;
2 18 3 pluginName Ljava/lang/String;
9 10 4 authResponse [B
11 12 4 authResponse [B
13 14 4 authResponse [B
16 18 4 authResponse [B
MethodParameters:
Name Flags
password
payload
private void sendChangeUserCommand();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.allocateBuffer:()Lio/netty/buffer/ByteBuf;
astore 1
start local 1 1: aload 1
invokevirtual io.netty.buffer.ByteBuf.writerIndex:()I
istore 2
start local 2 2: aload 1
iconst_0
invokevirtual io.netty.buffer.ByteBuf.writeMediumLE:(I)Lio/netty/buffer/ByteBuf;
pop
3: aload 1
aload 0
getfield io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.sequenceId:I
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
4: aload 1
bipush 17
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
5: aload 1
aload 0
getfield io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.cmd:Lio/vertx/sqlclient/impl/command/CommandBase;
checkcast io.vertx.mysqlclient.impl.command.ChangeUserCommand
invokevirtual io.vertx.mysqlclient.impl.command.ChangeUserCommand.username:()Ljava/lang/String;
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokestatic io.vertx.mysqlclient.impl.util.BufferUtils.writeNullTerminatedString:(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)V
6: aload 0
getfield io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.cmd:Lio/vertx/sqlclient/impl/command/CommandBase;
checkcast io.vertx.mysqlclient.impl.command.ChangeUserCommand
invokevirtual io.vertx.mysqlclient.impl.command.ChangeUserCommand.password:()Ljava/lang/String;
astore 3
start local 3 7: aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifeq 10
8: aload 1
iconst_0
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
9: goto 12
10: StackMap locals: io.netty.buffer.ByteBuf int java.lang.String
StackMap stack:
aload 1
aload 3
invokevirtual java.lang.String.length:()I
invokevirtual io.netty.buffer.ByteBuf.writeByte:(I)Lio/netty/buffer/ByteBuf;
pop
11: aload 1
aload 3
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual io.netty.buffer.ByteBuf.writeCharSequence:(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)I
pop
12: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.cmd:Lio/vertx/sqlclient/impl/command/CommandBase;
checkcast io.vertx.mysqlclient.impl.command.ChangeUserCommand
invokevirtual io.vertx.mysqlclient.impl.command.ChangeUserCommand.database:()Ljava/lang/String;
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokestatic io.vertx.mysqlclient.impl.util.BufferUtils.writeNullTerminatedString:(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)V
13: aload 0
getfield io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.cmd:Lio/vertx/sqlclient/impl/command/CommandBase;
checkcast io.vertx.mysqlclient.impl.command.ChangeUserCommand
invokevirtual io.vertx.mysqlclient.impl.command.ChangeUserCommand.collation:()Lio/vertx/mysqlclient/impl/MySQLCollation;
astore 4
start local 4 14: aload 4
invokevirtual io.vertx.mysqlclient.impl.MySQLCollation.collationId:()I
istore 5
start local 5 15: aload 1
iload 5
invokevirtual io.netty.buffer.ByteBuf.writeShortLE:(I)Lio/netty/buffer/ByteBuf;
pop
16: aload 0
getfield io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.encoder:Lio/vertx/mysqlclient/impl/codec/MySQLEncoder;
getfield io.vertx.mysqlclient.impl.codec.MySQLEncoder.clientCapabilitiesFlag:I
ldc 524288
iand
ifeq 18
17: aload 1
ldc "mysql_native_password"
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokestatic io.vertx.mysqlclient.impl.util.BufferUtils.writeNullTerminatedString:(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)V
18: StackMap locals: io.vertx.mysqlclient.impl.MySQLCollation int
StackMap stack:
aload 0
getfield io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.encoder:Lio/vertx/mysqlclient/impl/codec/MySQLEncoder;
getfield io.vertx.mysqlclient.impl.codec.MySQLEncoder.clientCapabilitiesFlag:I
ldc 1048576
iand
ifeq 22
19: aload 0
getfield io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.cmd:Lio/vertx/sqlclient/impl/command/CommandBase;
checkcast io.vertx.mysqlclient.impl.command.ChangeUserCommand
invokevirtual io.vertx.mysqlclient.impl.command.ChangeUserCommand.connectionAttributes:()Ljava/util/Map;
astore 6
start local 6 20: aload 6
ifnull 22
21: aload 0
aload 6
aload 1
invokevirtual io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.encodeConnectionAttributes:(Ljava/util/Map;Lio/netty/buffer/ByteBuf;)V
end local 6 22: StackMap locals:
StackMap stack:
aload 1
invokevirtual io.netty.buffer.ByteBuf.writerIndex:()I
iload 2
isub
iconst_4
isub
istore 6
start local 6 23: aload 1
iload 2
iload 6
invokevirtual io.netty.buffer.ByteBuf.setMediumLE:(II)Lio/netty/buffer/ByteBuf;
pop
24: aload 0
aload 1
iload 6
invokevirtual io.vertx.mysqlclient.impl.codec.ChangeUserCommandCodec.sendPacket:(Lio/netty/buffer/ByteBuf;I)V
25: 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 26 0 this Lio/vertx/mysqlclient/impl/codec/ChangeUserCommandCodec;
1 26 1 packet Lio/netty/buffer/ByteBuf;
2 26 2 packetStartIdx I
7 26 3 password Ljava/lang/String;
14 26 4 collation Lio/vertx/mysqlclient/impl/MySQLCollation;
15 26 5 collationId I
20 22 6 clientConnectionAttributes Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
23 26 6 lenOfPayload I
}
Signature: Lio/vertx/mysqlclient/impl/codec/AuthenticationCommandBaseCodec<Ljava/lang/Void;Lio/vertx/mysqlclient/impl/command/ChangeUserCommand;>;
SourceFile: "ChangeUserCommandCodec.java"