class org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser
super_class: java.lang.Object
{
private int curr;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String value;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private javax.ws.rs.core.Link$Builder builder;
descriptor: Ljavax/ws/rs/core/Link$Builder;
flags: (0x0002) ACC_PRIVATE
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
aload 1
putfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
2: aload 0
new org.jboss.resteasy.specimpl.LinkBuilderImpl
dup
invokespecial org.jboss.resteasy.specimpl.LinkBuilderImpl.<init>:()V
putfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.builder:Ljavax/ws/rs/core/Link$Builder;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/plugins/delegates/LinkDelegate$Parser;
0 4 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public javax.ws.rs.core.Link getLink();
descriptor: ()Ljavax/ws/rs/core/Link;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.builder:Ljavax/ws/rs/core/Link$Builder;
iconst_0
anewarray java.lang.Object
invokeinterface javax.ws.rs.core.Link$Builder.build:([Ljava/lang/Object;)Ljavax/ws/rs/core/Link;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/plugins/delegates/LinkDelegate$Parser;
public void parse();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: new org.jboss.resteasy.specimpl.MultivaluedMapImpl
dup
invokespecial org.jboss.resteasy.specimpl.MultivaluedMapImpl.<init>:()V
astore 2
start local 2 2: goto 13
3: StackMap locals: java.lang.String javax.ws.rs.core.MultivaluedMap
StackMap stack:
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 4: iload 3
bipush 60
if_icmpne 9
5: aload 1
ifnull 7
6: new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.unableToParseLinkHeaderTooManyLinks:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.parseLink:()Ljava/lang/String;
astore 1
8: goto 13
9: StackMap locals:
StackMap stack:
iload 3
bipush 59
if_icmpeq 10
iload 3
bipush 32
if_icmpne 12
10: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
iconst_1
iadd
putfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.parseAttribute:(Ljavax/ws/rs/core/MultivaluedMap;)V
end local 3 13: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmplt 3
14: aload 0
aload 1
aload 2
invokevirtual org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.populateLink:(Ljava/lang/String;Ljavax/ws/rs/core/MultivaluedMap;)V
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/jboss/resteasy/plugins/delegates/LinkDelegate$Parser;
1 16 1 href Ljava/lang/String;
2 16 2 attributes Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;
4 13 3 c C
protected void populateLink(java.lang.String, javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String>);
descriptor: (Ljava/lang/String;Ljavax/ws/rs/core/MultivaluedMap;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.builder:Ljavax/ws/rs/core/Link$Builder;
aload 1
invokeinterface javax.ws.rs.core.Link$Builder.uri:(Ljava/lang/String;)Ljavax/ws/rs/core/Link$Builder;
pop
1: aload 2
invokeinterface javax.ws.rs.core.MultivaluedMap.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 26
StackMap locals: org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser java.lang.String javax.ws.rs.core.MultivaluedMap top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: aload 2
aload 3
invokeinterface javax.ws.rs.core.MultivaluedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 5
start local 5 4: aload 3
ldc "rel"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
5: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 8
StackMap locals: org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser java.lang.String javax.ws.rs.core.MultivaluedMap java.lang.String java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
6: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 7: aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.builder:Ljavax/ws/rs/core/Link$Builder;
aload 6
invokeinterface javax.ws.rs.core.Link$Builder.rel:(Ljava/lang/String;)Ljavax/ws/rs/core/Link$Builder;
pop
end local 6 StackMap locals:
StackMap stack:
8: aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: goto 26
10: StackMap locals: org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser java.lang.String javax.ws.rs.core.MultivaluedMap java.lang.String java.util.Iterator java.util.List
StackMap stack:
aload 3
ldc "title"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
11: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 14
StackMap locals: org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser java.lang.String javax.ws.rs.core.MultivaluedMap java.lang.String java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
12: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 13: aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.builder:Ljavax/ws/rs/core/Link$Builder;
aload 6
invokeinterface javax.ws.rs.core.Link$Builder.title:(Ljava/lang/String;)Ljavax/ws/rs/core/Link$Builder;
pop
end local 6 StackMap locals:
StackMap stack:
14: aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
15: goto 26
16: StackMap locals: org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser java.lang.String javax.ws.rs.core.MultivaluedMap java.lang.String java.util.Iterator java.util.List
StackMap stack:
aload 3
ldc "type"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
17: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 20
StackMap locals: org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser java.lang.String javax.ws.rs.core.MultivaluedMap java.lang.String java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
18: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 19: aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.builder:Ljavax/ws/rs/core/Link$Builder;
aload 6
invokeinterface javax.ws.rs.core.Link$Builder.type:(Ljava/lang/String;)Ljavax/ws/rs/core/Link$Builder;
pop
end local 6 StackMap locals:
StackMap stack:
20: aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
21: goto 26
22: StackMap locals: org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser java.lang.String javax.ws.rs.core.MultivaluedMap java.lang.String java.util.Iterator java.util.List
StackMap stack:
aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 25
StackMap locals: org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser java.lang.String javax.ws.rs.core.MultivaluedMap java.lang.String java.util.Iterator java.util.List top java.util.Iterator
StackMap stack:
23: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 24: aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.builder:Ljavax/ws/rs/core/Link$Builder;
aload 3
aload 6
invokeinterface javax.ws.rs.core.Link$Builder.param:(Ljava/lang/String;Ljava/lang/String;)Ljavax/ws/rs/core/Link$Builder;
pop
end local 6 StackMap locals:
StackMap stack:
25: aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 23
end local 5 end local 3 26: StackMap locals: org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser java.lang.String javax.ws.rs.core.MultivaluedMap top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
27: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/jboss/resteasy/plugins/delegates/LinkDelegate$Parser;
0 28 1 href Ljava/lang/String;
0 28 2 attributes Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;
3 26 3 name Ljava/lang/String;
4 26 5 values Ljava/util/List<Ljava/lang/String;>;
7 8 6 val Ljava/lang/String;
13 14 6 val Ljava/lang/String;
19 20 6 val Ljava/lang/String;
24 25 6 val Ljava/lang/String;
Signature: (Ljava/lang/String;Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
href
attributes
public java.lang.String parseLink();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
bipush 62
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
invokevirtual java.lang.String.indexOf:(II)I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 2
new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.unableToParseLinkHeaderNoEndToLink:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
iconst_1
iadd
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
start local 2 3: aload 0
iload 1
iconst_1
iadd
putfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jboss/resteasy/plugins/delegates/LinkDelegate$Parser;
1 5 1 end I
3 5 2 href Ljava/lang/String;
public void parseAttribute(javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String>);
descriptor: (Ljavax/ws/rs/core/MultivaluedMap;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
bipush 61
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
invokevirtual java.lang.String.indexOf:(II)I
istore 2
start local 2 1: iload 2
iconst_m1
if_icmpeq 2
iload 2
iconst_1
iadd
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmplt 3
2: StackMap locals: int
StackMap stack:
new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.unableToParseLinkHeaderNoEndToParameter:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
start local 3 4: aload 3
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 3
5: aload 0
iload 2
iconst_1
iadd
putfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
6: aconst_null
astore 4
start local 4 7: aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmplt 10
8: ldc ""
astore 4
9: goto 28
10: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
invokevirtual java.lang.String.charAt:(I)C
bipush 34
if_icmpne 20
11: aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
iconst_1
iadd
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmplt 13
12: new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.unableToParseLinkHeaderNoEndToParameter:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
iconst_1
iadd
putfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
14: aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
bipush 34
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
invokevirtual java.lang.String.indexOf:(II)I
istore 2
15: iload 2
iconst_m1
if_icmpne 17
16: new java.lang.IllegalArgumentException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.unableToParseLinkHeaderNoEndToParameter:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
18: aload 0
iload 2
iconst_1
iadd
putfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
19: goto 28
20: StackMap locals:
StackMap stack:
new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 5
start local 5 21: goto 26
22: StackMap locals: java.lang.StringBuffer
StackMap stack:
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
invokevirtual java.lang.String.charAt:(I)C
istore 6
start local 6 23: iload 6
bipush 44
if_icmpeq 27
iload 6
bipush 59
if_icmpne 24
goto 27
24: StackMap locals: int
StackMap stack:
aload 5
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
invokevirtual java.lang.String.charAt:(I)C
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
25: aload 0
dup
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
iconst_1
iadd
putfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
end local 6 26: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.curr:I
aload 0
getfield org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser.value:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmplt 22
27: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
astore 4
end local 5 28: StackMap locals:
StackMap stack:
aload 1
aload 3
aload 4
invokeinterface javax.ws.rs.core.MultivaluedMap.add:(Ljava/lang/Object;Ljava/lang/Object;)V
29: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/jboss/resteasy/plugins/delegates/LinkDelegate$Parser;
0 30 1 attributes Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;
1 30 2 end I
4 30 3 name Ljava/lang/String;
7 30 4 val Ljava/lang/String;
21 28 5 buf Ljava/lang/StringBuffer;
23 26 6 c C
Signature: (Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
attributes
}
SourceFile: "LinkDelegate.java"
NestHost: org.jboss.resteasy.plugins.delegates.LinkDelegate
InnerClasses:
public abstract Builder = javax.ws.rs.core.Link$Builder of javax.ws.rs.core.Link
private Parser = org.jboss.resteasy.plugins.delegates.LinkDelegate$Parser of org.jboss.resteasy.plugins.delegates.LinkDelegate