public class org.jboss.resteasy.specimpl.PathSegmentImpl implements javax.ws.rs.core.PathSegment
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.specimpl.PathSegmentImpl
super_class: java.lang.Object
{
private java.lang.String path;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String original;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String> matrixParameters;
descriptor: Ljavax/ws/rs/core/MultivaluedMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;
private boolean hasMatrixParams;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=13, 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.jboss.resteasy.specimpl.PathSegmentImpl.original:Ljava/lang/String;
2: aload 0
aload 1
putfield org.jboss.resteasy.specimpl.PathSegmentImpl.path:Ljava/lang/String;
3: aload 1
bipush 59
invokevirtual java.lang.String.indexOf:(I)I
istore 3
start local 3 4: iload 3
iflt 24
5: aload 0
new org.jboss.resteasy.specimpl.MultivaluedMapImpl
dup
invokespecial org.jboss.resteasy.specimpl.MultivaluedMapImpl.<init>:()V
putfield org.jboss.resteasy.specimpl.PathSegmentImpl.matrixParameters:Ljavax/ws/rs/core/MultivaluedMap;
6: aload 0
iconst_1
putfield org.jboss.resteasy.specimpl.PathSegmentImpl.hasMatrixParams:Z
7: iload 3
ifle 8
aload 0
aload 1
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield org.jboss.resteasy.specimpl.PathSegmentImpl.path:Ljava/lang/String;
goto 9
8: StackMap locals: org.jboss.resteasy.specimpl.PathSegmentImpl java.lang.String int int
StackMap stack:
aload 0
ldc ""
putfield org.jboss.resteasy.specimpl.PathSegmentImpl.path:Ljava/lang/String;
9: StackMap locals:
StackMap stack:
aload 1
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 10: aload 4
ldc ";"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 5
start local 5 11: aload 5
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 23
StackMap locals: org.jboss.resteasy.specimpl.PathSegmentImpl java.lang.String int int java.lang.String java.lang.String[] top int int java.lang.String[]
StackMap stack:
12: aload 9
iload 7
aaload
astore 6
start local 6 13: aload 6
ldc "="
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 10
start local 10 14: aload 10
ifnull 22
aload 10
arraylength
ifle 22
15: aload 10
iconst_0
aaload
astore 11
start local 11 16: iload 2
ifeq 17
aload 11
invokestatic org.jboss.resteasy.util.Encode.decodePath:(Ljava/lang/String;)Ljava/lang/String;
astore 11
17: StackMap locals: org.jboss.resteasy.specimpl.PathSegmentImpl java.lang.String int int java.lang.String java.lang.String[] java.lang.String int int java.lang.String[] java.lang.String[] java.lang.String
StackMap stack:
aconst_null
astore 12
start local 12 18: aload 10
arraylength
iconst_1
if_icmple 20
19: aload 10
iconst_1
aaload
astore 12
20: StackMap locals: java.lang.String
StackMap stack:
iload 2
ifeq 21
aload 12
ifnull 21
aload 12
invokestatic org.jboss.resteasy.util.Encode.decodePath:(Ljava/lang/String;)Ljava/lang/String;
astore 12
21: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.specimpl.PathSegmentImpl.matrixParameters:Ljavax/ws/rs/core/MultivaluedMap;
aload 11
aload 12
invokeinterface javax.ws.rs.core.MultivaluedMap.add:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 12 end local 11 end local 10 end local 6 22: StackMap locals: org.jboss.resteasy.specimpl.PathSegmentImpl java.lang.String int int java.lang.String java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
23: iload 7
iload 8
if_icmplt 12
end local 5 end local 4 24: StackMap locals: org.jboss.resteasy.specimpl.PathSegmentImpl java.lang.String int int
StackMap stack:
iload 2
ifeq 25
aload 0
aload 0
getfield org.jboss.resteasy.specimpl.PathSegmentImpl.path:Ljava/lang/String;
invokestatic org.jboss.resteasy.util.Encode.decodePath:(Ljava/lang/String;)Ljava/lang/String;
putfield org.jboss.resteasy.specimpl.PathSegmentImpl.path:Ljava/lang/String;
25: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/jboss/resteasy/specimpl/PathSegmentImpl;
0 26 1 segment Ljava/lang/String;
0 26 2 decode Z
4 26 3 semicolon I
10 24 4 matrixParams Ljava/lang/String;
11 24 5 params [Ljava/lang/String;
13 22 6 param Ljava/lang/String;
14 22 10 namevalue [Ljava/lang/String;
16 22 11 name Ljava/lang/String;
18 22 12 value Ljava/lang/String;
MethodParameters:
Name Flags
segment
decode
public boolean hasMatrixParams();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.PathSegmentImpl.hasMatrixParams:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/specimpl/PathSegmentImpl;
public java.lang.String getOriginal();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.PathSegmentImpl.original:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/specimpl/PathSegmentImpl;
public java.lang.String getPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.PathSegmentImpl.path:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/specimpl/PathSegmentImpl;
public javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String> getMatrixParameters();
descriptor: ()Ljavax/ws/rs/core/MultivaluedMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.PathSegmentImpl.matrixParameters:Ljavax/ws/rs/core/MultivaluedMap;
ifnonnull 2
1: aload 0
new org.jboss.resteasy.specimpl.MultivaluedMapImpl
dup
invokespecial org.jboss.resteasy.specimpl.MultivaluedMapImpl.<init>:()V
putfield org.jboss.resteasy.specimpl.PathSegmentImpl.matrixParameters:Ljavax/ws/rs/core/MultivaluedMap;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.specimpl.PathSegmentImpl.matrixParameters:Ljavax/ws/rs/core/MultivaluedMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/specimpl/PathSegmentImpl;
Signature: ()Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.jboss.resteasy.specimpl.PathSegmentImpl.path:Ljava/lang/String;
ifnull 2
aload 1
aload 0
getfield org.jboss.resteasy.specimpl.PathSegmentImpl.path:Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
2: StackMap locals: java.lang.StringBuffer
StackMap stack:
aload 0
getfield org.jboss.resteasy.specimpl.PathSegmentImpl.matrixParameters:Ljavax/ws/rs/core/MultivaluedMap;
ifnull 10
3: aload 0
getfield org.jboss.resteasy.specimpl.PathSegmentImpl.matrixParameters:Ljavax/ws/rs/core/MultivaluedMap;
invokeinterface javax.ws.rs.core.MultivaluedMap.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: org.jboss.resteasy.specimpl.PathSegmentImpl java.lang.StringBuffer top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 5: aload 0
getfield org.jboss.resteasy.specimpl.PathSegmentImpl.matrixParameters:Ljavax/ws/rs/core/MultivaluedMap;
aload 2
invokeinterface javax.ws.rs.core.MultivaluedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: org.jboss.resteasy.specimpl.PathSegmentImpl java.lang.StringBuffer java.lang.String java.util.Iterator top java.util.Iterator
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 7: aload 1
ldc ";"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
aload 2
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
ldc "="
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
aload 4
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
end local 4 8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 2 9: StackMap locals: org.jboss.resteasy.specimpl.PathSegmentImpl java.lang.StringBuffer top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
10: StackMap locals: org.jboss.resteasy.specimpl.PathSegmentImpl java.lang.StringBuffer
StackMap stack:
aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jboss/resteasy/specimpl/PathSegmentImpl;
1 11 1 buf Ljava/lang/StringBuffer;
5 9 2 name Ljava/lang/String;
7 8 4 value Ljava/lang/String;
public static java.util.List<javax.ws.rs.core.PathSegment> parseSegments(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic org.jboss.resteasy.specimpl.PathSegmentImpl.parseSegmentsOptimization:(Ljava/lang/String;Z)Lorg/jboss/resteasy/specimpl/PathSegmentImpl$SegmentParse;
getfield org.jboss.resteasy.specimpl.PathSegmentImpl$SegmentParse.segments:Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/lang/String;
0 1 1 decode Z
Signature: (Ljava/lang/String;Z)Ljava/util/List<Ljavax/ws/rs/core/PathSegment;>;
MethodParameters:
Name Flags
path
decode
public static org.jboss.resteasy.specimpl.PathSegmentImpl$SegmentParse parseSegmentsOptimization(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lorg/jboss/resteasy/specimpl/PathSegmentImpl$SegmentParse;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: new org.jboss.resteasy.specimpl.PathSegmentImpl$SegmentParse
dup
invokespecial org.jboss.resteasy.specimpl.PathSegmentImpl$SegmentParse.<init>:()V
astore 2
start local 2 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 2: aload 2
aload 3
putfield org.jboss.resteasy.specimpl.PathSegmentImpl$SegmentParse.segments:Ljava/util/List;
3: iconst_0
istore 4
start local 4 4: aload 0
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 5
iinc 4 1
5: StackMap locals: org.jboss.resteasy.specimpl.PathSegmentImpl$SegmentParse java.util.List int
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
istore 5
start local 5 6: StackMap locals: int
StackMap stack:
aload 0
bipush 47
iload 4
invokevirtual java.lang.String.indexOf:(II)I
istore 7
start local 7 7: iload 7
ifge 11
8: aload 0
iload 4
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
start local 6 9: iload 5
istore 4
10: goto 13
end local 6 11: StackMap locals: java.lang.String int org.jboss.resteasy.specimpl.PathSegmentImpl$SegmentParse java.util.List int int top int
StackMap stack:
aload 0
iload 4
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
start local 6 12: iload 7
iconst_1
iadd
istore 4
13: StackMap locals: java.lang.String int org.jboss.resteasy.specimpl.PathSegmentImpl$SegmentParse java.util.List int int java.lang.String int
StackMap stack:
new org.jboss.resteasy.specimpl.PathSegmentImpl
dup
aload 6
iload 1
invokespecial org.jboss.resteasy.specimpl.PathSegmentImpl.<init>:(Ljava/lang/String;Z)V
astore 8
start local 8 14: aload 2
dup
getfield org.jboss.resteasy.specimpl.PathSegmentImpl$SegmentParse.hasMatrixParams:Z
aload 8
invokevirtual org.jboss.resteasy.specimpl.PathSegmentImpl.hasMatrixParams:()Z
ior
putfield org.jboss.resteasy.specimpl.PathSegmentImpl$SegmentParse.hasMatrixParams:Z
15: aload 3
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 7 end local 6 16: iload 4
iload 5
17: if_icmplt 6
18: aload 2
areturn
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 19 0 path Ljava/lang/String;
0 19 1 decode Z
1 19 2 parse Lorg/jboss/resteasy/specimpl/PathSegmentImpl$SegmentParse;
2 19 3 pathSegments Ljava/util/List<Ljavax/ws/rs/core/PathSegment;>;
4 19 4 start I
6 19 5 length I
9 11 6 p Ljava/lang/String;
12 16 6 p Ljava/lang/String;
7 16 7 slash I
14 16 8 pathSegment Lorg/jboss/resteasy/specimpl/PathSegmentImpl;
MethodParameters:
Name Flags
path
decode
}
SourceFile: "PathSegmentImpl.java"
NestMembers:
org.jboss.resteasy.specimpl.PathSegmentImpl$SegmentParse
InnerClasses:
public SegmentParse = org.jboss.resteasy.specimpl.PathSegmentImpl$SegmentParse of org.jboss.resteasy.specimpl.PathSegmentImpl