public class org.apache.tomcat.util.http.parser.AcceptLanguage
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.http.parser.AcceptLanguage
super_class: java.lang.Object
{
private final java.util.Locale locale;
descriptor: Ljava/util/Locale;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double quality;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(java.util.Locale, double);
descriptor: (Ljava/util/Locale;D)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, 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.AcceptLanguage.locale:Ljava/util/Locale;
2: aload 0
dload 2
putfield org.apache.tomcat.util.http.parser.AcceptLanguage.quality:D
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/AcceptLanguage;
0 4 1 locale Ljava/util/Locale;
0 4 2 quality D
MethodParameters:
Name Flags
locale
quality
public java.util.Locale getLocale();
descriptor: ()Ljava/util/Locale;
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.AcceptLanguage.locale:Ljava/util/Locale;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/parser/AcceptLanguage;
public double getQuality();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.http.parser.AcceptLanguage.quality:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/http/parser/AcceptLanguage;
public static java.util.List<org.apache.tomcat.util.http.parser.AcceptLanguage> parse(java.io.StringReader);
descriptor: (Ljava/io/StringReader;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: StackMap locals: java.util.List
StackMap stack:
aload 0
invokestatic org.apache.tomcat.util.http.parser.HttpParser.readToken:(Ljava/io/Reader;)Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnonnull 5
3: 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
4: goto 1
5: StackMap locals: java.lang.String
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
ifne 7
6: goto 14
7: StackMap locals:
StackMap stack:
dconst_1
dstore 3
start local 3 8: 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 9: aload 5
getstatic org.apache.tomcat.util.http.parser.SkipResult.FOUND:Lorg/apache/tomcat/util/http/parser/SkipResult;
if_acmpne 11
10: aload 0
bipush 44
invokestatic org.apache.tomcat.util.http.parser.HttpParser.readWeight:(Ljava/io/Reader;C)D
dstore 3
11: StackMap locals: double org.apache.tomcat.util.http.parser.SkipResult
StackMap stack:
dload 3
dconst_0
dcmpl
ifle 1
12: aload 1
new org.apache.tomcat.util.http.parser.AcceptLanguage
dup
aload 2
invokestatic java.util.Locale.forLanguageTag:(Ljava/lang/String;)Ljava/util/Locale;
dload 3
invokespecial org.apache.tomcat.util.http.parser.AcceptLanguage.<init>:(Ljava/util/Locale;D)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 end local 2 13: goto 1
14: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 input Ljava/io/StringReader;
1 15 1 result Ljava/util/List<Lorg/apache/tomcat/util/http/parser/AcceptLanguage;>;
2 13 2 languageTag Ljava/lang/String;
8 13 3 quality D
9 13 5 lookForSemiColon Lorg/apache/tomcat/util/http/parser/SkipResult;
Exceptions:
throws java.io.IOException
Signature: (Ljava/io/StringReader;)Ljava/util/List<Lorg/apache/tomcat/util/http/parser/AcceptLanguage;>;
MethodParameters:
Name Flags
input
}
SourceFile: "AcceptLanguage.java"