public final class io.vertx.redis.client.impl.RESPParser implements io.vertx.core.Handler<io.vertx.core.buffer.Buffer>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.vertx.redis.client.impl.RESPParser
super_class: java.lang.Object
{
public static final java.lang.String VERSION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "3"
private static final long MAX_STRING_LENGTH;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 536870912
private final io.vertx.redis.client.impl.ParserHandler handler;
descriptor: Lio/vertx/redis/client/impl/ParserHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.redis.client.impl.ReadableBuffer buffer;
descriptor: Lio/vertx/redis/client/impl/ReadableBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final io.vertx.redis.client.impl.ArrayStack stack;
descriptor: Lio/vertx/redis/client/impl/ArrayStack;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean eol;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int bytesNeeded;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(io.vertx.redis.client.impl.ParserHandler, int);
descriptor: (Lio/vertx/redis/client/impl/ParserHandler;I)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new io.vertx.redis.client.impl.ReadableBuffer
dup
invokespecial io.vertx.redis.client.impl.ReadableBuffer.<init>:()V
putfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
2: aload 0
iconst_1
putfield io.vertx.redis.client.impl.RESPParser.eol:Z
3: aload 0
iconst_0
putfield io.vertx.redis.client.impl.RESPParser.bytesNeeded:I
4: aload 0
aload 1
putfield io.vertx.redis.client.impl.RESPParser.handler:Lio/vertx/redis/client/impl/ParserHandler;
5: aload 0
new io.vertx.redis.client.impl.ArrayStack
dup
iload 2
invokespecial io.vertx.redis.client.impl.ArrayStack.<init>:(I)V
putfield io.vertx.redis.client.impl.RESPParser.stack:Lio/vertx/redis/client/impl/ArrayStack;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/redis/client/impl/RESPParser;
0 7 1 handler Lio/vertx/redis/client/impl/ParserHandler;
0 7 2 maxStack I
MethodParameters:
Name Flags
handler
maxStack
public void handle(io.vertx.core.buffer.Buffer);
descriptor: (Lio/vertx/core/buffer/Buffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
aload 1
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.append:(Lio/vertx/core/buffer/Buffer;)V
1: goto 43
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.mark:()V
3: aload 0
getfield io.vertx.redis.client.impl.RESPParser.eol:Z
ifeq 35
4: aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.readByte:()B
istore 2
start local 2 5: aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.offset:()I
istore 3
start local 3 6: aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.findLineEnd:()I
istore 4
start local 4 7: iload 4
iconst_m1
if_icmpne 10
8: aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.reset:()V
9: goto 47
10: StackMap locals: int int int
StackMap stack:
iload 3
iload 4
if_icmpne 13
11: aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.reset:()V
12: goto 47
13: StackMap locals:
StackMap stack:
iload 2
lookupswitch { // 15
33: 16
35: 26
36: 20
37: 22
40: 18
42: 22
43: 14
44: 18
45: 16
58: 18
61: 20
62: 30
95: 24
124: 28
126: 22
default: 32
}
14: StackMap locals:
StackMap stack:
aload 0
iload 3
iload 4
invokevirtual io.vertx.redis.client.impl.RESPParser.handleSimpleString:(II)V
15: goto 43
16: StackMap locals:
StackMap stack:
aload 0
iload 4
invokevirtual io.vertx.redis.client.impl.RESPParser.handleError:(I)V
17: goto 43
18: StackMap locals:
StackMap stack:
aload 0
iload 2
iload 4
invokevirtual io.vertx.redis.client.impl.RESPParser.handleNumber:(BI)V
19: goto 43
20: StackMap locals:
StackMap stack:
aload 0
iload 4
invokevirtual io.vertx.redis.client.impl.RESPParser.handleBulk:(I)V
21: goto 43
22: StackMap locals:
StackMap stack:
aload 0
iload 2
iload 4
invokevirtual io.vertx.redis.client.impl.RESPParser.handleMulti:(BI)V
23: goto 43
24: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.redis.client.impl.RESPParser.handleNull:()V
25: goto 43
26: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.redis.client.impl.RESPParser.handleBoolean:()V
27: goto 43
28: StackMap locals:
StackMap stack:
aload 0
iload 4
invokevirtual io.vertx.redis.client.impl.RESPParser.handleAttribute:(I)V
29: goto 43
30: StackMap locals:
StackMap stack:
aload 0
iload 4
invokevirtual io.vertx.redis.client.impl.RESPParser.handlePush:(I)V
31: goto 43
32: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RESPParser.handler:Lio/vertx/redis/client/impl/ParserHandler;
new java.lang.StringBuilder
dup
ldc "ILLEGAL_STATE Unknown RESP type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic io.vertx.redis.client.impl.types.ErrorType.create:(Ljava/lang/String;)Lio/vertx/redis/client/impl/types/ErrorType;
invokeinterface io.vertx.redis.client.impl.ParserHandler.fatal:(Ljava/lang/Throwable;)V
33: return
end local 4 end local 3 end local 2 34: StackMap locals:
StackMap stack:
goto 43
35: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RESPParser.bytesNeeded:I
ifne 38
36: aload 0
getstatic io.vertx.redis.client.impl.types.BulkType.EMPTY:Lio/vertx/redis/client/impl/types/BulkType;
iconst_0
invokevirtual io.vertx.redis.client.impl.RESPParser.handleResponse:(Lio/vertx/redis/client/Response;Z)V
37: goto 39
38: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
aload 0
getfield io.vertx.redis.client.impl.RESPParser.bytesNeeded:I
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.readBytes:(I)Lio/vertx/core/buffer/Buffer;
invokestatic io.vertx.redis.client.impl.types.BulkType.create:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/redis/client/impl/types/BulkType;
iconst_0
invokevirtual io.vertx.redis.client.impl.RESPParser.handleResponse:(Lio/vertx/redis/client/Response;Z)V
39: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.skipEOL:()Z
ifeq 42
40: aload 0
iconst_1
putfield io.vertx.redis.client.impl.RESPParser.eol:Z
41: goto 43
42: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.reset:()V
43: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.readableBytes:()I
aload 0
getfield io.vertx.redis.client.impl.RESPParser.eol:Z
ifeq 44
iconst_3
goto 46
StackMap locals:
StackMap stack: int
44: aload 0
getfield io.vertx.redis.client.impl.RESPParser.bytesNeeded:I
iconst_m1
if_icmpeq 45
aload 0
getfield io.vertx.redis.client.impl.RESPParser.bytesNeeded:I
iconst_2
iadd
goto 46
StackMap locals:
StackMap stack: int
45: iconst_0
StackMap locals: io.vertx.redis.client.impl.RESPParser io.vertx.core.buffer.Buffer
StackMap stack: int int
46: if_icmpge 2
47: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 this Lio/vertx/redis/client/impl/RESPParser;
0 48 1 chunk Lio/vertx/core/buffer/Buffer;
5 34 2 type B
6 34 3 start I
7 34 4 eol I
MethodParameters:
Name Flags
chunk
private void handleNumber(byte, int);
descriptor: (BI)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
lookupswitch { // 3
40: 5
44: 3
58: 1
default: 6
}
1: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
iload 2
getstatic io.vertx.redis.client.impl.ReadableBuffer$NumericType.INTEGER:Lio/vertx/redis/client/impl/ReadableBuffer$NumericType;
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.readNumber:(ILio/vertx/redis/client/impl/ReadableBuffer$NumericType;)Ljava/lang/Number;
invokestatic io.vertx.redis.client.impl.types.NumberType.create:(Ljava/lang/Number;)Lio/vertx/redis/client/impl/types/NumberType;
iconst_0
invokevirtual io.vertx.redis.client.impl.RESPParser.handleResponse:(Lio/vertx/redis/client/Response;Z)V
2: goto 9
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
iload 2
getstatic io.vertx.redis.client.impl.ReadableBuffer$NumericType.DECIMAL:Lio/vertx/redis/client/impl/ReadableBuffer$NumericType;
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.readNumber:(ILio/vertx/redis/client/impl/ReadableBuffer$NumericType;)Ljava/lang/Number;
invokestatic io.vertx.redis.client.impl.types.NumberType.create:(Ljava/lang/Number;)Lio/vertx/redis/client/impl/types/NumberType;
iconst_0
invokevirtual io.vertx.redis.client.impl.RESPParser.handleResponse:(Lio/vertx/redis/client/Response;Z)V
4: goto 9
5: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
iload 2
getstatic io.vertx.redis.client.impl.ReadableBuffer$NumericType.BIGINTEGER:Lio/vertx/redis/client/impl/ReadableBuffer$NumericType;
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.readNumber:(ILio/vertx/redis/client/impl/ReadableBuffer$NumericType;)Ljava/lang/Number;
invokestatic io.vertx.redis.client.impl.types.NumberType.create:(Ljava/lang/Number;)Lio/vertx/redis/client/impl/types/NumberType;
iconst_0
invokevirtual io.vertx.redis.client.impl.RESPParser.handleResponse:(Lio/vertx/redis/client/Response;Z)V
6: StackMap locals:
StackMap stack:
goto 9
StackMap locals:
StackMap stack: java.lang.RuntimeException
7: astore 3
start local 3 8: aload 0
getfield io.vertx.redis.client.impl.RESPParser.handler:Lio/vertx/redis/client/impl/ParserHandler;
aload 3
invokeinterface io.vertx.redis.client.impl.ParserHandler.fatal:(Ljava/lang/Throwable;)V
end local 3 9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/redis/client/impl/RESPParser;
0 10 1 type B
0 10 2 eol I
8 9 3 e Ljava/lang/RuntimeException;
Exception table:
from to target type
0 6 7 Class java.lang.RuntimeException
MethodParameters:
Name Flags
type
eol
private long handleLength(int);
descriptor: (I)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
iload 1
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.readLong:(I)J
lstore 2
start local 2 1: goto 5
end local 2 StackMap locals:
StackMap stack: java.lang.RuntimeException
2: astore 4
start local 4 3: aload 0
getfield io.vertx.redis.client.impl.RESPParser.handler:Lio/vertx/redis/client/impl/ParserHandler;
aload 4
invokeinterface io.vertx.redis.client.impl.ParserHandler.fatal:(Ljava/lang/Throwable;)V
4: ldc -1
lreturn
end local 4 start local 2 5: StackMap locals: long
StackMap stack:
lload 2
ldc 2147483647
lcmp
ifle 8
6: aload 0
getfield io.vertx.redis.client.impl.RESPParser.handler:Lio/vertx/redis/client/impl/ParserHandler;
ldc "ILLEGAL_STATE Redis Multi cannot be larger 2GB elements"
invokestatic io.vertx.redis.client.impl.types.ErrorType.create:(Ljava/lang/String;)Lio/vertx/redis/client/impl/types/ErrorType;
invokeinterface io.vertx.redis.client.impl.ParserHandler.fatal:(Ljava/lang/Throwable;)V
7: ldc -1
lreturn
8: StackMap locals:
StackMap stack:
lload 2
lconst_0
lcmp
ifge 14
9: lload 2
ldc -1
lcmp
ifne 12
10: aload 0
aconst_null
iconst_0
invokevirtual io.vertx.redis.client.impl.RESPParser.handleResponse:(Lio/vertx/redis/client/Response;Z)V
11: ldc -1
lreturn
12: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RESPParser.handler:Lio/vertx/redis/client/impl/ParserHandler;
ldc "ILLEGAL_STATE Redis Multi cannot have negative length"
invokestatic io.vertx.redis.client.impl.types.ErrorType.create:(Ljava/lang/String;)Lio/vertx/redis/client/impl/types/ErrorType;
invokeinterface io.vertx.redis.client.impl.ParserHandler.fatal:(Ljava/lang/Throwable;)V
13: ldc -1
lreturn
14: StackMap locals:
StackMap stack:
lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/vertx/redis/client/impl/RESPParser;
0 15 1 eol I
1 2 2 integer J
5 15 2 integer J
3 5 4 e Ljava/lang/RuntimeException;
Exception table:
from to target type
0 1 2 Class java.lang.RuntimeException
MethodParameters:
Name Flags
eol
private void handlePush(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual io.vertx.redis.client.impl.RESPParser.handleLength:(I)J
lstore 2
start local 2 1: lload 2
lconst_0
lcmp
iflt 6
2: lload 2
lconst_0
lcmp
ifne 5
3: aload 0
getfield io.vertx.redis.client.impl.RESPParser.handler:Lio/vertx/redis/client/impl/ParserHandler;
ldc "ILLEGAL_STATE Redis Push must have at least 1 element"
invokestatic io.vertx.redis.client.impl.types.ErrorType.create:(Ljava/lang/String;)Lio/vertx/redis/client/impl/types/ErrorType;
invokeinterface io.vertx.redis.client.impl.ParserHandler.fatal:(Ljava/lang/Throwable;)V
4: goto 6
5: StackMap locals: long
StackMap stack:
aload 0
lload 2
invokestatic io.vertx.redis.client.impl.types.PushType.create:(J)Lio/vertx/redis/client/impl/types/PushType;
iconst_1
invokevirtual io.vertx.redis.client.impl.RESPParser.handleResponse:(Lio/vertx/redis/client/Response;Z)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/redis/client/impl/RESPParser;
0 7 1 eol I
1 7 2 len J
MethodParameters:
Name Flags
eol
private void handleAttribute(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual io.vertx.redis.client.impl.RESPParser.handleLength:(I)J
lstore 2
start local 2 1: lload 2
lconst_0
lcmp
iflt 6
2: lload 2
lconst_0
lcmp
ifne 5
3: aload 0
getfield io.vertx.redis.client.impl.RESPParser.handler:Lio/vertx/redis/client/impl/ParserHandler;
ldc "ILLEGAL_STATE Redis Push must have at least 1 element"
invokestatic io.vertx.redis.client.impl.types.ErrorType.create:(Ljava/lang/String;)Lio/vertx/redis/client/impl/types/ErrorType;
invokeinterface io.vertx.redis.client.impl.ParserHandler.fatal:(Ljava/lang/Throwable;)V
4: goto 6
5: StackMap locals: long
StackMap stack:
aload 0
lload 2
invokestatic io.vertx.redis.client.impl.types.AttributeType.create:(J)Lio/vertx/redis/client/impl/types/AttributeType;
iconst_1
invokevirtual io.vertx.redis.client.impl.RESPParser.handleResponse:(Lio/vertx/redis/client/Response;Z)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/redis/client/impl/RESPParser;
0 7 1 eol I
1 7 2 len J
MethodParameters:
Name Flags
eol
private void handleBoolean();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.readByte:()B
istore 1
start local 1 1: iload 1
lookupswitch { // 2
102: 5
116: 2
default: 8
}
2: StackMap locals: int
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.skipEOL:()Z
pop
3: aload 0
getstatic io.vertx.redis.client.impl.types.BooleanType.TRUE:Lio/vertx/redis/client/impl/types/BooleanType;
iconst_0
invokevirtual io.vertx.redis.client.impl.RESPParser.handleResponse:(Lio/vertx/redis/client/Response;Z)V
4: goto 9
5: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.skipEOL:()Z
pop
6: aload 0
getstatic io.vertx.redis.client.impl.types.BooleanType.FALSE:Lio/vertx/redis/client/impl/types/BooleanType;
iconst_0
invokevirtual io.vertx.redis.client.impl.RESPParser.handleResponse:(Lio/vertx/redis/client/Response;Z)V
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RESPParser.handler:Lio/vertx/redis/client/impl/ParserHandler;
new java.lang.StringBuilder
dup
ldc "Invalid boolean value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic io.vertx.redis.client.impl.types.ErrorType.create:(Ljava/lang/String;)Lio/vertx/redis/client/impl/types/ErrorType;
invokeinterface io.vertx.redis.client.impl.ParserHandler.fatal:(Ljava/lang/Throwable;)V
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/vertx/redis/client/impl/RESPParser;
1 10 1 value B
private void handleSimpleString(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iload 1
isub
istore 3
start local 3 1: iload 3
iconst_2
if_icmpne 4
aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
iload 1
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.getByte:(I)B
bipush 79
if_icmpne 4
aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
iload 1
iconst_1
iadd
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.getByte:(I)B
bipush 75
if_icmpne 4
2: aload 0
getstatic io.vertx.redis.client.impl.types.SimpleStringType.OK:Lio/vertx/redis/client/impl/types/SimpleStringType;
iconst_0
invokevirtual io.vertx.redis.client.impl.RESPParser.handleResponse:(Lio/vertx/redis/client/Response;Z)V
3: goto 5
4: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
iload 2
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.readLine:(I)Ljava/lang/String;
invokestatic io.vertx.redis.client.impl.types.SimpleStringType.create:(Ljava/lang/String;)Lio/vertx/redis/client/impl/types/SimpleStringType;
iconst_0
invokevirtual io.vertx.redis.client.impl.RESPParser.handleResponse:(Lio/vertx/redis/client/Response;Z)V
5: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/redis/client/impl/RESPParser;
0 6 1 start I
0 6 2 eol I
1 6 3 length I
MethodParameters:
Name Flags
start
eol
private void handleError(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
iload 1
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.readLine:(I)Ljava/lang/String;
invokestatic io.vertx.redis.client.impl.types.ErrorType.create:(Ljava/lang/String;)Lio/vertx/redis/client/impl/types/ErrorType;
iconst_0
invokevirtual io.vertx.redis.client.impl.RESPParser.handleResponse:(Lio/vertx/redis/client/Response;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/redis/client/impl/RESPParser;
0 2 1 eol I
MethodParameters:
Name Flags
eol
private void handleBulk(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual io.vertx.redis.client.impl.RESPParser.handleLength:(I)J
lstore 2
start local 2 1: lload 2
lconst_0
lcmp
iflt 7
2: lload 2
ldc 536870912
lcmp
ifle 5
3: aload 0
getfield io.vertx.redis.client.impl.RESPParser.handler:Lio/vertx/redis/client/impl/ParserHandler;
ldc "ILLEGAL_STATE Redis Bulk cannot be larger than 512MB"
invokestatic io.vertx.redis.client.impl.types.ErrorType.create:(Ljava/lang/String;)Lio/vertx/redis/client/impl/types/ErrorType;
invokeinterface io.vertx.redis.client.impl.ParserHandler.fatal:(Ljava/lang/Throwable;)V
4: return
5: StackMap locals: long
StackMap stack:
aload 0
lload 2
l2i
putfield io.vertx.redis.client.impl.RESPParser.bytesNeeded:I
6: aload 0
iconst_0
putfield io.vertx.redis.client.impl.RESPParser.eol:Z
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/redis/client/impl/RESPParser;
0 8 1 eol I
1 8 2 len J
MethodParameters:
Name Flags
eol
private void handleMulti(byte, int);
descriptor: (BI)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
invokevirtual io.vertx.redis.client.impl.RESPParser.handleLength:(I)J
lstore 3
start local 3 1: lload 3
lconst_0
lcmp
iflt 10
2: lload 3
lconst_0
lcmp
ifne 7
3: aload 0
iload 1
bipush 37
if_icmpne 4
getstatic io.vertx.redis.client.impl.types.MultiType.EMPTY_MAP:Lio/vertx/redis/client/impl/types/MultiType;
goto 5
StackMap locals: io.vertx.redis.client.impl.RESPParser int int long
StackMap stack: io.vertx.redis.client.impl.RESPParser
4: getstatic io.vertx.redis.client.impl.types.MultiType.EMPTY_MULTI:Lio/vertx/redis/client/impl/types/MultiType;
StackMap locals: io.vertx.redis.client.impl.RESPParser int int long
StackMap stack: io.vertx.redis.client.impl.RESPParser io.vertx.redis.client.impl.types.MultiType
5: iconst_0
invokevirtual io.vertx.redis.client.impl.RESPParser.handleResponse:(Lio/vertx/redis/client/Response;Z)V
6: goto 10
7: StackMap locals:
StackMap stack:
aload 0
lload 3
iload 1
bipush 37
if_icmpne 8
iconst_1
goto 9
StackMap locals: io.vertx.redis.client.impl.RESPParser int int long
StackMap stack: io.vertx.redis.client.impl.RESPParser long
8: iconst_0
StackMap locals: io.vertx.redis.client.impl.RESPParser int int long
StackMap stack: io.vertx.redis.client.impl.RESPParser long int
9: invokestatic io.vertx.redis.client.impl.types.MultiType.create:(JZ)Lio/vertx/redis/client/impl/types/MultiType;
iconst_1
invokevirtual io.vertx.redis.client.impl.RESPParser.handleResponse:(Lio/vertx/redis/client/Response;Z)V
10: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/vertx/redis/client/impl/RESPParser;
0 11 1 type B
0 11 2 eol I
1 11 3 len J
MethodParameters:
Name Flags
type
eol
private void handleNull();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.RESPParser.buffer:Lio/vertx/redis/client/impl/ReadableBuffer;
invokevirtual io.vertx.redis.client.impl.ReadableBuffer.skipEOL:()Z
pop
1: aload 0
aconst_null
iconst_0
invokevirtual io.vertx.redis.client.impl.RESPParser.handleResponse:(Lio/vertx/redis/client/Response;Z)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/redis/client/impl/RESPParser;
private void handleResponse(io.vertx.redis.client.Response, boolean);
descriptor: (Lio/vertx/redis/client/Response;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.redis.client.impl.RESPParser.stack:Lio/vertx/redis/client/impl/ArrayStack;
invokevirtual io.vertx.redis.client.impl.ArrayStack.peek:()Ljava/lang/Object;
checkcast io.vertx.redis.client.impl.types.Multi
astore 3
start local 3 1: aload 3
ifnull 19
2: aload 3
aload 1
invokeinterface io.vertx.redis.client.impl.types.Multi.add:(Lio/vertx/redis/client/Response;)V
3: iload 2
ifeq 6
4: aload 0
getfield io.vertx.redis.client.impl.RESPParser.stack:Lio/vertx/redis/client/impl/ArrayStack;
aload 1
invokevirtual io.vertx.redis.client.impl.ArrayStack.push:(Ljava/lang/Object;)V
5: goto 23
6: StackMap locals: io.vertx.redis.client.impl.types.Multi
StackMap stack:
aload 3
astore 4
start local 4 7: goto 17
8: StackMap locals: io.vertx.redis.client.impl.types.Multi
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RESPParser.stack:Lio/vertx/redis/client/impl/ArrayStack;
invokevirtual io.vertx.redis.client.impl.ArrayStack.pop:()Ljava/lang/Object;
pop
9: aload 0
getfield io.vertx.redis.client.impl.RESPParser.stack:Lio/vertx/redis/client/impl/ArrayStack;
invokevirtual io.vertx.redis.client.impl.ArrayStack.empty:()Z
ifeq 13
10: aload 4
invokeinterface io.vertx.redis.client.impl.types.Multi.type:()Lio/vertx/redis/client/ResponseType;
getstatic io.vertx.redis.client.ResponseType.ATTRIBUTE:Lio/vertx/redis/client/ResponseType;
if_acmpeq 12
11: aload 0
getfield io.vertx.redis.client.impl.RESPParser.handler:Lio/vertx/redis/client/impl/ParserHandler;
aload 4
invokeinterface io.vertx.redis.client.impl.ParserHandler.handle:(Lio/vertx/redis/client/Response;)V
12: StackMap locals:
StackMap stack:
return
13: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RESPParser.stack:Lio/vertx/redis/client/impl/ArrayStack;
invokevirtual io.vertx.redis.client.impl.ArrayStack.peek:()Ljava/lang/Object;
checkcast io.vertx.redis.client.impl.types.Multi
astore 4
14: aload 4
ifnonnull 17
15: aload 0
getfield io.vertx.redis.client.impl.RESPParser.handler:Lio/vertx/redis/client/impl/ParserHandler;
ldc "ILLEGAL_STATE Multi can't be null"
invokestatic io.vertx.redis.client.impl.types.ErrorType.create:(Ljava/lang/String;)Lio/vertx/redis/client/impl/types/ErrorType;
invokeinterface io.vertx.redis.client.impl.ParserHandler.fatal:(Ljava/lang/Throwable;)V
16: return
17: StackMap locals:
StackMap stack:
aload 4
invokeinterface io.vertx.redis.client.impl.types.Multi.complete:()Z
ifne 8
end local 4 18: goto 23
19: StackMap locals:
StackMap stack:
iload 2
ifeq 22
20: aload 0
getfield io.vertx.redis.client.impl.RESPParser.stack:Lio/vertx/redis/client/impl/ArrayStack;
aload 1
invokevirtual io.vertx.redis.client.impl.ArrayStack.push:(Ljava/lang/Object;)V
21: goto 23
22: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.RESPParser.handler:Lio/vertx/redis/client/impl/ParserHandler;
aload 1
invokeinterface io.vertx.redis.client.impl.ParserHandler.handle:(Lio/vertx/redis/client/Response;)V
23: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lio/vertx/redis/client/impl/RESPParser;
0 24 1 response Lio/vertx/redis/client/Response;
0 24 2 push Z
1 24 3 multi Lio/vertx/redis/client/impl/types/Multi;
7 18 4 m Lio/vertx/redis/client/impl/types/Multi;
MethodParameters:
Name Flags
response
push
public void handle(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.buffer.Buffer
invokevirtual io.vertx.redis.client.impl.RESPParser.handle:(Lio/vertx/core/buffer/Buffer;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;
SourceFile: "RESPParser.java"
InnerClasses:
final NumericType = io.vertx.redis.client.impl.ReadableBuffer$NumericType of io.vertx.redis.client.impl.ReadableBuffer