public class
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.core.request.AcceptHeaders
super_class: java.lang.Object
{
static final boolean ;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/jboss/resteasy/core/request/AcceptHeaders;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.jboss.resteasy.core.request.AcceptHeaders.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/request/AcceptHeaders;
public static java.util.Map<java.lang.String, org.jboss.resteasy.core.request.QualityValue> getStringQualityValues(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=11, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 0
3: aload 0
invokevirtual java.lang.String.length:()I
ifne 5
4: aconst_null
areturn
5: StackMap locals:
StackMap stack:
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 1
start local 1 6: iconst_0
istore 2
start local 2 7: StackMap locals: java.util.Map int
StackMap stack:
aload 0
bipush 44
iload 2
invokevirtual java.lang.String.indexOf:(II)I
istore 3
start local 3 8: iload 3
ifge 11
9: aload 0
iload 2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 10: goto 12
end local 4 11: StackMap locals: int
StackMap stack:
aload 0
iload 2
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 12: StackMap locals: java.lang.String
StackMap stack:
getstatic org.jboss.resteasy.core.request.QualityValue.DEFAULT:Lorg/jboss/resteasy/core/request/QualityValue;
astore 5
start local 5 13: aload 4
bipush 59
invokevirtual java.lang.String.indexOf:(I)I
istore 6
start local 6 14: iload 6
iflt 25
15: aload 4
iload 6
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 7
start local 7 16: aload 4
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
17: aload 7
bipush 61
invokevirtual java.lang.String.indexOf:(I)I
istore 8
start local 8 18: iload 8
ifge 20
19: new javax.ws.rs.BadRequestException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 7
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.malformedParameter:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.ws.rs.BadRequestException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals: java.lang.String java.util.Map int int java.lang.String org.jboss.resteasy.core.request.QualityValue int java.lang.String int
StackMap stack:
aload 7
iconst_0
iload 8
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 9
start local 9 21: ldc "q"
aload 9
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 23
22: new javax.ws.rs.BadRequestException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 9
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.unsupportedParameter:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.ws.rs.BadRequestException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals: java.lang.String
StackMap stack:
aload 7
iload 8
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 10
start local 10 24: aload 10
invokestatic org.jboss.resteasy.core.request.QualityValue.valueOf:(Ljava/lang/String;)Lorg/jboss/resteasy/core/request/QualityValue;
astore 5
end local 10 end local 9 end local 8 end local 7 25: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 4
26: aload 4
invokevirtual java.lang.String.length:()I
ifne 28
27: new javax.ws.rs.BadRequestException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 0
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.emptyFieldInHeader:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.ws.rs.BadRequestException.<init>:(Ljava/lang/String;)V
athrow
28: StackMap locals:
StackMap stack:
aload 4
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 30
29: aload 1
aconst_null
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
goto 31
30: StackMap locals:
StackMap stack:
aload 1
aload 4
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
31: StackMap locals:
StackMap stack:
iload 3
ifge 33
32: goto 35
33: StackMap locals:
StackMap stack:
iload 3
iconst_1
iadd
istore 2
end local 6 end local 5 end local 4 end local 3 34: goto 7
35: StackMap locals: java.lang.String java.util.Map int
StackMap stack:
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.LOGGER:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/LogMessages;
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.debug:(Ljava/lang/Object;)V
36: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 header Ljava/lang/String;
6 37 1 result Ljava/util/Map<Ljava/lang/String;Lorg/jboss/resteasy/core/request/QualityValue;>;
7 37 2 offset I
8 34 3 endIndex I
10 11 4 content Ljava/lang/String;
12 34 4 content Ljava/lang/String;
13 34 5 qualityValue Lorg/jboss/resteasy/core/request/QualityValue;
14 34 6 qualityIndex I
16 25 7 parameter Ljava/lang/String;
18 25 8 equalsIndex I
21 25 9 name Ljava/lang/String;
24 25 10 value Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Map<Ljava/lang/String;Lorg/jboss/resteasy/core/request/QualityValue;>;
MethodParameters:
Name Flags
header
public static java.util.Map<java.util.Locale, org.jboss.resteasy.core.request.QualityValue> getLocaleQualityValues(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=11, args_size=1
start local 0 0: aload 0
invokestatic org.jboss.resteasy.core.request.AcceptHeaders.getStringQualityValues:(Ljava/lang/String;)Ljava/util/Map;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.util.Map
StackMap stack:
new java.util.LinkedHashMap
dup
aload 1
invokeinterface java.util.Map.size:()I
iconst_2
imul
invokespecial java.util.LinkedHashMap.<init>:(I)V
astore 2
start local 2 4: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 22
StackMap locals: java.lang.String java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 6: aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.jboss.resteasy.core.request.QualityValue
astore 5
start local 5 7: aconst_null
astore 6
start local 6 8: aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 9: aload 7
ifnull 21
10: aload 7
invokevirtual java.lang.String.length:()I
istore 8
start local 8 11: iload 8
iconst_2
if_icmpne 14
12: new java.util.Locale
dup
aload 7
invokespecial java.util.Locale.<init>:(Ljava/lang/String;)V
astore 6
13: goto 21
14: StackMap locals: java.lang.String java.util.Map java.util.Map java.util.Map$Entry java.util.Iterator org.jboss.resteasy.core.request.QualityValue java.util.Locale java.lang.String int
StackMap stack:
iload 8
iconst_5
if_icmpne 19
aload 7
iconst_2
invokevirtual java.lang.String.charAt:(I)C
bipush 45
if_icmpne 19
15: aload 7
iconst_0
iconst_2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 9
start local 9 16: aload 7
iconst_3
iconst_5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 10
start local 10 17: new java.util.Locale
dup
aload 9
aload 10
invokespecial java.util.Locale.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 6
end local 10 end local 9 18: goto 21
19: StackMap locals:
StackMap stack:
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.LOGGER:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/LogMessages;
aload 7
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.ignoringUnsupportedLocale:(Ljava/lang/String;)V
20: goto 22
end local 8 21: StackMap locals:
StackMap stack:
aload 2
aload 6
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 end local 6 end local 5 end local 3 22: StackMap locals: java.lang.String java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
23: getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.LOGGER:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/LogMessages;
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.debug:(Ljava/lang/Object;)V
24: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 header Ljava/lang/String;
1 25 1 stringResult Ljava/util/Map<Ljava/lang/String;Lorg/jboss/resteasy/core/request/QualityValue;>;
4 25 2 result Ljava/util/Map<Ljava/util/Locale;Lorg/jboss/resteasy/core/request/QualityValue;>;
6 22 3 entry Ljava/util/Map$Entry<Ljava/lang/String;Lorg/jboss/resteasy/core/request/QualityValue;>;
7 22 5 quality Lorg/jboss/resteasy/core/request/QualityValue;
8 22 6 locale Ljava/util/Locale;
9 22 7 value Ljava/lang/String;
11 21 8 length I
16 18 9 language Ljava/lang/String;
17 18 10 country Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Map<Ljava/util/Locale;Lorg/jboss/resteasy/core/request/QualityValue;>;
MethodParameters:
Name Flags
header
public static java.util.Map<javax.ws.rs.core.MediaType, org.jboss.resteasy.core.request.QualityValue> getMediaTypeQualityValues(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=10, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 0
3: aload 0
invokevirtual java.lang.String.length:()I
ifne 5
4: aconst_null
areturn
5: StackMap locals:
StackMap stack:
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 1
start local 1 6: iconst_0
istore 2
start local 2 7: goto 32
8: StackMap locals: java.util.Map int
StackMap stack:
aload 0
bipush 47
iload 2
invokevirtual java.lang.String.indexOf:(II)I
istore 3
start local 3 9: iload 3
ifge 11
10: new javax.ws.rs.BadRequestException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 0
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.malformedMediaType:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.ws.rs.BadRequestException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: int
StackMap stack:
aload 0
iload 2
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 12: aconst_null
astore 6
start local 6 13: getstatic org.jboss.resteasy.core.request.QualityValue.DEFAULT:Lorg/jboss/resteasy/core/request/QualityValue;
astore 7
start local 7 14: iload 3
iconst_1
iadd
istore 2
15: aload 0
bipush 59
iload 2
invokevirtual java.lang.String.indexOf:(II)I
istore 8
start local 8 16: aload 0
bipush 44
iload 2
invokevirtual java.lang.String.indexOf:(II)I
istore 9
start local 9 17: iload 8
iload 9
if_icmpne 22
18: getstatic org.jboss.resteasy.core.request.AcceptHeaders.$assertionsDisabled:Z
ifne 19
iload 9
iconst_m1
if_icmpeq 19
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
19: StackMap locals: java.lang.String java.util.Map int int java.lang.String top java.util.Map org.jboss.resteasy.core.request.QualityValue int int
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
start local 5 20: iconst_m1
istore 2
21: goto 31
end local 5 22: StackMap locals:
StackMap stack:
iload 9
iflt 23
iload 8
iflt 29
iload 8
iload 9
if_icmpge 29
23: StackMap locals:
StackMap stack:
aload 0
iload 2
iload 8
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
start local 5 24: iload 8
iconst_1
iadd
istore 2
25: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 6
26: aload 6
aload 0
iload 2
invokestatic org.jboss.resteasy.core.request.AcceptHeaders.parseParameters:(Ljava/util/Map;Ljava/lang/String;I)I
istore 2
27: aload 6
invokestatic org.jboss.resteasy.core.request.AcceptHeaders.evaluateAcceptParameters:(Ljava/util/Map;)Lorg/jboss/resteasy/core/request/QualityValue;
astore 7
28: goto 31
end local 5 29: StackMap locals:
StackMap stack:
aload 0
iload 2
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
start local 5 30: iload 9
iconst_1
iadd
istore 2
31: StackMap locals: java.lang.String java.util.Map int int java.lang.String java.lang.String java.util.Map org.jboss.resteasy.core.request.QualityValue int int
StackMap stack:
aload 1
new javax.ws.rs.core.MediaType
dup
aload 4
invokevirtual java.lang.String.trim:()Ljava/lang/String;
aload 5
invokevirtual java.lang.String.trim:()Ljava/lang/String;
aload 6
invokespecial javax.ws.rs.core.MediaType.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V
aload 7
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 32: StackMap locals: java.lang.String java.util.Map int
StackMap stack:
iload 2
ifge 8
33: getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.LOGGER:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/LogMessages;
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.debug:(Ljava/lang/Object;)V
34: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 header Ljava/lang/String;
6 35 1 result Ljava/util/Map<Ljavax/ws/rs/core/MediaType;Lorg/jboss/resteasy/core/request/QualityValue;>;
7 35 2 offset I
9 32 3 slashIndex I
12 32 4 type Ljava/lang/String;
20 22 5 subtype Ljava/lang/String;
24 29 5 subtype Ljava/lang/String;
30 32 5 subtype Ljava/lang/String;
13 32 6 parameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
14 32 7 qualityValue Lorg/jboss/resteasy/core/request/QualityValue;
16 32 8 parameterStartIndex I
17 32 9 itemEndIndex I
Signature: (Ljava/lang/String;)Ljava/util/Map<Ljavax/ws/rs/core/MediaType;Lorg/jboss/resteasy/core/request/QualityValue;>;
MethodParameters:
Name Flags
header
private static int parseParameters(java.util.Map<java.lang.String, java.lang.String>, java.lang.String, );
descriptor: (Ljava/util/Map;Ljava/lang/String;I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: StackMap locals:
StackMap stack:
aload 1
bipush 61
iload 2
invokevirtual java.lang.String.indexOf:(II)I
istore 3
start local 3 1: iload 3
ifge 3
2: new javax.ws.rs.BadRequestException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 1
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.malformedParameters:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.ws.rs.BadRequestException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
aload 1
iload 2
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 4
start local 4 4: iload 3
iconst_1
iadd
istore 2
5: aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
bipush 34
if_icmpne 30
6: iload 2
istore 5
start local 5 7: iinc 2 1
8: StackMap locals: java.lang.String int
StackMap stack:
aload 1
bipush 34
iinc 5 1
iload 5
invokevirtual java.lang.String.indexOf:(II)I
istore 5
9: iload 5
ifge 11
10: new javax.ws.rs.BadRequestException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 1
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.quotedStringIsNotClosed:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.ws.rs.BadRequestException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 1
iload 5
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 92
if_icmpeq 8
12: aload 1
iload 2
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
start local 6 13: aload 0
aload 4
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: iload 5
iconst_1
iadd
istore 2
15: aload 1
bipush 59
iload 2
invokevirtual java.lang.String.indexOf:(II)I
istore 7
start local 7 16: aload 1
bipush 44
iload 2
invokevirtual java.lang.String.indexOf:(II)I
istore 8
start local 8 17: iload 7
iload 8
if_icmpne 22
18: getstatic org.jboss.resteasy.core.request.AcceptHeaders.$assertionsDisabled:Z
ifne 19
iload 8
iconst_m1
if_icmpeq 19
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
19: StackMap locals: java.lang.String int int
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifeq 21
20: new javax.ws.rs.BadRequestException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 1
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.tailingGarbage:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.ws.rs.BadRequestException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals:
StackMap stack:
iconst_m1
ireturn
22: StackMap locals:
StackMap stack:
iload 7
iflt 23
iload 8
iflt 26
iload 8
iload 7
if_icmpge 26
23: StackMap locals:
StackMap stack:
aload 1
iload 2
iload 8
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifeq 25
24: new javax.ws.rs.BadRequestException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 1
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.garbageAfterQuotedString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.ws.rs.BadRequestException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals:
StackMap stack:
iload 8
iconst_1
iadd
ireturn
26: StackMap locals:
StackMap stack:
aload 1
iload 2
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifeq 28
27: new javax.ws.rs.BadRequestException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 1
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.garbageAfterQuotedString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.ws.rs.BadRequestException.<init>:(Ljava/lang/String;)V
athrow
28: StackMap locals:
StackMap stack:
iload 7
iconst_1
iadd
istore 2
end local 8 end local 7 end local 6 end local 5 29: goto 0
30: StackMap locals: java.util.Map java.lang.String int int java.lang.String
StackMap stack:
aload 1
bipush 59
iload 2
invokevirtual java.lang.String.indexOf:(II)I
istore 5
start local 5 31: aload 1
bipush 44
iload 2
invokevirtual java.lang.String.indexOf:(II)I
istore 6
start local 6 32: iload 5
iload 6
if_icmpne 37
33: getstatic org.jboss.resteasy.core.request.AcceptHeaders.$assertionsDisabled:Z
ifne 34
iload 6
iconst_m1
if_icmpeq 34
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
34: StackMap locals: int int
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 7
start local 7 35: aload 0
aload 4
aload 7
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
36: iconst_m1
ireturn
end local 7 37: StackMap locals:
StackMap stack:
iload 5
iflt 38
iload 6
iflt 41
iload 6
iload 5
if_icmpge 41
38: StackMap locals:
StackMap stack:
aload 1
iload 2
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 7
start local 7 39: aload 0
aload 4
aload 7
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
40: iload 6
iconst_1
iadd
ireturn
end local 7 41: StackMap locals:
StackMap stack:
aload 1
iload 2
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 7
start local 7 42: aload 0
aload 4
aload 7
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
43: iload 5
iconst_1
iadd
istore 2
end local 7 end local 6 end local 5 end local 4 end local 3 44: goto 0
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 parameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 45 1 header Ljava/lang/String;
0 45 2 offset I
1 44 3 equalsIndex I
4 44 4 name Ljava/lang/String;
7 29 5 end I
13 29 6 value Ljava/lang/String;
16 29 7 parameterEndIndex I
17 29 8 itemEndIndex I
31 44 5 parameterEndIndex I
32 44 6 itemEndIndex I
35 37 7 value Ljava/lang/String;
39 41 7 value Ljava/lang/String;
42 44 7 value Ljava/lang/String;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Ljava/lang/String;I)I
MethodParameters:
Name Flags
parameters
header
offset
private static org.jboss.resteasy.core.request.QualityValue evaluateAcceptParameters(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)Lorg/jboss/resteasy/core/request/QualityValue;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 1
start local 1 1: goto 14
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: ldc "q"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
4: aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 11
5: getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.LOGGER:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/LogMessages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.acceptExtensionsNotSupported:()V
6: aload 1
invokeinterface java.util.Iterator.remove:()V
7: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
pop
8: aload 1
invokeinterface java.util.Iterator.remove:()V
9: aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: getstatic org.jboss.resteasy.core.request.QualityValue.NOT_ACCEPTABLE:Lorg/jboss/resteasy/core/request/QualityValue;
areturn
11: StackMap locals:
StackMap stack:
aload 0
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 12: aload 1
invokeinterface java.util.Iterator.remove:()V
13: aload 3
invokestatic org.jboss.resteasy.core.request.QualityValue.valueOf:(Ljava/lang/String;)Lorg/jboss/resteasy/core/request/QualityValue;
areturn
end local 3 end local 2 14: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
15: getstatic org.jboss.resteasy.core.request.QualityValue.DEFAULT:Lorg/jboss/resteasy/core/request/QualityValue;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 parameters Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 16 1 i Ljava/util/Iterator<Ljava/lang/String;>;
3 14 2 name Ljava/lang/String;
12 14 3 value Ljava/lang/String;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Lorg/jboss/resteasy/core/request/QualityValue;
MethodParameters:
Name Flags
parameters
}
SourceFile: "AcceptHeaders.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map