public class org.apache.tomcat.util.http.parser.TokenList
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.http.parser.TokenList
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/http/parser/TokenList;
public static boolean parseTokenList(java.util.Enumeration<java.lang.String>, java.util.Collection<java.lang.String>);
descriptor: (Ljava/util/Enumeration;Ljava/util/Collection;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iconst_1
istore 2
start local 2 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: aload 3
ifnull 6
4: new java.io.StringReader
dup
aload 3
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
aload 1
invokestatic org.apache.tomcat.util.http.parser.TokenList.parseTokenList:(Ljava/io/Reader;Ljava/util/Collection;)Z
ifne 6
5: iconst_0
istore 2
end local 3 6: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 2
7: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 inputs Ljava/util/Enumeration<Ljava/lang/String;>;
0 8 1 collection Ljava/util/Collection<Ljava/lang/String;>;
1 8 2 result Z
3 6 3 nextHeaderValue Ljava/lang/String;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Enumeration<Ljava/lang/String;>;Ljava/util/Collection<Ljava/lang/String;>;)Z
MethodParameters:
Name Flags
inputs
collection
public static boolean parseTokenList(java.io.Reader, java.util.Collection<java.lang.String>);
descriptor: (Ljava/io/Reader;Ljava/util/Collection;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: StackMap locals: int int
StackMap stack:
aload 0
invokestatic org.apache.tomcat.util.http.parser.HttpParser.readToken:(Ljava/io/Reader;)Ljava/lang/String;
astore 4
start local 4 3: aload 4
ifnonnull 7
4: iconst_1
istore 2
5: aload 0
iconst_0
bipush 44
invokestatic org.apache.tomcat.util.http.parser.HttpParser.skipUntil:(Ljava/io/Reader;IC)Lorg/apache/tomcat/util/http/parser/SkipResult;
pop
6: goto 2
7: StackMap locals: java.lang.String
StackMap stack:
aload 4
invokevirtual java.lang.String.length:()I
ifne 9
8: goto 21
9: StackMap locals:
StackMap stack:
aload 0
ldc ","
invokestatic org.apache.tomcat.util.http.parser.HttpParser.skipConstant:(Ljava/io/Reader;Ljava/lang/String;)Lorg/apache/tomcat/util/http/parser/SkipResult;
astore 5
start local 5 10: aload 5
getstatic org.apache.tomcat.util.http.parser.SkipResult.EOF:Lorg/apache/tomcat/util/http/parser/SkipResult;
if_acmpne 14
11: iconst_1
istore 3
12: aload 1
aload 4
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
13: goto 21
14: StackMap locals: org.apache.tomcat.util.http.parser.SkipResult
StackMap stack:
aload 5
getstatic org.apache.tomcat.util.http.parser.SkipResult.FOUND:Lorg/apache/tomcat/util/http/parser/SkipResult;
if_acmpne 18
15: iconst_1
istore 3
16: aload 1
aload 4
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
17: goto 2
18: StackMap locals:
StackMap stack:
iconst_1
istore 2
19: aload 0
iconst_0
bipush 44
invokestatic org.apache.tomcat.util.http.parser.HttpParser.skipUntil:(Ljava/io/Reader;IC)Lorg/apache/tomcat/util/http/parser/SkipResult;
pop
end local 5 end local 4 20: goto 2
21: StackMap locals:
StackMap stack:
iload 3
ifeq 22
iload 2
ifne 22
iconst_1
ireturn
StackMap locals:
StackMap stack:
22: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 input Ljava/io/Reader;
0 23 1 collection Ljava/util/Collection<Ljava/lang/String;>;
1 23 2 invalid Z
2 23 3 valid Z
3 20 4 fieldName Ljava/lang/String;
10 20 5 skipResult Lorg/apache/tomcat/util/http/parser/SkipResult;
Exceptions:
throws java.io.IOException
Signature: (Ljava/io/Reader;Ljava/util/Collection<Ljava/lang/String;>;)Z
MethodParameters:
Name Flags
input
collection
}
SourceFile: "TokenList.java"