public class org.apache.tomcat.util.http.fileupload.ParameterParser
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.http.fileupload.ParameterParser
super_class: java.lang.Object
{
private char[] chars;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int len;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int i1;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int i2;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean lowerCaseNames;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.chars:[C
2: aload 0
iconst_0
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.pos:I
3: aload 0
iconst_0
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.len:I
4: aload 0
iconst_0
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.i1:I
5: aload 0
iconst_0
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.i2:I
6: aload 0
iconst_0
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.lowerCaseNames:Z
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/http/fileupload/ParameterParser;
private boolean hasChar();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.pos:I
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.len:I
if_icmpge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/http/fileupload/ParameterParser;
private java.lang.String getToken(boolean);
descriptor: (Z)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: goto 2
1: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i1:I
iconst_1
iadd
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.i1:I
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i1:I
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i2:I
if_icmpge 5
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.chars:[C
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i1:I
caload
invokestatic java.lang.Character.isWhitespace:(C)Z
ifne 1
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i2:I
iconst_1
isub
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.i2:I
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i2:I
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i1:I
if_icmple 6
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.chars:[C
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i2:I
iconst_1
isub
caload
invokestatic java.lang.Character.isWhitespace:(C)Z
ifne 4
6: StackMap locals:
StackMap stack:
iload 1
ifeq 12
7: aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i2:I
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i1:I
isub
iconst_2
if_icmplt 12
8: aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.chars:[C
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i1:I
caload
bipush 34
if_icmpne 12
9: aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.chars:[C
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i2:I
iconst_1
isub
caload
bipush 34
if_icmpne 12
10: aload 0
dup
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i1:I
iconst_1
iadd
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.i1:I
11: aload 0
dup
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i2:I
iconst_1
isub
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.i2:I
12: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 13: aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i2:I
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i1:I
if_icmple 15
14: new java.lang.String
dup
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.chars:[C
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i1:I
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i2:I
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i1:I
isub
invokespecial java.lang.String.<init>:([CII)V
astore 2
15: StackMap locals: java.lang.String
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/tomcat/util/http/fileupload/ParameterParser;
0 16 1 quoted Z
13 16 2 result Ljava/lang/String;
MethodParameters:
Name Flags
quoted
private boolean isOneOf(char, char[]);
descriptor: (C[C)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=8, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 2
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 7
StackMap locals: org.apache.tomcat.util.http.fileupload.ParameterParser int char[] int top int int char[]
StackMap stack:
2: aload 7
iload 5
caload
istore 4
start local 4 3: iload 1
iload 4
if_icmpne 6
4: iconst_1
istore 3
5: goto 8
end local 4 6: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 6
if_icmplt 2
8: StackMap locals: org.apache.tomcat.util.http.fileupload.ParameterParser int char[] int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/tomcat/util/http/fileupload/ParameterParser;
0 9 1 ch C
0 9 2 charray [C
1 9 3 result Z
3 6 4 element C
MethodParameters:
Name Flags
ch
charray final
private java.lang.String parseToken(char[]);
descriptor: ([C)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.pos:I
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.i1:I
1: aload 0
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.pos:I
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.i2:I
2: goto 8
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.chars:[C
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.pos:I
caload
istore 2
start local 2 4: aload 0
iload 2
aload 1
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.isOneOf:(C[C)Z
ifeq 6
5: goto 9
6: StackMap locals: int
StackMap stack:
aload 0
dup
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i2:I
iconst_1
iadd
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.i2:I
7: aload 0
dup
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.pos:I
iconst_1
iadd
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.pos:I
end local 2 8: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.hasChar:()Z
ifne 3
9: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.getToken:(Z)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/tomcat/util/http/fileupload/ParameterParser;
0 10 1 terminators [C
4 8 2 ch C
MethodParameters:
Name Flags
terminators final
private java.lang.String parseQuotedToken(char[]);
descriptor: ([C)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.pos:I
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.i1:I
1: aload 0
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.pos:I
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.i2:I
2: iconst_0
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 17
5: StackMap locals: org.apache.tomcat.util.http.fileupload.ParameterParser char[] top int int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.chars:[C
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.pos:I
caload
istore 2
start local 2 6: iload 3
ifne 8
aload 0
iload 2
aload 1
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.isOneOf:(C[C)Z
ifeq 8
7: goto 18
8: StackMap locals: org.apache.tomcat.util.http.fileupload.ParameterParser char[] int int int
StackMap stack:
iload 4
ifne 12
iload 2
bipush 34
if_icmpne 12
9: iload 3
ifeq 10
iconst_0
goto 11
StackMap locals:
StackMap stack:
10: iconst_1
StackMap locals:
StackMap stack: int
11: istore 3
12: StackMap locals:
StackMap stack:
iload 4
ifne 13
iload 2
bipush 92
if_icmpne 13
iconst_1
goto 14
StackMap locals:
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: istore 4
15: aload 0
dup
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.i2:I
iconst_1
iadd
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.i2:I
16: aload 0
dup
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.pos:I
iconst_1
iadd
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.pos:I
end local 2 17: StackMap locals: org.apache.tomcat.util.http.fileupload.ParameterParser char[] top int int
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.hasChar:()Z
ifne 5
18: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.getToken:(Z)Ljava/lang/String;
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/tomcat/util/http/fileupload/ParameterParser;
0 19 1 terminators [C
6 17 2 ch C
3 19 3 quoted Z
4 19 4 charEscaped Z
MethodParameters:
Name Flags
terminators final
public boolean isLowerCaseNames();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.lowerCaseNames:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/fileupload/ParameterParser;
public void setLowerCaseNames(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.lowerCaseNames:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/http/fileupload/ParameterParser;
0 2 1 b Z
MethodParameters:
Name Flags
b
public java.util.Map<java.lang.String, java.lang.String> parse(java.lang.String, char[]);
descriptor: (Ljava/lang/String;[C)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 1
aload 2
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
areturn
2: StackMap locals:
StackMap stack:
aload 2
iconst_0
caload
istore 3
start local 3 3: aload 1
ifnull 13
4: aload 1
invokevirtual java.lang.String.length:()I
istore 4
start local 4 5: aload 2
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 12
StackMap locals: org.apache.tomcat.util.http.fileupload.ParameterParser java.lang.String char[] int int top int int char[]
StackMap stack:
6: aload 8
iload 6
caload
istore 5
start local 5 7: aload 1
iload 5
invokevirtual java.lang.String.indexOf:(I)I
istore 9
start local 9 8: iload 9
iconst_m1
if_icmpeq 11
iload 9
iload 4
if_icmpge 11
9: iload 9
istore 4
10: iload 5
istore 3
end local 9 end local 5 11: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
12: iload 6
iload 7
if_icmplt 6
end local 4 13: StackMap locals: org.apache.tomcat.util.http.fileupload.ParameterParser java.lang.String char[] int
StackMap stack:
aload 0
aload 1
iload 3
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.parse:(Ljava/lang/String;C)Ljava/util/Map;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/tomcat/util/http/fileupload/ParameterParser;
0 14 1 str Ljava/lang/String;
0 14 2 separators [C
3 14 3 separator C
5 13 4 idx I
7 11 5 separator2 C
8 11 9 tmp I
Signature: (Ljava/lang/String;[C)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
str final
separators
public java.util.Map<java.lang.String, java.lang.String> parse(java.lang.String, char);
descriptor: (Ljava/lang/String;C)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.String.toCharArray:()[C
iload 2
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.parse:([CC)Ljava/util/Map;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/http/fileupload/ParameterParser;
0 3 1 str Ljava/lang/String;
0 3 2 separator C
Signature: (Ljava/lang/String;C)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
str final
separator
public java.util.Map<java.lang.String, java.lang.String> parse(char[], char);
descriptor: ([CC)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_0
aload 1
arraylength
iload 2
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.parse:([CIIC)Ljava/util/Map;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/http/fileupload/ParameterParser;
0 3 1 charArray [C
0 3 2 separator C
Signature: ([CC)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
charArray final
separator
public java.util.Map<java.lang.String, java.lang.String> parse(char[], int, int, char);
descriptor: ([CIIC)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
ifnonnull 2
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
areturn
2: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
start local 5 3: aload 0
aload 1
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.chars:[C
4: aload 0
iload 2
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.pos:I
5: aload 0
iload 3
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.len:I
6: aconst_null
astore 6
start local 6 7: aconst_null
astore 7
start local 7 8: goto 31
9: StackMap locals: java.util.HashMap java.lang.String java.lang.String
StackMap stack:
aload 0
iconst_2
newarray 5
dup
iconst_0
10: bipush 61
castore
dup
iconst_1
iload 4
castore
11: invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.parseToken:([C)Ljava/lang/String;
astore 6
12: aconst_null
astore 7
13: aload 0
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.hasChar:()Z
ifeq 24
aload 1
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.pos:I
caload
bipush 61
if_icmpne 24
14: aload 0
dup
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.pos:I
iconst_1
iadd
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.pos:I
15: aload 0
iconst_1
newarray 5
dup
iconst_0
16: iload 4
castore
17: invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.parseQuotedToken:([C)Ljava/lang/String;
astore 7
18: aload 7
ifnull 24
19: aload 6
invokestatic org.apache.tomcat.util.http.fileupload.util.mime.RFC2231Utility.hasEncodedValue:(Ljava/lang/String;)Z
ifeq 20
aload 7
invokestatic org.apache.tomcat.util.http.fileupload.util.mime.RFC2231Utility.decodeText:(Ljava/lang/String;)Ljava/lang/String;
goto 21
20: StackMap locals:
StackMap stack:
aload 7
invokestatic org.apache.tomcat.util.http.fileupload.util.mime.MimeUtility.decodeText:(Ljava/lang/String;)Ljava/lang/String;
21: StackMap locals:
StackMap stack: java.lang.String
astore 7
22: goto 24
StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
23: pop
24: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.hasChar:()Z
ifeq 26
aload 1
aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.pos:I
caload
iload 4
if_icmpne 26
25: aload 0
dup
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.pos:I
iconst_1
iadd
putfield org.apache.tomcat.util.http.fileupload.ParameterParser.pos:I
26: StackMap locals:
StackMap stack:
aload 6
ifnull 31
aload 6
invokevirtual java.lang.String.length:()I
ifle 31
27: aload 6
invokestatic org.apache.tomcat.util.http.fileupload.util.mime.RFC2231Utility.stripDelimiter:(Ljava/lang/String;)Ljava/lang/String;
astore 6
28: aload 0
getfield org.apache.tomcat.util.http.fileupload.ParameterParser.lowerCaseNames:Z
ifeq 30
29: aload 6
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 6
30: StackMap locals:
StackMap stack:
aload 5
aload 6
aload 7
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
31: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.http.fileupload.ParameterParser.hasChar:()Z
ifne 9
32: aload 5
areturn
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 33 0 this Lorg/apache/tomcat/util/http/fileupload/ParameterParser;
0 33 1 charArray [C
0 33 2 offset I
0 33 3 length I
0 33 4 separator C
3 33 5 params Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;
7 33 6 paramName Ljava/lang/String;
8 33 7 paramValue Ljava/lang/String;
Exception table:
from to target type
19 22 23 Class java.io.UnsupportedEncodingException
Signature: ([CIIC)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
charArray final
offset
length
separator
}
SourceFile: "ParameterParser.java"