public class
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.spi.LinkHeaders
super_class: java.lang.Object
{
private java.util.Map<java.lang.String, javax.ws.rs.core.Link> ;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljavax/ws/rs/core/Link;>;
private java.util.Map<java.lang.String, javax.ws.rs.core.Link> ;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljavax/ws/rs/core/Link;>;
private java.util.List<javax.ws.rs.core.Link> ;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljavax/ws/rs/core/Link;>;
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 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.spi.LinkHeaders.linksByRelationship:Ljava/util/Map;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.jboss.resteasy.spi.LinkHeaders.linksByTitle:Ljava/util/Map;
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.jboss.resteasy.spi.LinkHeaders.links:Ljava/util/List;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jboss/resteasy/spi/LinkHeaders;
public org.jboss.resteasy.spi.LinkHeaders addLinks(javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String>);
descriptor: (Ljavax/ws/rs/core/MultivaluedMap;)Lorg/jboss/resteasy/spi/LinkHeaders;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ldc "Link"
invokeinterface javax.ws.rs.core.MultivaluedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 1: aload 2
ifnonnull 2
aload 0
areturn
2: StackMap locals: java.util.List
StackMap stack:
aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: org.jboss.resteasy.spi.LinkHeaders javax.ws.rs.core.MultivaluedMap java.util.List top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 4: new org.jboss.resteasy.plugins.delegates.LinkHeaderDelegate
dup
invokespecial org.jboss.resteasy.plugins.delegates.LinkHeaderDelegate.<init>:()V
aload 3
invokevirtual org.jboss.resteasy.plugins.delegates.LinkHeaderDelegate.fromString:(Ljava/lang/String;)Lorg/jboss/resteasy/spi/LinkHeader;
astore 5
start local 5 5: aload 5
invokevirtual org.jboss.resteasy.spi.LinkHeader.getLinks:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 8
StackMap locals: org.jboss.resteasy.spi.LinkHeaders javax.ws.rs.core.MultivaluedMap java.util.List java.lang.String java.util.Iterator org.jboss.resteasy.spi.LinkHeader top java.util.Iterator
StackMap stack:
6: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jboss.resteasy.spi.Link
astore 6
start local 6 7: aload 0
aload 6
invokevirtual org.jboss.resteasy.spi.Link.toJaxrsLink:()Ljavax/ws/rs/core/Link;
invokevirtual org.jboss.resteasy.spi.LinkHeaders.addLink:(Ljavax/ws/rs/core/Link;)Lorg/jboss/resteasy/spi/LinkHeaders;
pop
end local 6 8: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 5 end local 3 9: StackMap locals: org.jboss.resteasy.spi.LinkHeaders javax.ws.rs.core.MultivaluedMap java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jboss/resteasy/spi/LinkHeaders;
0 11 1 headers Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;
1 11 2 values Ljava/util/List<Ljava/lang/String;>;
4 9 3 val Ljava/lang/String;
5 9 5 linkHeader Lorg/jboss/resteasy/spi/LinkHeader;
7 8 6 link Lorg/jboss/resteasy/spi/Link;
Signature: (Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;)Lorg/jboss/resteasy/spi/LinkHeaders;
MethodParameters:
Name Flags
headers
public org.jboss.resteasy.spi.LinkHeaders addLinkObjects(javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.Object>, org.jboss.resteasy.spi.HeaderValueProcessor);
descriptor: (Ljavax/ws/rs/core/MultivaluedMap;Lorg/jboss/resteasy/spi/HeaderValueProcessor;)Lorg/jboss/resteasy/spi/LinkHeaders;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "Link"
invokeinterface javax.ws.rs.core.MultivaluedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 1: aload 3
ifnonnull 2
aload 0
areturn
2: StackMap locals: java.util.List
StackMap stack:
aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: org.jboss.resteasy.spi.LinkHeaders javax.ws.rs.core.MultivaluedMap org.jboss.resteasy.spi.HeaderValueProcessor java.util.List top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 4
start local 4 4: aload 4
instanceof javax.ws.rs.core.Link
ifeq 5
aload 0
aload 4
checkcast javax.ws.rs.core.Link
invokevirtual org.jboss.resteasy.spi.LinkHeaders.addLink:(Ljavax/ws/rs/core/Link;)Lorg/jboss/resteasy/spi/LinkHeaders;
pop
goto 7
5: StackMap locals: org.jboss.resteasy.spi.LinkHeaders javax.ws.rs.core.MultivaluedMap org.jboss.resteasy.spi.HeaderValueProcessor java.util.List java.lang.Object java.util.Iterator
StackMap stack:
aload 2
aload 4
invokeinterface org.jboss.resteasy.spi.HeaderValueProcessor.toHeaderString:(Ljava/lang/Object;)Ljava/lang/String;
astore 6
start local 6 6: aload 0
aload 6
invokestatic javax.ws.rs.core.Link.valueOf:(Ljava/lang/String;)Ljavax/ws/rs/core/Link;
invokevirtual org.jboss.resteasy.spi.LinkHeaders.addLink:(Ljavax/ws/rs/core/Link;)Lorg/jboss/resteasy/spi/LinkHeaders;
pop
end local 6 end local 4 7: StackMap locals: org.jboss.resteasy.spi.LinkHeaders javax.ws.rs.core.MultivaluedMap org.jboss.resteasy.spi.HeaderValueProcessor java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jboss/resteasy/spi/LinkHeaders;
0 9 1 headers Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/Object;>;
0 9 2 factory Lorg/jboss/resteasy/spi/HeaderValueProcessor;
1 9 3 values Ljava/util/List<Ljava/lang/Object;>;
4 7 4 val Ljava/lang/Object;
6 7 6 str Ljava/lang/String;
Signature: (Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/Object;>;Lorg/jboss/resteasy/spi/HeaderValueProcessor;)Lorg/jboss/resteasy/spi/LinkHeaders;
MethodParameters:
Name Flags
headers
factory
public org.jboss.resteasy.spi.LinkHeaders (javax.ws.rs.core.Link);
descriptor: (Ljavax/ws/rs/core/Link;)Lorg/jboss/resteasy/spi/LinkHeaders;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jboss.resteasy.spi.LinkHeaders.links:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 1
invokevirtual javax.ws.rs.core.Link.getRels:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.jboss.resteasy.spi.LinkHeaders javax.ws.rs.core.Link top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: aload 0
getfield org.jboss.resteasy.spi.LinkHeaders.linksByRelationship:Ljava/util/Map;
aload 2
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
invokevirtual javax.ws.rs.core.Link.getTitle:()Ljava/lang/String;
ifnull 6
aload 0
getfield org.jboss.resteasy.spi.LinkHeaders.linksByTitle:Ljava/util/Map;
aload 1
invokevirtual javax.ws.rs.core.Link.getTitle:()Ljava/lang/String;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals: org.jboss.resteasy.spi.LinkHeaders javax.ws.rs.core.Link
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jboss/resteasy/spi/LinkHeaders;
0 7 1 link Ljavax/ws/rs/core/Link;
3 4 2 rel Ljava/lang/String;
MethodParameters:
Name Flags
link final
public javax.ws.rs.core.Link (java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/ws/rs/core/Link;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jboss.resteasy.spi.LinkHeaders.linksByTitle:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.ws.rs.core.Link
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/spi/LinkHeaders;
0 1 1 title Ljava/lang/String;
MethodParameters:
Name Flags
title
public javax.ws.rs.core.Link (java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/ws/rs/core/Link;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jboss.resteasy.spi.LinkHeaders.linksByRelationship:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.ws.rs.core.Link
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/spi/LinkHeaders;
0 1 1 rel Ljava/lang/String;
MethodParameters:
Name Flags
rel
public java.util.Map<java.lang.String, javax.ws.rs.core.Link> getLinksByRelationship();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.spi.LinkHeaders.linksByRelationship:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/spi/LinkHeaders;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljavax/ws/rs/core/Link;>;
public java.util.Map<java.lang.String, javax.ws.rs.core.Link> getLinksByTitle();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.spi.LinkHeaders.linksByTitle:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/spi/LinkHeaders;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljavax/ws/rs/core/Link;>;
public java.util.List<javax.ws.rs.core.Link> getLinks();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.spi.LinkHeaders.links:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/spi/LinkHeaders;
Signature: ()Ljava/util/List<Ljavax/ws/rs/core/Link;>;
}
SourceFile: "LinkHeaders.java"