public class org.jboss.resteasy.core.registry.SegmentNode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.core.registry.SegmentNode
super_class: java.lang.Object
{
public static final java.lang.String RESTEASY_CHOSEN_ACCEPT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "RESTEASY_CHOSEN_ACCEPT"
public static final java.lang.String RESTEASY_SERVER_HAS_PRODUCES;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "RESTEASY-SERVER-HAS-PRODUCES"
public static final javax.ws.rs.core.MediaType[] WILDCARD_ARRAY;
descriptor: [Ljavax/ws/rs/core/MediaType;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.List<javax.ws.rs.core.MediaType> DEFAULT_ACCEPTS;
descriptor: Ljava/util/List;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Ljavax/ws/rs/core/MediaType;>;
protected java.lang.String segment;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.util.Map<java.lang.String, org.jboss.resteasy.core.registry.SegmentNode> children;
descriptor: Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/jboss/resteasy/core/registry/SegmentNode;>;
protected java.util.List<org.jboss.resteasy.core.registry.MethodExpression> targets;
descriptor: Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/List<Lorg/jboss/resteasy/core/registry/MethodExpression;>;
protected boolean requestMatchingSet;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean isJaxrs_2_0_RequestMatching;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_1
anewarray javax.ws.rs.core.MediaType
dup
iconst_0
getstatic javax.ws.rs.core.MediaType.WILDCARD_TYPE:Ljavax/ws/rs/core/MediaType;
aastore
putstatic org.jboss.resteasy.core.registry.SegmentNode.WILDCARD_ARRAY:[Ljavax/ws/rs/core/MediaType;
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putstatic org.jboss.resteasy.core.registry.SegmentNode.DEFAULT_ACCEPTS:Ljava/util/List;
2: getstatic org.jboss.resteasy.core.registry.SegmentNode.DEFAULT_ACCEPTS:Ljava/util/List;
getstatic javax.ws.rs.core.MediaType.WILDCARD_TYPE:Ljavax/ws/rs/core/MediaType;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.jboss.resteasy.core.registry.SegmentNode.children:Ljava/util/Map;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.jboss.resteasy.core.registry.SegmentNode.targets:Ljava/util/List;
3: aload 0
iconst_0
putfield org.jboss.resteasy.core.registry.SegmentNode.requestMatchingSet:Z
4: aload 0
iconst_0
putfield org.jboss.resteasy.core.registry.SegmentNode.isJaxrs_2_0_RequestMatching:Z
5: aload 0
aload 1
putfield org.jboss.resteasy.core.registry.SegmentNode.segment:Ljava/lang/String;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jboss/resteasy/core/registry/SegmentNode;
0 7 1 segment Ljava/lang/String;
MethodParameters:
Name Flags
segment
public org.jboss.resteasy.core.ResourceInvoker match(org.jboss.resteasy.spi.HttpRequest, int);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;I)Lorg/jboss/resteasy/core/ResourceInvoker;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=19, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getUri:()Lorg/jboss/resteasy/spi/ResteasyUriInfo;
invokevirtual org.jboss.resteasy.spi.ResteasyUriInfo.getMatchingPath:()Ljava/lang/String;
astore 3
start local 3 1: iload 2
aload 3
invokevirtual java.lang.String.length:()I
if_icmpge 2
aload 3
iload 2
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 2
iinc 2 1
2: StackMap locals: java.lang.String
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 3: aload 0
aload 3
iload 2
aload 4
invokevirtual org.jboss.resteasy.core.registry.SegmentNode.potentials:(Ljava/lang/String;ILjava/util/List;)V
4: aload 4
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
5: aload 0
getfield org.jboss.resteasy.core.registry.SegmentNode.requestMatchingSet:Z
ifne 11
6: invokestatic org.jboss.resteasy.spi.ResteasyProviderFactory.getContextDataMap:()Ljava/util/Map;
astore 5
start local 5 7: aload 5
ldc Lorg/jboss/resteasy/spi/ResteasyDeployment;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jboss.resteasy.spi.ResteasyDeployment
astore 6
start local 6 8: aload 6
ifnull 11
9: aload 0
aload 6
invokevirtual org.jboss.resteasy.spi.ResteasyDeployment.isJaxrs_2_0_RequestMatching:()Z
putfield org.jboss.resteasy.core.registry.SegmentNode.isJaxrs_2_0_RequestMatching:Z
10: aload 0
iconst_1
putfield org.jboss.resteasy.core.registry.SegmentNode.requestMatchingSet:Z
end local 6 end local 5 11: StackMap locals: java.util.List
StackMap stack:
aconst_null
astore 5
start local 5 12: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 13: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 53
StackMap locals: org.jboss.resteasy.core.registry.SegmentNode org.jboss.resteasy.spi.HttpRequest int java.lang.String java.util.List org.jboss.resteasy.core.registry.MethodExpression java.util.List top java.util.Iterator
StackMap stack:
14: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jboss.resteasy.core.registry.MethodExpression
astore 7
start local 7 15: aload 5
ifnull 16
aload 7
invokevirtual org.jboss.resteasy.core.registry.MethodExpression.isLocator:()Z
ifeq 16
goto 53
16: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode org.jboss.resteasy.spi.HttpRequest int java.lang.String java.util.List org.jboss.resteasy.core.registry.MethodExpression java.util.List org.jboss.resteasy.core.registry.MethodExpression java.util.Iterator
StackMap stack:
aload 7
invokevirtual org.jboss.resteasy.core.registry.MethodExpression.getPattern:()Ljava/util/regex/Pattern;
astore 9
start local 9 17: aload 9
aload 3
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 10
start local 10 18: aload 10
iload 2
aload 3
invokevirtual java.lang.String.length:()I
invokevirtual java.util.regex.Matcher.region:(II)Ljava/util/regex/Matcher;
pop
19: aload 10
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 53
20: aload 7
invokevirtual org.jboss.resteasy.core.registry.MethodExpression.getInvoker:()Lorg/jboss/resteasy/core/ResourceInvoker;
astore 11
start local 11 21: aload 11
instanceof org.jboss.resteasy.core.ResourceLocatorInvoker
ifeq 43
22: aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getUri:()Lorg/jboss/resteasy/spi/ResteasyUriInfo;
astore 12
start local 12 23: aload 10
aload 7
invokevirtual org.jboss.resteasy.core.registry.MethodExpression.getNumGroups:()I
iconst_1
iadd
invokevirtual java.util.regex.Matcher.start:(I)I
istore 13
start local 13 24: iload 13
iconst_m1
if_icmpne 28
25: aload 12
aload 3
invokevirtual org.jboss.resteasy.spi.ResteasyUriInfo.pushMatchedPath:(Ljava/lang/String;)V
26: aload 12
aload 3
invokevirtual org.jboss.resteasy.spi.ResteasyUriInfo.pushMatchedURI:(Ljava/lang/String;)V
27: goto 41
28: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode org.jboss.resteasy.spi.HttpRequest int java.lang.String java.util.List org.jboss.resteasy.core.registry.MethodExpression java.util.List org.jboss.resteasy.core.registry.MethodExpression java.util.Iterator java.util.regex.Pattern java.util.regex.Matcher org.jboss.resteasy.core.ResourceInvoker org.jboss.resteasy.spi.ResteasyUriInfo int
StackMap stack:
aload 7
invokevirtual org.jboss.resteasy.core.registry.MethodExpression.getPattern:()Ljava/util/regex/Pattern;
astore 14
start local 14 29: aload 14
aload 3
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 15
start local 15 30: aload 15
iload 2
aload 3
invokevirtual java.lang.String.length:()I
invokevirtual java.util.regex.Matcher.region:(II)Ljava/util/regex/Matcher;
pop
31: aload 3
astore 16
start local 16 32: goto 38
33: StackMap locals: java.util.regex.Pattern java.util.regex.Matcher java.lang.String
StackMap stack:
aload 15
aload 15
invokevirtual java.util.regex.Matcher.groupCount:()I
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
astore 17
start local 17 34: aload 17
ifnull 38
aload 17
invokevirtual java.lang.String.isEmpty:()Z
ifne 38
35: aload 3
aload 17
iload 13
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
istore 18
start local 18 36: iload 18
iconst_m1
if_icmple 38
37: aload 3
iconst_0
iload 18
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 16
end local 18 end local 17 38: StackMap locals:
StackMap stack:
aload 15
invokevirtual java.util.regex.Matcher.find:()Z
ifne 33
39: aload 12
aload 16
invokevirtual org.jboss.resteasy.spi.ResteasyUriInfo.pushMatchedPath:(Ljava/lang/String;)V
40: aload 12
aload 16
invokevirtual org.jboss.resteasy.spi.ResteasyUriInfo.pushMatchedURI:(Ljava/lang/String;)V
end local 16 end local 15 end local 14 41: StackMap locals:
StackMap stack:
aload 7
aload 1
aload 10
aload 3
invokevirtual org.jboss.resteasy.core.registry.MethodExpression.populatePathParams:(Lorg/jboss/resteasy/spi/HttpRequest;Ljava/util/regex/Matcher;Ljava/lang/String;)V
42: aload 11
areturn
end local 13 end local 12 43: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.core.registry.SegmentNode.isJaxrs_2_0_RequestMatching:Z
ifeq 51
44: aload 5
ifnonnull 48
45: aload 7
astore 5
46: aload 6
new org.jboss.resteasy.core.registry.SegmentNode$Match
dup
aload 7
aload 10
invokespecial org.jboss.resteasy.core.registry.SegmentNode$Match.<init>:(Lorg/jboss/resteasy/core/registry/MethodExpression;Ljava/util/regex/Matcher;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
47: goto 53
48: StackMap locals:
StackMap stack:
aload 5
aload 7
invokevirtual org.jboss.resteasy.core.registry.MethodExpression.compareTo:(Lorg/jboss/resteasy/core/registry/Expression;)I
ifne 54
49: aload 6
new org.jboss.resteasy.core.registry.SegmentNode$Match
dup
aload 7
aload 10
invokespecial org.jboss.resteasy.core.registry.SegmentNode$Match.<init>:(Lorg/jboss/resteasy/core/registry/MethodExpression;Ljava/util/regex/Matcher;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
50: goto 53
51: StackMap locals:
StackMap stack:
aload 6
new org.jboss.resteasy.core.registry.SegmentNode$Match
dup
aload 7
aload 10
invokespecial org.jboss.resteasy.core.registry.SegmentNode$Match.<init>:(Lorg/jboss/resteasy/core/registry/MethodExpression;Ljava/util/regex/Matcher;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
52: aload 7
astore 5
end local 11 end local 10 end local 9 end local 7 53: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode org.jboss.resteasy.spi.HttpRequest int java.lang.String java.util.List org.jboss.resteasy.core.registry.MethodExpression java.util.List top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
54: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode org.jboss.resteasy.spi.HttpRequest int java.lang.String java.util.List org.jboss.resteasy.core.registry.MethodExpression java.util.List
StackMap stack:
aload 6
invokeinterface java.util.List.size:()I
ifne 56
55: new javax.ws.rs.NotFoundException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getUri:()Lorg/jboss/resteasy/spi/ResteasyUriInfo;
invokevirtual org.jboss.resteasy.spi.ResteasyUriInfo.getRequestUri:()Ljava/net/URI;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.couldNotFindResourceForFullPath:(Ljava/net/URI;)Ljava/lang/String;
invokespecial javax.ws.rs.NotFoundException.<init>:(Ljava/lang/String;)V
athrow
56: StackMap locals:
StackMap stack:
aload 0
aload 6
aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getHttpMethod:()Ljava/lang/String;
aload 1
invokevirtual org.jboss.resteasy.core.registry.SegmentNode.match:(Ljava/util/List;Ljava/lang/String;Lorg/jboss/resteasy/spi/HttpRequest;)Lorg/jboss/resteasy/core/registry/SegmentNode$Match;
astore 7
start local 7 57: aload 7
getfield org.jboss.resteasy.core.registry.SegmentNode$Match.expression:Lorg/jboss/resteasy/core/registry/MethodExpression;
aload 1
aload 7
getfield org.jboss.resteasy.core.registry.SegmentNode$Match.matcher:Ljava/util/regex/Matcher;
aload 3
invokevirtual org.jboss.resteasy.core.registry.MethodExpression.populatePathParams:(Lorg/jboss/resteasy/spi/HttpRequest;Ljava/util/regex/Matcher;Ljava/lang/String;)V
58: aload 7
getfield org.jboss.resteasy.core.registry.SegmentNode$Match.expression:Lorg/jboss/resteasy/core/registry/MethodExpression;
invokevirtual org.jboss.resteasy.core.registry.MethodExpression.getInvoker:()Lorg/jboss/resteasy/core/ResourceInvoker;
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 59 0 this Lorg/jboss/resteasy/core/registry/SegmentNode;
0 59 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 59 2 start I
1 59 3 path Ljava/lang/String;
3 59 4 potentials Ljava/util/List<Lorg/jboss/resteasy/core/registry/MethodExpression;>;
7 11 5 contextDataMap Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Object;>;
8 11 6 deployment Lorg/jboss/resteasy/spi/ResteasyDeployment;
12 59 5 matchedExpression Lorg/jboss/resteasy/core/registry/MethodExpression;
13 59 6 matches Ljava/util/List<Lorg/jboss/resteasy/core/registry/SegmentNode$Match;>;
15 53 7 expression Lorg/jboss/resteasy/core/registry/MethodExpression;
17 53 9 pattern Ljava/util/regex/Pattern;
18 53 10 matcher Ljava/util/regex/Matcher;
21 53 11 invoker Lorg/jboss/resteasy/core/ResourceInvoker;
23 43 12 uriInfo Lorg/jboss/resteasy/spi/ResteasyUriInfo;
24 43 13 length I
29 41 14 p Ljava/util/regex/Pattern;
30 41 15 m Ljava/util/regex/Matcher;
32 41 16 substring Ljava/lang/String;
34 38 17 endText Ljava/lang/String;
36 38 18 indx I
57 59 7 match Lorg/jboss/resteasy/core/registry/SegmentNode$Match;
MethodParameters:
Name Flags
request
start
public void potentials(java.lang.String, int, java.util.List<org.jboss.resteasy.core.registry.MethodExpression>);
descriptor: (Ljava/lang/String;ILjava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
aload 1
invokevirtual java.lang.String.length:()I
if_icmpne 3
1: aload 3
aload 0
getfield org.jboss.resteasy.core.registry.SegmentNode.targets:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
2: return
3: StackMap locals:
StackMap stack:
iload 2
aload 1
invokevirtual java.lang.String.length:()I
if_icmpge 13
4: aconst_null
astore 4
start local 4 5: aload 1
bipush 47
iload 2
invokevirtual java.lang.String.indexOf:(II)I
istore 5
start local 5 6: iload 5
iconst_m1
if_icmple 7
aload 1
iload 2
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
goto 8
7: StackMap locals: java.lang.String int
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
8: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.core.registry.SegmentNode.children:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jboss.resteasy.core.registry.SegmentNode
astore 6
start local 6 9: aload 6
ifnull 13
10: iload 2
aload 4
invokevirtual java.lang.String.length:()I
iadd
istore 7
start local 7 11: iload 5
iconst_m1
if_icmple 12
iinc 7 1
12: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode int
StackMap stack:
aload 6
aload 1
iload 7
aload 3
invokevirtual org.jboss.resteasy.core.registry.SegmentNode.potentials:(Ljava/lang/String;ILjava/util/List;)V
end local 7 end local 6 end local 5 end local 4 13: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.lang.String int java.util.List
StackMap stack:
aload 0
getfield org.jboss.resteasy.core.registry.SegmentNode.targets:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 17
StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.lang.String int java.util.List top java.util.Iterator
StackMap stack:
14: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jboss.resteasy.core.registry.MethodExpression
astore 4
start local 4 15: aload 4
invokevirtual org.jboss.resteasy.core.registry.MethodExpression.getNumGroups:()I
ifgt 16
aload 4
invokevirtual org.jboss.resteasy.core.registry.MethodExpression.getInvoker:()Lorg/jboss/resteasy/core/ResourceInvoker;
instanceof org.jboss.resteasy.core.ResourceLocatorInvoker
ifeq 17
16: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.lang.String int java.util.List org.jboss.resteasy.core.registry.MethodExpression java.util.Iterator
StackMap stack:
aload 3
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 17: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.lang.String int java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
18: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/jboss/resteasy/core/registry/SegmentNode;
0 19 1 path Ljava/lang/String;
0 19 2 start I
0 19 3 matches Ljava/util/List<Lorg/jboss/resteasy/core/registry/MethodExpression;>;
5 13 4 simpleSegment Ljava/lang/String;
6 13 5 endOfSegmentIndex I
9 13 6 child Lorg/jboss/resteasy/core/registry/SegmentNode;
11 13 7 next I
15 17 4 exp Lorg/jboss/resteasy/core/registry/MethodExpression;
Signature: (Ljava/lang/String;ILjava/util/List<Lorg/jboss/resteasy/core/registry/MethodExpression;>;)V
MethodParameters:
Name Flags
path
start
matches
public static org.jboss.resteasy.core.registry.SegmentNode$SortFactor createSortFactor(javax.ws.rs.core.MediaType, javax.ws.rs.core.MediaType);
descriptor: (Ljavax/ws/rs/core/MediaType;Ljavax/ws/rs/core/MediaType;)Lorg/jboss/resteasy/core/registry/SegmentNode$SortFactor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: new org.jboss.resteasy.core.registry.SegmentNode$SortFactor
dup
invokespecial org.jboss.resteasy.core.registry.SegmentNode$SortFactor.<init>:()V
astore 2
start local 2 1: aload 0
invokevirtual javax.ws.rs.core.MediaType.isWildcardType:()Z
aload 1
invokevirtual javax.ws.rs.core.MediaType.isWildcardType:()Z
if_icmpeq 7
2: aload 2
aload 0
invokevirtual javax.ws.rs.core.MediaType.isWildcardType:()Z
ifeq 3
aload 1
invokevirtual javax.ws.rs.core.MediaType.getType:()Ljava/lang/String;
goto 4
StackMap locals: javax.ws.rs.core.MediaType javax.ws.rs.core.MediaType org.jboss.resteasy.core.registry.SegmentNode$SortFactor
StackMap stack: org.jboss.resteasy.core.registry.SegmentNode$SortFactor
3: aload 0
invokevirtual javax.ws.rs.core.MediaType.getType:()Ljava/lang/String;
StackMap locals: javax.ws.rs.core.MediaType javax.ws.rs.core.MediaType org.jboss.resteasy.core.registry.SegmentNode$SortFactor
StackMap stack: org.jboss.resteasy.core.registry.SegmentNode$SortFactor java.lang.String
4: putfield org.jboss.resteasy.core.registry.SegmentNode$SortFactor.type:Ljava/lang/String;
5: aload 2
dup
getfield org.jboss.resteasy.core.registry.SegmentNode$SortFactor.d:I
iconst_1
iadd
putfield org.jboss.resteasy.core.registry.SegmentNode$SortFactor.d:I
6: goto 8
7: StackMap locals:
StackMap stack:
aload 2
aload 0
invokevirtual javax.ws.rs.core.MediaType.getType:()Ljava/lang/String;
putfield org.jboss.resteasy.core.registry.SegmentNode$SortFactor.type:Ljava/lang/String;
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.ws.rs.core.MediaType.isWildcardSubtype:()Z
aload 1
invokevirtual javax.ws.rs.core.MediaType.isWildcardSubtype:()Z
if_icmpeq 14
9: aload 2
aload 0
invokevirtual javax.ws.rs.core.MediaType.isWildcardSubtype:()Z
ifeq 10
aload 1
invokevirtual javax.ws.rs.core.MediaType.getSubtype:()Ljava/lang/String;
goto 11
StackMap locals:
StackMap stack: org.jboss.resteasy.core.registry.SegmentNode$SortFactor
10: aload 0
invokevirtual javax.ws.rs.core.MediaType.getSubtype:()Ljava/lang/String;
StackMap locals: javax.ws.rs.core.MediaType javax.ws.rs.core.MediaType org.jboss.resteasy.core.registry.SegmentNode$SortFactor
StackMap stack: org.jboss.resteasy.core.registry.SegmentNode$SortFactor java.lang.String
11: putfield org.jboss.resteasy.core.registry.SegmentNode$SortFactor.subtype:Ljava/lang/String;
12: aload 2
dup
getfield org.jboss.resteasy.core.registry.SegmentNode$SortFactor.d:I
iconst_1
iadd
putfield org.jboss.resteasy.core.registry.SegmentNode$SortFactor.d:I
13: goto 15
14: StackMap locals:
StackMap stack:
aload 2
aload 0
invokevirtual javax.ws.rs.core.MediaType.getSubtype:()Ljava/lang/String;
putfield org.jboss.resteasy.core.registry.SegmentNode$SortFactor.subtype:Ljava/lang/String;
15: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
ldc "q"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 16: aload 3
ifnull 17
aload 2
aload 3
invokestatic java.lang.Float.parseFloat:(Ljava/lang/String;)F
putfield org.jboss.resteasy.core.registry.SegmentNode$SortFactor.q:F
17: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
ldc "qs"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 18: aload 4
ifnull 19
aload 2
aload 4
invokestatic java.lang.Float.parseFloat:(Ljava/lang/String;)F
putfield org.jboss.resteasy.core.registry.SegmentNode$SortFactor.qs:F
19: StackMap locals: java.lang.String
StackMap stack:
aload 2
iconst_0
putfield org.jboss.resteasy.core.registry.SegmentNode$SortFactor.dm:I
20: aload 0
invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 31
StackMap locals: javax.ws.rs.core.MediaType javax.ws.rs.core.MediaType org.jboss.resteasy.core.registry.SegmentNode$SortFactor java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
21: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 22: aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 23: ldc "q"
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 31
24: ldc "qs"
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 25
goto 31
25: StackMap locals: javax.ws.rs.core.MediaType javax.ws.rs.core.MediaType org.jboss.resteasy.core.registry.SegmentNode$SortFactor java.lang.String java.lang.String java.util.Map$Entry java.util.Iterator java.lang.String
StackMap stack:
aload 1
invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
aload 7
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 26: aload 8
ifnonnull 29
27: aload 2
dup
getfield org.jboss.resteasy.core.registry.SegmentNode$SortFactor.dm:I
iconst_1
iadd
putfield org.jboss.resteasy.core.registry.SegmentNode$SortFactor.dm:I
28: goto 31
29: StackMap locals: java.lang.String
StackMap stack:
aload 8
aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 31
30: aload 2
dup
getfield org.jboss.resteasy.core.registry.SegmentNode$SortFactor.dm:I
iconst_1
iadd
putfield org.jboss.resteasy.core.registry.SegmentNode$SortFactor.dm:I
end local 8 end local 7 end local 5 31: StackMap locals: javax.ws.rs.core.MediaType javax.ws.rs.core.MediaType org.jboss.resteasy.core.registry.SegmentNode$SortFactor java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
32: aload 1
invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 43
StackMap locals:
StackMap stack:
33: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 34: aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 35: ldc "q"
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 43
36: ldc "qs"
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 37
goto 43
37: StackMap locals: javax.ws.rs.core.MediaType javax.ws.rs.core.MediaType org.jboss.resteasy.core.registry.SegmentNode$SortFactor java.lang.String java.lang.String java.util.Map$Entry java.util.Iterator java.lang.String
StackMap stack:
aload 0
invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
aload 7
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 38: aload 8
ifnonnull 41
39: aload 2
dup
getfield org.jboss.resteasy.core.registry.SegmentNode$SortFactor.dm:I
iconst_1
iadd
putfield org.jboss.resteasy.core.registry.SegmentNode$SortFactor.dm:I
40: goto 43
41: StackMap locals: java.lang.String
StackMap stack:
aload 8
aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 43
42: aload 2
dup
getfield org.jboss.resteasy.core.registry.SegmentNode$SortFactor.dm:I
iconst_1
iadd
putfield org.jboss.resteasy.core.registry.SegmentNode$SortFactor.dm:I
end local 8 end local 7 end local 5 43: StackMap locals: javax.ws.rs.core.MediaType javax.ws.rs.core.MediaType org.jboss.resteasy.core.registry.SegmentNode$SortFactor java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 33
44: aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 client Ljavax/ws/rs/core/MediaType;
0 45 1 server Ljavax/ws/rs/core/MediaType;
1 45 2 sortFactor Lorg/jboss/resteasy/core/registry/SegmentNode$SortFactor;
16 45 3 q Ljava/lang/String;
18 45 4 qs Ljava/lang/String;
22 31 5 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
23 31 7 name Ljava/lang/String;
26 31 8 val Ljava/lang/String;
34 43 5 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
35 43 7 name Ljava/lang/String;
38 43 8 val Ljava/lang/String;
MethodParameters:
Name Flags
client
server
public org.jboss.resteasy.core.registry.SegmentNode$Match match(java.util.List<org.jboss.resteasy.core.registry.SegmentNode$Match>, java.lang.String, org.jboss.resteasy.spi.HttpRequest);
descriptor: (Ljava/util/List;Ljava/lang/String;Lorg/jboss/resteasy/spi/HttpRequest;)Lorg/jboss/resteasy/core/registry/SegmentNode$Match;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=27, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokeinterface org.jboss.resteasy.spi.HttpRequest.getHttpHeaders:()Ljavax/ws/rs/core/HttpHeaders;
invokeinterface javax.ws.rs.core.HttpHeaders.getMediaType:()Ljavax/ws/rs/core/MediaType;
astore 4
start local 4 1: aload 3
invokeinterface org.jboss.resteasy.spi.HttpRequest.getHttpHeaders:()Ljavax/ws/rs/core/HttpHeaders;
invokeinterface javax.ws.rs.core.HttpHeaders.getAcceptableMediaTypes:()Ljava/util/List;
astore 5
start local 5 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 3: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 6
StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List top java.util.Iterator
StackMap stack:
4: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.ws.rs.core.MediaType
astore 7
start local 7 5: aload 6
aload 7
invokestatic org.jboss.resteasy.util.WeightedMediaType.parse:(Ljavax/ws/rs/core/MediaType;)Lorg/jboss/resteasy/util/WeightedMediaType;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 StackMap locals:
StackMap stack:
6: aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
start local 7 8: iconst_0
istore 8
start local 8 9: iconst_0
istore 9
start local 9 10: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 11
goto 19
StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int top java.util.Iterator
StackMap stack:
11: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jboss.resteasy.core.registry.SegmentNode$Match
astore 10
start local 10 12: aload 10
getfield org.jboss.resteasy.core.registry.SegmentNode$Match.expression:Lorg/jboss/resteasy/core/registry/MethodExpression;
invokevirtual org.jboss.resteasy.core.registry.MethodExpression.getInvoker:()Lorg/jboss/resteasy/core/ResourceInvoker;
checkcast org.jboss.resteasy.core.ResourceMethodInvoker
astore 12
start local 12 13: aload 12
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getHttpMethods:()Ljava/util/Set;
aload 2
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 19
14: iconst_1
istore 8
15: aload 12
aload 4
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.doesConsume:(Ljavax/ws/rs/core/MediaType;)Z
ifeq 19
16: iconst_1
istore 9
17: aload 12
aload 6
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.doesProduce:(Ljava/util/List;)Z
ifeq 19
18: aload 7
aload 10
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 12 end local 10 19: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
20: aload 7
invokeinterface java.util.List.size:()I
ifne 67
21: iload 8
ifne 64
22: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 10
start local 10 23: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 12
goto 26
StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.HashSet top java.util.Iterator
StackMap stack:
24: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jboss.resteasy.core.registry.SegmentNode$Match
astore 11
start local 11 25: aload 10
aload 11
getfield org.jboss.resteasy.core.registry.SegmentNode$Match.expression:Lorg/jboss/resteasy/core/registry/MethodExpression;
invokevirtual org.jboss.resteasy.core.registry.MethodExpression.getInvoker:()Lorg/jboss/resteasy/core/ResourceInvoker;
checkcast org.jboss.resteasy.core.ResourceMethodInvoker
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getHttpMethods:()Ljava/util/Set;
invokevirtual java.util.HashSet.addAll:(Ljava/util/Collection;)Z
pop
end local 11 26: StackMap locals:
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 24
27: aload 2
ldc "HEAD"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 29
aload 10
ldc "GET"
invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
ifeq 29
28: aload 0
aload 1
ldc "GET"
aload 3
invokevirtual org.jboss.resteasy.core.registry.SegmentNode.match:(Ljava/util/List;Ljava/lang/String;Lorg/jboss/resteasy/spi/HttpRequest;)Lorg/jboss/resteasy/core/registry/SegmentNode$Match;
areturn
29: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.HashSet
StackMap stack:
aload 10
ldc "GET"
invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
ifeq 30
aload 10
ldc "HEAD"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
30: StackMap locals:
StackMap stack:
aload 10
ldc "OPTIONS"
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
31: new java.lang.StringBuilder
dup
ldc ""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 11
start local 11 32: iconst_1
istore 12
start local 12 33: aload 10
invokevirtual java.util.HashSet.iterator:()Ljava/util/Iterator;
astore 14
goto 38
StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.HashSet java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
34: aload 14
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 13
start local 13 35: iload 12
ifeq 36
iconst_0
istore 12
goto 37
36: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.HashSet java.lang.StringBuilder int java.lang.String java.util.Iterator
StackMap stack:
aload 11
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
37: StackMap locals:
StackMap stack:
aload 11
aload 13
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 13 38: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.HashSet java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
aload 14
invokeinterface java.util.Iterator.hasNext:()Z
ifne 34
39: aload 11
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 13
start local 13 40: aload 2
ldc "OPTIONS"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 62
41: aload 13
invokevirtual java.lang.String.toString:()Ljava/lang/String;
getstatic javax.ws.rs.core.MediaType.TEXT_PLAIN_TYPE:Ljavax/ws/rs/core/MediaType;
invokestatic javax.ws.rs.core.Response.ok:(Ljava/lang/Object;Ljavax/ws/rs/core/MediaType;)Ljavax/ws/rs/core/Response$ResponseBuilder;
ldc "Allow"
aload 13
invokevirtual java.lang.String.toString:()Ljava/lang/String;
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.header:(Ljava/lang/String;Ljava/lang/Object;)Ljavax/ws/rs/core/Response$ResponseBuilder;
astore 14
start local 14 42: aload 10
ldc "PATCH"
invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
ifeq 61
43: new java.util.HashSet
dup
bipush 8
invokespecial java.util.HashSet.<init>:(I)V
astore 15
start local 15 44: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 17
goto 50
StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.HashSet java.lang.StringBuilder int java.lang.String javax.ws.rs.core.Response$ResponseBuilder java.util.Set top java.util.Iterator
StackMap stack:
45: aload 17
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jboss.resteasy.core.registry.SegmentNode$Match
astore 16
start local 16 46: aload 16
getfield org.jboss.resteasy.core.registry.SegmentNode$Match.expression:Lorg/jboss/resteasy/core/registry/MethodExpression;
invokevirtual org.jboss.resteasy.core.registry.MethodExpression.getInvoker:()Lorg/jboss/resteasy/core/ResourceInvoker;
checkcast org.jboss.resteasy.core.ResourceMethodInvoker
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getHttpMethods:()Ljava/util/Set;
ldc "PATCH"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 50
47: aload 15
aload 16
getfield org.jboss.resteasy.core.registry.SegmentNode$Match.expression:Lorg/jboss/resteasy/core/registry/MethodExpression;
invokevirtual org.jboss.resteasy.core.registry.MethodExpression.getInvoker:()Lorg/jboss/resteasy/core/ResourceInvoker;
checkcast org.jboss.resteasy.core.ResourceMethodInvoker
48: invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getConsumes:()[Ljavax/ws/rs/core/MediaType;
49: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
end local 16 50: StackMap locals:
StackMap stack:
aload 17
invokeinterface java.util.Iterator.hasNext:()Z
ifne 45
51: new java.lang.StringBuilder
dup
ldc ""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 16
start local 16 52: iconst_1
istore 12
53: aload 15
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 18
goto 59
StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.HashSet java.lang.StringBuilder int java.lang.String javax.ws.rs.core.Response$ResponseBuilder java.util.Set java.lang.StringBuilder top java.util.Iterator
StackMap stack:
54: aload 18
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.ws.rs.core.MediaType
astore 17
start local 17 55: iload 12
ifeq 57
56: iconst_0
istore 12
goto 58
57: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.HashSet java.lang.StringBuilder int java.lang.String javax.ws.rs.core.Response$ResponseBuilder java.util.Set java.lang.StringBuilder javax.ws.rs.core.MediaType java.util.Iterator
StackMap stack:
aload 16
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
58: StackMap locals:
StackMap stack:
aload 16
aload 17
invokevirtual javax.ws.rs.core.MediaType.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 17 59: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.HashSet java.lang.StringBuilder int java.lang.String javax.ws.rs.core.Response$ResponseBuilder java.util.Set java.lang.StringBuilder top java.util.Iterator
StackMap stack:
aload 18
invokeinterface java.util.Iterator.hasNext:()Z
ifne 54
60: aload 14
ldc "Accept-Patch"
aload 16
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.header:(Ljava/lang/String;Ljava/lang/Object;)Ljavax/ws/rs/core/Response$ResponseBuilder;
pop
end local 16 end local 15 61: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.HashSet java.lang.StringBuilder int java.lang.String javax.ws.rs.core.Response$ResponseBuilder
StackMap stack:
new org.jboss.resteasy.spi.DefaultOptionsMethodException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.noResourceMethodFoundForOptions:()Ljava/lang/String;
aload 14
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.build:()Ljavax/ws/rs/core/Response;
invokespecial org.jboss.resteasy.spi.DefaultOptionsMethodException.<init>:(Ljava/lang/String;Ljavax/ws/rs/core/Response;)V
athrow
end local 14 62: StackMap locals:
StackMap stack:
sipush 405
invokestatic javax.ws.rs.core.Response.status:(I)Ljavax/ws/rs/core/Response$ResponseBuilder;
ldc "Allow"
aload 13
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.header:(Ljava/lang/String;Ljava/lang/Object;)Ljavax/ws/rs/core/Response$ResponseBuilder;
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.build:()Ljavax/ws/rs/core/Response;
astore 14
start local 14 63: new javax.ws.rs.NotAllowedException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 2
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.noResourceMethodFoundForHttpMethod:(Ljava/lang/String;)Ljava/lang/String;
aload 14
invokespecial javax.ws.rs.NotAllowedException.<init>:(Ljava/lang/String;Ljavax/ws/rs/core/Response;)V
athrow
end local 14 end local 13 end local 12 end local 11 end local 10 64: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int
StackMap stack:
iload 9
ifne 66
65: new javax.ws.rs.NotSupportedException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.cannotConsumeContentType:()Ljava/lang/String;
invokespecial javax.ws.rs.NotSupportedException.<init>:(Ljava/lang/String;)V
athrow
66: StackMap locals:
StackMap stack:
new javax.ws.rs.NotAcceptableException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.noMatchForAcceptHeader:()Ljava/lang/String;
invokespecial javax.ws.rs.NotAcceptableException.<init>:(Ljava/lang/String;)V
athrow
67: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 10
start local 10 68: aload 7
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 12
goto 101
StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.List top java.util.Iterator
StackMap stack:
69: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jboss.resteasy.core.registry.SegmentNode$Match
astore 11
start local 11 70: aload 11
getfield org.jboss.resteasy.core.registry.SegmentNode$Match.expression:Lorg/jboss/resteasy/core/registry/MethodExpression;
invokevirtual org.jboss.resteasy.core.registry.MethodExpression.getInvoker:()Lorg/jboss/resteasy/core/ResourceInvoker;
checkcast org.jboss.resteasy.core.ResourceMethodInvoker
astore 13
start local 13 71: aload 4
ifnonnull 72
getstatic javax.ws.rs.core.MediaType.WILDCARD_TYPE:Ljavax/ws/rs/core/MediaType;
astore 4
72: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.List org.jboss.resteasy.core.registry.SegmentNode$Match java.util.Iterator org.jboss.resteasy.core.ResourceMethodInvoker
StackMap stack:
aload 13
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getConsumes:()[Ljavax/ws/rs/core/MediaType;
astore 14
start local 14 73: aload 14
arraylength
ifne 75
74: getstatic org.jboss.resteasy.core.registry.SegmentNode.WILDCARD_ARRAY:[Ljavax/ws/rs/core/MediaType;
astore 14
75: StackMap locals: javax.ws.rs.core.MediaType[]
StackMap stack:
aload 13
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getProduces:()[Ljavax/ws/rs/core/MediaType;
astore 15
start local 15 76: aload 15
arraylength
ifne 78
77: getstatic org.jboss.resteasy.core.registry.SegmentNode.WILDCARD_ARRAY:[Ljavax/ws/rs/core/MediaType;
astore 15
78: StackMap locals: javax.ws.rs.core.MediaType[]
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 16
start local 16 79: aload 14
dup
astore 20
arraylength
istore 19
iconst_0
istore 18
goto 83
StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.List org.jboss.resteasy.core.registry.SegmentNode$Match java.util.Iterator org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType[] javax.ws.rs.core.MediaType[] java.util.List top int int javax.ws.rs.core.MediaType[]
StackMap stack:
80: aload 20
iload 18
aaload
astore 17
start local 17 81: aload 16
aload 4
aload 17
invokestatic org.jboss.resteasy.core.registry.SegmentNode.createSortFactor:(Ljavax/ws/rs/core/MediaType;Ljavax/ws/rs/core/MediaType;)Lorg/jboss/resteasy/core/registry/SegmentNode$SortFactor;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 17 82: iinc 18 1
StackMap locals:
StackMap stack:
83: iload 18
iload 19
if_icmplt 80
84: aload 15
dup
astore 20
arraylength
istore 19
iconst_0
istore 18
goto 100
StackMap locals:
StackMap stack:
85: aload 20
iload 18
aaload
astore 17
start local 17 86: aload 5
astore 21
start local 21 87: aload 21
invokeinterface java.util.List.size:()I
ifne 89
88: getstatic org.jboss.resteasy.core.registry.SegmentNode.DEFAULT_ACCEPTS:Ljava/util/List;
astore 21
89: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.List org.jboss.resteasy.core.registry.SegmentNode$Match java.util.Iterator org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType[] javax.ws.rs.core.MediaType[] java.util.List javax.ws.rs.core.MediaType int int javax.ws.rs.core.MediaType[] java.util.List
StackMap stack:
aload 21
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 23
goto 98
StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.List org.jboss.resteasy.core.registry.SegmentNode$Match java.util.Iterator org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType[] javax.ws.rs.core.MediaType[] java.util.List javax.ws.rs.core.MediaType int int javax.ws.rs.core.MediaType[] java.util.List top java.util.Iterator
StackMap stack:
90: aload 23
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.ws.rs.core.MediaType
astore 22
start local 22 91: aload 22
aload 17
invokevirtual javax.ws.rs.core.MediaType.isCompatible:(Ljavax/ws/rs/core/MediaType;)Z
ifeq 98
92: aload 22
aload 17
invokestatic org.jboss.resteasy.core.registry.SegmentNode.createSortFactor:(Ljavax/ws/rs/core/MediaType;Ljavax/ws/rs/core/MediaType;)Lorg/jboss/resteasy/core/registry/SegmentNode$SortFactor;
astore 24
start local 24 93: aload 16
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 26
goto 97
StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.List org.jboss.resteasy.core.registry.SegmentNode$Match java.util.Iterator org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType[] javax.ws.rs.core.MediaType[] java.util.List javax.ws.rs.core.MediaType int int javax.ws.rs.core.MediaType[] java.util.List javax.ws.rs.core.MediaType java.util.Iterator org.jboss.resteasy.core.registry.SegmentNode$SortFactor top java.util.Iterator
StackMap stack:
94: aload 26
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jboss.resteasy.core.registry.SegmentNode$SortFactor
astore 25
start local 25 95: aload 11
getfield org.jboss.resteasy.core.registry.SegmentNode$Match.expression:Lorg/jboss/resteasy/core/registry/MethodExpression;
invokevirtual org.jboss.resteasy.core.registry.MethodExpression.getInvoker:()Lorg/jboss/resteasy/core/ResourceInvoker;
invokeinterface org.jboss.resteasy.core.ResourceInvoker.getMethod:()Ljava/lang/reflect/Method;
pop
96: aload 10
new org.jboss.resteasy.core.registry.SegmentNode$SortEntry
dup
aload 0
aload 11
aload 25
aload 24
aload 17
invokespecial org.jboss.resteasy.core.registry.SegmentNode$SortEntry.<init>:(Lorg/jboss/resteasy/core/registry/SegmentNode;Lorg/jboss/resteasy/core/registry/SegmentNode$Match;Lorg/jboss/resteasy/core/registry/SegmentNode$SortFactor;Lorg/jboss/resteasy/core/registry/SegmentNode$SortFactor;Ljavax/ws/rs/core/MediaType;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 25 97: StackMap locals:
StackMap stack:
aload 26
invokeinterface java.util.Iterator.hasNext:()Z
ifne 94
end local 24 end local 22 98: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.List org.jboss.resteasy.core.registry.SegmentNode$Match java.util.Iterator org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType[] javax.ws.rs.core.MediaType[] java.util.List javax.ws.rs.core.MediaType int int javax.ws.rs.core.MediaType[] java.util.List top java.util.Iterator
StackMap stack:
aload 23
invokeinterface java.util.Iterator.hasNext:()Z
ifne 90
end local 21 end local 17 99: iinc 18 1
StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.List org.jboss.resteasy.core.registry.SegmentNode$Match java.util.Iterator org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType[] javax.ws.rs.core.MediaType[] java.util.List top int int javax.ws.rs.core.MediaType[]
StackMap stack:
100: iload 18
iload 19
if_icmplt 85
end local 16 end local 15 end local 14 end local 13 end local 11 101: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.List top java.util.Iterator
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 69
102: aload 10
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
103: aload 10
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.jboss.resteasy.core.registry.SegmentNode$SortEntry
astore 11
start local 11 104: aload 0
aload 10
invokevirtual org.jboss.resteasy.core.registry.SegmentNode.matchingMethods:(Ljava/util/List;)[Ljava/lang/String;
astore 12
start local 12 105: aload 12
ifnull 107
106: getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.LOGGER:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/LogMessages;
aload 0
aload 3
invokevirtual org.jboss.resteasy.core.registry.SegmentNode.requestToString:(Lorg/jboss/resteasy/spi/HttpRequest;)Ljava/lang/String;
aload 12
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.multipleMethodsMatch:(Ljava/lang/String;[Ljava/lang/String;)V
107: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.lang.String org.jboss.resteasy.spi.HttpRequest javax.ws.rs.core.MediaType java.util.List java.util.List java.util.List int int java.util.List org.jboss.resteasy.core.registry.SegmentNode$SortEntry java.lang.String[]
StackMap stack:
aload 3
ldc "RESTEASY_CHOSEN_ACCEPT"
aload 11
invokevirtual org.jboss.resteasy.core.registry.SegmentNode$SortEntry.getAcceptType:()Ljavax/ws/rs/core/MediaType;
invokeinterface org.jboss.resteasy.spi.HttpRequest.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
108: aload 11
getfield org.jboss.resteasy.core.registry.SegmentNode$SortEntry.match:Lorg/jboss/resteasy/core/registry/SegmentNode$Match;
areturn
end local 12 end local 11 end local 10 end local 9 end local 8 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 109 0 this Lorg/jboss/resteasy/core/registry/SegmentNode;
0 109 1 matches Ljava/util/List<Lorg/jboss/resteasy/core/registry/SegmentNode$Match;>;
0 109 2 httpMethod Ljava/lang/String;
0 109 3 request Lorg/jboss/resteasy/spi/HttpRequest;
1 109 4 contentType Ljavax/ws/rs/core/MediaType;
2 109 5 requestAccepts Ljava/util/List<Ljavax/ws/rs/core/MediaType;>;
3 109 6 weightedAccepts Ljava/util/List<Lorg/jboss/resteasy/util/WeightedMediaType;>;
5 6 7 accept Ljavax/ws/rs/core/MediaType;
8 109 7 list Ljava/util/List<Lorg/jboss/resteasy/core/registry/SegmentNode$Match;>;
9 109 8 methodMatch Z
10 109 9 consumeMatch Z
12 19 10 match Lorg/jboss/resteasy/core/registry/SegmentNode$Match;
13 19 12 invoker Lorg/jboss/resteasy/core/ResourceMethodInvoker;
23 64 10 allowed Ljava/util/HashSet<Ljava/lang/String;>;
25 26 11 match Lorg/jboss/resteasy/core/registry/SegmentNode$Match;
32 64 11 allowHeaders Ljava/lang/StringBuilder;
33 64 12 first Z
35 38 13 allow Ljava/lang/String;
40 64 13 allowHeaderValue Ljava/lang/String;
42 62 14 resBuilder Ljavax/ws/rs/core/Response$ResponseBuilder;
44 61 15 patchAccepts Ljava/util/Set<Ljavax/ws/rs/core/MediaType;>;
46 50 16 match Lorg/jboss/resteasy/core/registry/SegmentNode$Match;
52 61 16 acceptPatch Ljava/lang/StringBuilder;
55 59 17 mediaType Ljavax/ws/rs/core/MediaType;
63 64 14 res Ljavax/ws/rs/core/Response;
68 109 10 sortList Ljava/util/List<Lorg/jboss/resteasy/core/registry/SegmentNode$SortEntry;>;
70 101 11 match Lorg/jboss/resteasy/core/registry/SegmentNode$Match;
71 101 13 invoker Lorg/jboss/resteasy/core/ResourceMethodInvoker;
73 101 14 consumes [Ljavax/ws/rs/core/MediaType;
76 101 15 produces [Ljavax/ws/rs/core/MediaType;
79 101 16 consumeCombo Ljava/util/List<Lorg/jboss/resteasy/core/registry/SegmentNode$SortFactor;>;
81 82 17 consume Ljavax/ws/rs/core/MediaType;
86 99 17 produce Ljavax/ws/rs/core/MediaType;
87 99 21 acceptableMediaTypes Ljava/util/List<Ljavax/ws/rs/core/MediaType;>;
91 98 22 accept Ljavax/ws/rs/core/MediaType;
93 98 24 sortFactor Lorg/jboss/resteasy/core/registry/SegmentNode$SortFactor;
95 97 25 consume Lorg/jboss/resteasy/core/registry/SegmentNode$SortFactor;
104 109 11 sortEntry Lorg/jboss/resteasy/core/registry/SegmentNode$SortEntry;
105 109 12 mm [Ljava/lang/String;
Signature: (Ljava/util/List<Lorg/jboss/resteasy/core/registry/SegmentNode$Match;>;Ljava/lang/String;Lorg/jboss/resteasy/spi/HttpRequest;)Lorg/jboss/resteasy/core/registry/SegmentNode$Match;
MethodParameters:
Name Flags
matches
httpMethod
request
protected void addExpression(org.jboss.resteasy.core.registry.MethodExpression);
descriptor: (Lorg/jboss/resteasy/core/registry/MethodExpression;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jboss.resteasy.core.registry.SegmentNode.targets:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
getfield org.jboss.resteasy.core.registry.SegmentNode.targets:Ljava/util/List;
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/core/registry/SegmentNode;
0 3 1 expression Lorg/jboss/resteasy/core/registry/MethodExpression;
MethodParameters:
Name Flags
expression
private java.lang.String requestToString(org.jboss.resteasy.spi.HttpRequest);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getHttpMethod:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getUri:()Lorg/jboss/resteasy/spi/ResteasyUriInfo;
invokevirtual org.jboss.resteasy.spi.ResteasyUriInfo.getPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/registry/SegmentNode;
0 1 1 request Lorg/jboss/resteasy/spi/HttpRequest;
MethodParameters:
Name Flags
request
private java.lang.String[] matchingMethods(java.util.List<org.jboss.resteasy.core.registry.SegmentNode$SortEntry>);
descriptor: (Ljava/util/List;)[Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=10, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jboss.resteasy.core.registry.SegmentNode$SortEntry
astore 5
start local 5 3: aload 5
getfield org.jboss.resteasy.core.registry.SegmentNode$SortEntry.match:Lorg/jboss/resteasy/core/registry/SegmentNode$Match;
getfield org.jboss.resteasy.core.registry.SegmentNode$Match.expression:Lorg/jboss/resteasy/core/registry/MethodExpression;
invokevirtual org.jboss.resteasy.core.registry.MethodExpression.getInvoker:()Lorg/jboss/resteasy/core/ResourceInvoker;
invokeinterface org.jboss.resteasy.core.ResourceInvoker.getMethod:()Ljava/lang/reflect/Method;
astore 6
start local 6 4: goto 12
5: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.util.Set java.util.Iterator top org.jboss.resteasy.core.registry.SegmentNode$SortEntry java.lang.reflect.Method
StackMap stack:
aload 5
astore 4
start local 4 6: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jboss.resteasy.core.registry.SegmentNode$SortEntry
astore 5
7: aload 4
aload 5
invokevirtual org.jboss.resteasy.core.registry.SegmentNode$SortEntry.compareTo:(Lorg/jboss/resteasy/core/registry/SegmentNode$SortEntry;)I
ifne 13
8: aload 2
ifnonnull 11
9: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
10: aload 2
aload 6
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
11: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.util.Set java.util.Iterator org.jboss.resteasy.core.registry.SegmentNode$SortEntry org.jboss.resteasy.core.registry.SegmentNode$SortEntry java.lang.reflect.Method
StackMap stack:
aload 2
aload 5
getfield org.jboss.resteasy.core.registry.SegmentNode$SortEntry.match:Lorg/jboss/resteasy/core/registry/SegmentNode$Match;
getfield org.jboss.resteasy.core.registry.SegmentNode$Match.expression:Lorg/jboss/resteasy/core/registry/MethodExpression;
invokevirtual org.jboss.resteasy.core.registry.MethodExpression.getInvoker:()Lorg/jboss/resteasy/core/ResourceInvoker;
invokeinterface org.jboss.resteasy.core.ResourceInvoker.getMethod:()Ljava/lang/reflect/Method;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 4 12: StackMap locals: org.jboss.resteasy.core.registry.SegmentNode java.util.List java.util.Set java.util.Iterator top org.jboss.resteasy.core.registry.SegmentNode$SortEntry java.lang.reflect.Method
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
13: StackMap locals:
StackMap stack:
aload 2
ifnull 21
aload 2
invokeinterface java.util.Set.size:()I
iconst_1
if_icmple 21
14: aload 2
invokeinterface java.util.Set.size:()I
anewarray java.lang.String
astore 7
start local 7 15: aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
start local 8 16: iconst_0
istore 9
start local 9 17: goto 19
18: StackMap locals: java.lang.String[] java.util.Iterator int
StackMap stack:
aload 7
iload 9
iinc 9 1
aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.reflect.Method
invokevirtual java.lang.reflect.Method.toString:()Ljava/lang/String;
aastore
19: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
20: aload 7
areturn
end local 9 end local 8 end local 7 21: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/jboss/resteasy/core/registry/SegmentNode;
0 22 1 sortList Ljava/util/List<Lorg/jboss/resteasy/core/registry/SegmentNode$SortEntry;>;
1 22 2 s Ljava/util/Set<Ljava/lang/reflect/Method;>;
2 22 3 it Ljava/util/Iterator<Lorg/jboss/resteasy/core/registry/SegmentNode$SortEntry;>;
6 12 4 a Lorg/jboss/resteasy/core/registry/SegmentNode$SortEntry;
3 22 5 b Lorg/jboss/resteasy/core/registry/SegmentNode$SortEntry;
4 22 6 first Ljava/lang/reflect/Method;
15 21 7 names [Ljava/lang/String;
16 21 8 iterator Ljava/util/Iterator<Ljava/lang/reflect/Method;>;
17 21 9 i I
Signature: (Ljava/util/List<Lorg/jboss/resteasy/core/registry/SegmentNode$SortEntry;>;)[Ljava/lang/String;
MethodParameters:
Name Flags
sortList
}
SourceFile: "SegmentNode.java"
NestMembers:
org.jboss.resteasy.core.registry.SegmentNode$Match org.jboss.resteasy.core.registry.SegmentNode$SortEntry org.jboss.resteasy.core.registry.SegmentNode$SortFactor
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public abstract ResponseBuilder = javax.ws.rs.core.Response$ResponseBuilder of javax.ws.rs.core.Response
protected Match = org.jboss.resteasy.core.registry.SegmentNode$Match of org.jboss.resteasy.core.registry.SegmentNode
protected SortEntry = org.jboss.resteasy.core.registry.SegmentNode$SortEntry of org.jboss.resteasy.core.registry.SegmentNode
public SortFactor = org.jboss.resteasy.core.registry.SegmentNode$SortFactor of org.jboss.resteasy.core.registry.SegmentNode