public class org.apache.tomcat.util.http.parser.Upgrade
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.http.parser.Upgrade
super_class: java.lang.Object
{
private final java.lang.String protocolName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String protocolVersion;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, 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
aload 1
putfield org.apache.tomcat.util.http.parser.Upgrade.protocolName:Ljava/lang/String;
2: aload 0
aload 2
putfield org.apache.tomcat.util.http.parser.Upgrade.protocolVersion:Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/http/parser/Upgrade;
0 4 1 protocolName Ljava/lang/String;
0 4 2 protocolVersion Ljava/lang/String;
MethodParameters:
Name Flags
protocolName
protocolVersion
public java.lang.String getProtocolName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.parser.Upgrade.protocolName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/parser/Upgrade;
public java.lang.String getProtocolVersion();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.parser.Upgrade.protocolVersion:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/parser/Upgrade;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.parser.Upgrade.protocolVersion:Ljava/lang/String;
ifnonnull 2
1: aload 0
getfield org.apache.tomcat.util.http.parser.Upgrade.protocolName:Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
getfield org.apache.tomcat.util.http.parser.Upgrade.protocolName:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.tomcat.util.http.parser.Upgrade.protocolVersion:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/http/parser/Upgrade;
public static java.util.List<org.apache.tomcat.util.http.parser.Upgrade> parse(java.util.Enumeration<java.lang.String>);
descriptor: (Ljava/util/Enumeration;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: goto 21
2: StackMap locals: java.util.List
StackMap stack:
aload 0
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: aload 2
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals: java.lang.String
StackMap stack:
new java.io.StringReader
dup
aload 2
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
astore 3
start local 3 6: StackMap locals: java.io.Reader
StackMap stack:
aload 3
invokestatic org.apache.tomcat.util.http.parser.HttpParser.skipLws:(Ljava/io/Reader;)I
pop
7: aload 3
invokestatic org.apache.tomcat.util.http.parser.HttpParser.readToken:(Ljava/io/Reader;)Ljava/lang/String;
astore 5
start local 5 8: aload 5
ifnull 9
aload 5
invokevirtual java.lang.String.isEmpty:()Z
ifeq 10
9: StackMap locals: java.util.Enumeration java.util.List java.lang.String java.io.Reader top java.lang.String
StackMap stack:
aconst_null
areturn
10: StackMap locals:
StackMap stack:
aconst_null
astore 6
start local 6 11: aload 3
ldc "/"
invokestatic org.apache.tomcat.util.http.parser.HttpParser.skipConstant:(Ljava/io/Reader;Ljava/lang/String;)Lorg/apache/tomcat/util/http/parser/SkipResult;
getstatic org.apache.tomcat.util.http.parser.SkipResult.FOUND:Lorg/apache/tomcat/util/http/parser/SkipResult;
if_acmpne 15
12: aload 3
invokestatic org.apache.tomcat.util.http.parser.HttpParser.readToken:(Ljava/io/Reader;)Ljava/lang/String;
astore 6
13: aload 6
ifnull 14
aload 6
invokevirtual java.lang.String.isEmpty:()Z
ifeq 15
14: StackMap locals: java.lang.String
StackMap stack:
aconst_null
areturn
15: StackMap locals:
StackMap stack:
aload 3
invokestatic org.apache.tomcat.util.http.parser.HttpParser.skipLws:(Ljava/io/Reader;)I
pop
16: aload 3
ldc ","
invokestatic org.apache.tomcat.util.http.parser.HttpParser.skipConstant:(Ljava/io/Reader;Ljava/lang/String;)Lorg/apache/tomcat/util/http/parser/SkipResult;
astore 4
start local 4 17: aload 4
getstatic org.apache.tomcat.util.http.parser.SkipResult.NOT_FOUND:Lorg/apache/tomcat/util/http/parser/SkipResult;
if_acmpne 19
18: aconst_null
areturn
19: StackMap locals: java.util.Enumeration java.util.List java.lang.String java.io.Reader org.apache.tomcat.util.http.parser.SkipResult java.lang.String java.lang.String
StackMap stack:
aload 1
new org.apache.tomcat.util.http.parser.Upgrade
dup
aload 5
aload 6
invokespecial org.apache.tomcat.util.http.parser.Upgrade.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 5 20: aload 4
getstatic org.apache.tomcat.util.http.parser.SkipResult.FOUND:Lorg/apache/tomcat/util/http/parser/SkipResult;
if_acmpeq 6
end local 4 end local 3 end local 2 21: StackMap locals: java.util.Enumeration java.util.List
StackMap stack:
aload 0
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 2
22: aload 1
23: areturn
end local 1 24: StackMap locals: java.util.Enumeration
StackMap stack: java.io.IOException
pop
25: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 headerValues Ljava/util/Enumeration<Ljava/lang/String;>;
1 24 1 result Ljava/util/List<Lorg/apache/tomcat/util/http/parser/Upgrade;>;
3 21 2 headerValue Ljava/lang/String;
6 21 3 r Ljava/io/Reader;
17 21 4 skipComma Lorg/apache/tomcat/util/http/parser/SkipResult;
8 20 5 protocolName Ljava/lang/String;
11 20 6 protocolVersion Ljava/lang/String;
Exception table:
from to target type
0 4 24 Class java.io.IOException
5 9 24 Class java.io.IOException
10 14 24 Class java.io.IOException
15 18 24 Class java.io.IOException
19 23 24 Class java.io.IOException
Signature: (Ljava/util/Enumeration<Ljava/lang/String;>;)Ljava/util/List<Lorg/apache/tomcat/util/http/parser/Upgrade;>;
MethodParameters:
Name Flags
headerValues
}
SourceFile: "Upgrade.java"