public class org.jboss.resteasy.specimpl.BuiltResponse extends javax.ws.rs.core.Response
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.specimpl.BuiltResponse
super_class: javax.ws.rs.core.Response
{
protected java.lang.Object entity;
descriptor: Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
protected int status;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected java.lang.String reason;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected org.jboss.resteasy.core.Headers<java.lang.Object> ;
descriptor: Lorg/jboss/resteasy/core/Headers;
flags: (0x0004) ACC_PROTECTED
Signature: Lorg/jboss/resteasy/core/Headers<Ljava/lang/Object;>;
protected java.lang.annotation.Annotation[] annotations;
descriptor: [Ljava/lang/annotation/Annotation;
flags: (0x0004) ACC_PROTECTED
protected java.lang.Class entityClass;
descriptor: Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
protected java.lang.reflect.Type genericType;
descriptor: Ljava/lang/reflect/Type;
flags: (0x0004) ACC_PROTECTED
protected org.jboss.resteasy.spi.HeaderValueProcessor ;
descriptor: Lorg/jboss/resteasy/spi/HeaderValueProcessor;
flags: (0x0004) ACC_PROTECTED
protected volatile boolean isClosed;
descriptor: Z
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.ws.rs.core.Response.<init>:()V
1: aload 0
sipush 200
putfield org.jboss.resteasy.specimpl.BuiltResponse.status:I
2: aload 0
ldc "Unknown Code"
putfield org.jboss.resteasy.specimpl.BuiltResponse.reason:Ljava/lang/String;
3: aload 0
new org.jboss.resteasy.core.Headers
dup
invokespecial org.jboss.resteasy.core.Headers.<init>:()V
putfield org.jboss.resteasy.specimpl.BuiltResponse.metadata:Lorg/jboss/resteasy/core/Headers;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
public void <init>(int, org.jboss.resteasy.core.Headers<java.lang.Object>, , java.lang.annotation.Annotation[]);
descriptor: (ILorg/jboss/resteasy/core/Headers;Ljava/lang/Object;[Ljava/lang/annotation/Annotation;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
aconst_null
aload 2
aload 3
aload 4
invokespecial org.jboss.resteasy.specimpl.BuiltResponse.<init>:(ILjava/lang/String;Lorg/jboss/resteasy/core/Headers;Ljava/lang/Object;[Ljava/lang/annotation/Annotation;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 2 1 status I
0 2 2 metadata Lorg/jboss/resteasy/core/Headers<Ljava/lang/Object;>;
0 2 3 entity Ljava/lang/Object;
0 2 4 entityAnnotations [Ljava/lang/annotation/Annotation;
Signature: (ILorg/jboss/resteasy/core/Headers<Ljava/lang/Object;>;Ljava/lang/Object;[Ljava/lang/annotation/Annotation;)V
MethodParameters:
Name Flags
status
metadata
entity
entityAnnotations
public void <init>(int, java.lang.String, org.jboss.resteasy.core.Headers<java.lang.Object>, , java.lang.annotation.Annotation[]);
descriptor: (ILjava/lang/String;Lorg/jboss/resteasy/core/Headers;Ljava/lang/Object;[Ljava/lang/annotation/Annotation;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial javax.ws.rs.core.Response.<init>:()V
1: aload 0
sipush 200
putfield org.jboss.resteasy.specimpl.BuiltResponse.status:I
2: aload 0
ldc "Unknown Code"
putfield org.jboss.resteasy.specimpl.BuiltResponse.reason:Ljava/lang/String;
3: aload 0
new org.jboss.resteasy.core.Headers
dup
invokespecial org.jboss.resteasy.core.Headers.<init>:()V
putfield org.jboss.resteasy.specimpl.BuiltResponse.metadata:Lorg/jboss/resteasy/core/Headers;
4: aload 0
aload 4
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.setEntity:(Ljava/lang/Object;)V
5: aload 0
iload 1
putfield org.jboss.resteasy.specimpl.BuiltResponse.status:I
6: aload 0
aload 3
putfield org.jboss.resteasy.specimpl.BuiltResponse.metadata:Lorg/jboss/resteasy/core/Headers;
7: aload 0
aload 5
putfield org.jboss.resteasy.specimpl.BuiltResponse.annotations:[Ljava/lang/annotation/Annotation;
8: aload 2
ifnull 10
9: aload 0
aload 2
putfield org.jboss.resteasy.specimpl.BuiltResponse.reason:Ljava/lang/String;
10: StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse int java.lang.String org.jboss.resteasy.core.Headers java.lang.Object java.lang.annotation.Annotation[]
StackMap stack:
return
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 11 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 11 1 status I
0 11 2 reason Ljava/lang/String;
0 11 3 metadata Lorg/jboss/resteasy/core/Headers<Ljava/lang/Object;>;
0 11 4 entity Ljava/lang/Object;
0 11 5 entityAnnotations [Ljava/lang/annotation/Annotation;
Signature: (ILjava/lang/String;Lorg/jboss/resteasy/core/Headers<Ljava/lang/Object;>;Ljava/lang/Object;[Ljava/lang/annotation/Annotation;)V
MethodParameters:
Name Flags
status
reason
metadata
entity
entityAnnotations
public java.lang.Class getEntityClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.entityClass:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
public void setEntityClass(java.lang.Class);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.jboss.resteasy.specimpl.BuiltResponse.entityClass:Ljava/lang/Class;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 2 1 entityClass Ljava/lang/Class;
MethodParameters:
Name Flags
entityClass
protected org.jboss.resteasy.spi.HeaderValueProcessor ();
descriptor: ()Lorg/jboss/resteasy/spi/HeaderValueProcessor;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.processor:Lorg/jboss/resteasy/spi/HeaderValueProcessor;
ifnull 1
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.processor:Lorg/jboss/resteasy/spi/HeaderValueProcessor;
areturn
1: StackMap locals:
StackMap stack:
invokestatic org.jboss.resteasy.spi.ResteasyProviderFactory.getInstance:()Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
public java.lang.Object getEntity();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.abortIfClosed:()V
1: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
public int getStatus();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.status:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
public java.lang.String getReasonPhrase();
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.BuiltResponse.reason:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
public javax.ws.rs.core.Response$StatusType getStatusInfo();
descriptor: ()Ljavax/ws/rs/core/Response$StatusType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.status:I
invokestatic javax.ws.rs.core.Response$Status.fromStatusCode:(I)Ljavax/ws/rs/core/Response$Status;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new org.jboss.resteasy.specimpl.BuiltResponse$1
dup
aload 0
invokespecial org.jboss.resteasy.specimpl.BuiltResponse$1.<init>:(Lorg/jboss/resteasy/specimpl/BuiltResponse;)V
astore 1
3: StackMap locals: javax.ws.rs.core.Response$StatusType
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
1 4 1 statusType Ljavax/ws/rs/core/Response$StatusType;
public javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.Object> getMetadata();
descriptor: ()Ljavax/ws/rs/core/MultivaluedMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.metadata:Lorg/jboss/resteasy/core/Headers;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
Signature: ()Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/Object;>;
public void setEntity(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 5
1: aload 0
aconst_null
putfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
2: aload 0
aconst_null
putfield org.jboss.resteasy.specimpl.BuiltResponse.genericType:Ljava/lang/reflect/Type;
3: aload 0
aconst_null
putfield org.jboss.resteasy.specimpl.BuiltResponse.entityClass:Ljava/lang/Class;
4: goto 14
5: StackMap locals:
StackMap stack:
aload 1
instanceof javax.ws.rs.core.GenericEntity
ifeq 11
6: aload 1
checkcast javax.ws.rs.core.GenericEntity
astore 2
start local 2 7: aload 0
aload 2
invokevirtual javax.ws.rs.core.GenericEntity.getEntity:()Ljava/lang/Object;
putfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
8: aload 0
aload 2
invokevirtual javax.ws.rs.core.GenericEntity.getType:()Ljava/lang/reflect/Type;
putfield org.jboss.resteasy.specimpl.BuiltResponse.genericType:Ljava/lang/reflect/Type;
9: aload 0
aload 2
invokevirtual javax.ws.rs.core.GenericEntity.getRawType:()Ljava/lang/Class;
putfield org.jboss.resteasy.specimpl.BuiltResponse.entityClass:Ljava/lang/Class;
end local 2 10: goto 14
11: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
12: aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
putfield org.jboss.resteasy.specimpl.BuiltResponse.entityClass:Ljava/lang/Class;
13: aload 0
aconst_null
putfield org.jboss.resteasy.specimpl.BuiltResponse.genericType:Ljava/lang/reflect/Type;
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 15 1 entity Ljava/lang/Object;
7 10 2 ge Ljavax/ws/rs/core/GenericEntity;
MethodParameters:
Name Flags
entity
public void setStatus(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.jboss.resteasy.specimpl.BuiltResponse.status:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 2 1 status I
MethodParameters:
Name Flags
status
public void setReasonPhrase(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.jboss.resteasy.specimpl.BuiltResponse.reason:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 2 1 reason Ljava/lang/String;
MethodParameters:
Name Flags
reason
public void setMetadata(javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.Object>);
descriptor: (Ljavax/ws/rs/core/MultivaluedMap;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.jboss.resteasy.core.Headers
dup
invokespecial org.jboss.resteasy.core.Headers.<init>:()V
putfield org.jboss.resteasy.specimpl.BuiltResponse.metadata:Lorg/jboss/resteasy/core/Headers;
1: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.metadata:Lorg/jboss/resteasy/core/Headers;
aload 1
invokevirtual org.jboss.resteasy.core.Headers.putAll:(Ljava/util/Map;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 3 1 metadata Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
metadata
public java.lang.annotation.Annotation[] getAnnotations();
descriptor: ()[Ljava/lang/annotation/Annotation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.annotations:[Ljava/lang/annotation/Annotation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
public void addMethodAnnotations(java.lang.annotation.Annotation[]);
descriptor: ([Ljava/lang/annotation/Annotation;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.annotations:[Ljava/lang/annotation/Annotation;
ifnull 7
2: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.annotations:[Ljava/lang/annotation/Annotation;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 6
StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse java.lang.annotation.Annotation[] java.util.List top int int java.lang.annotation.Annotation[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 5
if_icmplt 3
7: StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse java.lang.annotation.Annotation[] java.util.List
StackMap stack:
aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 11
StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse java.lang.annotation.Annotation[] java.util.List top int int java.lang.annotation.Annotation[]
StackMap stack:
8: aload 6
iload 4
aaload
astore 3
start local 3 9: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 10: iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 5
if_icmplt 8
12: aload 0
aload 2
aload 2
invokeinterface java.util.List.size:()I
anewarray java.lang.annotation.Annotation
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.annotation.Annotation[]
putfield org.jboss.resteasy.specimpl.BuiltResponse.annotations:[Ljava/lang/annotation/Annotation;
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 14 1 methodAnnotations [Ljava/lang/annotation/Annotation;
1 14 2 ann Ljava/util/List<Ljava/lang/annotation/Annotation;>;
4 5 3 annotation Ljava/lang/annotation/Annotation;
9 10 3 annotation Ljava/lang/annotation/Annotation;
MethodParameters:
Name Flags
methodAnnotations
public void setAnnotations(java.lang.annotation.Annotation[]);
descriptor: ([Ljava/lang/annotation/Annotation;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.jboss.resteasy.specimpl.BuiltResponse.annotations:[Ljava/lang/annotation/Annotation;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 2 1 annotations [Ljava/lang/annotation/Annotation;
MethodParameters:
Name Flags
annotations
public java.lang.reflect.Type getGenericType();
descriptor: ()Ljava/lang/reflect/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.genericType:Ljava/lang/reflect/Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
public void setGenericType(java.lang.reflect.Type);
descriptor: (Ljava/lang/reflect/Type;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.jboss.resteasy.specimpl.BuiltResponse.genericType:Ljava/lang/reflect/Type;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 2 1 genericType Ljava/lang/reflect/Type;
MethodParameters:
Name Flags
genericType
public <T> T readEntity(java.lang.Class<T>, java.lang.annotation.Annotation[]);
descriptor: (Ljava/lang/Class;[Ljava/lang/annotation/Annotation;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
aload 2
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.readEntity:(Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 1 1 type Ljava/lang/Class<TT;>;
0 1 2 annotations [Ljava/lang/annotation/Annotation;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;[Ljava/lang/annotation/Annotation;)TT;
MethodParameters:
Name Flags
type
annotations
public <T> T readEntity(javax.ws.rs.core.GenericType<T>, java.lang.annotation.Annotation[]);
descriptor: (Ljavax/ws/rs/core/GenericType;[Ljava/lang/annotation/Annotation;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual javax.ws.rs.core.GenericType.getRawType:()Ljava/lang/Class;
aload 1
invokevirtual javax.ws.rs.core.GenericType.getType:()Ljava/lang/reflect/Type;
aload 2
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.readEntity:(Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 1 1 entityType Ljavax/ws/rs/core/GenericType<TT;>;
0 1 2 annotations [Ljava/lang/annotation/Annotation;
Signature: <T:Ljava/lang/Object;>(Ljavax/ws/rs/core/GenericType<TT;>;[Ljava/lang/annotation/Annotation;)TT;
MethodParameters:
Name Flags
entityType
annotations
public <T> T readEntity(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
aconst_null
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.readEntity:(Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 1 1 type Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
type
public <T> T readEntity(javax.ws.rs.core.GenericType<T>);
descriptor: (Ljavax/ws/rs/core/GenericType;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.ws.rs.core.GenericType.getRawType:()Ljava/lang/Class;
aload 1
invokevirtual javax.ws.rs.core.GenericType.getType:()Ljava/lang/reflect/Type;
aconst_null
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.readEntity:(Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 1 1 entityType Ljavax/ws/rs/core/GenericType<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljavax/ws/rs/core/GenericType<TT;>;)TT;
MethodParameters:
Name Flags
entityType
public <T> T readEntity(java.lang.Class<T>, java.lang.reflect.Type, java.lang.annotation.Annotation[]);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.IllegalStateException
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.entityNotBackedByInputStream:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 1 1 type Ljava/lang/Class<TT;>;
0 1 2 genericType Ljava/lang/reflect/Type;
0 1 3 anns [Ljava/lang/annotation/Annotation;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)TT;
MethodParameters:
Name Flags
type
genericType
anns
public boolean hasEntity();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.abortIfClosed:()V
1: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
ifnull 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
public boolean bufferEntity();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.abortIfClosed:()V
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
public boolean isClosed();
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.BuiltResponse.isClosed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
public void abortIfClosed();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.isClosed:()Z
ifeq 1
new java.lang.IllegalStateException
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.responseIsClosed:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.jboss.resteasy.specimpl.BuiltResponse.isClosed:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
public java.util.Locale getLanguage();
descriptor: ()Ljava/util/Locale;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.metadata:Lorg/jboss/resteasy/core/Headers;
ldc "Content-Language"
invokevirtual org.jboss.resteasy.core.Headers.getFirst:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnonnull 2
aconst_null
areturn
2: StackMap locals: java.lang.Object
StackMap stack:
aload 1
instanceof java.util.Locale
ifeq 3
aload 1
checkcast java.util.Locale
areturn
3: StackMap locals:
StackMap stack:
new org.jboss.resteasy.plugins.delegates.LocaleDelegate
dup
invokespecial org.jboss.resteasy.plugins.delegates.LocaleDelegate.<init>:()V
aload 0
aload 1
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.toHeaderString:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.jboss.resteasy.plugins.delegates.LocaleDelegate.fromString:(Ljava/lang/String;)Ljava/util/Locale;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
1 4 1 obj Ljava/lang/Object;
public int getLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.metadata:Lorg/jboss/resteasy/core/Headers;
ldc "Content-Length"
invokevirtual org.jboss.resteasy.core.Headers.getFirst:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnonnull 2
iconst_m1
ireturn
2: StackMap locals: java.lang.Object
StackMap stack:
aload 1
instanceof java.lang.Integer
ifeq 3
aload 1
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.toHeaderString:(Ljava/lang/Object;)Ljava/lang/String;
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
1 4 1 obj Ljava/lang/Object;
public javax.ws.rs.core.MediaType getMediaType();
descriptor: ()Ljavax/ws/rs/core/MediaType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.metadata:Lorg/jboss/resteasy/core/Headers;
ldc "Content-Type"
invokevirtual org.jboss.resteasy.core.Headers.getFirst:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
instanceof javax.ws.rs.core.MediaType
ifeq 2
aload 1
checkcast javax.ws.rs.core.MediaType
areturn
2: StackMap locals: java.lang.Object
StackMap stack:
aload 1
ifnonnull 3
aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.toHeaderString:(Ljava/lang/Object;)Ljava/lang/String;
invokestatic javax.ws.rs.core.MediaType.valueOf:(Ljava/lang/String;)Ljavax/ws/rs/core/MediaType;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
1 4 1 obj Ljava/lang/Object;
public java.util.Map<java.lang.String, javax.ws.rs.core.NewCookie> getCookies();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.metadata:Lorg/jboss/resteasy/core/Headers;
ldc "Set-Cookie"
invokevirtual org.jboss.resteasy.core.Headers.get:(Ljava/lang/Object;)Ljava/util/List;
astore 2
start local 2 2: aload 2
ifnonnull 3
aload 1
areturn
3: StackMap locals: java.util.Map java.util.List
StackMap stack:
aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse java.util.Map java.util.List top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
start local 3 5: aload 3
instanceof javax.ws.rs.core.NewCookie
ifeq 9
6: aload 3
checkcast javax.ws.rs.core.NewCookie
astore 5
start local 5 7: aload 1
aload 5
invokevirtual javax.ws.rs.core.NewCookie.getName:()Ljava/lang/String;
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 8: goto 12
9: StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse java.util.Map java.util.List java.lang.Object java.util.Iterator
StackMap stack:
aload 0
aload 3
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.toHeaderString:(Ljava/lang/Object;)Ljava/lang/String;
astore 5
start local 5 10: aload 5
invokestatic javax.ws.rs.core.NewCookie.valueOf:(Ljava/lang/String;)Ljavax/ws/rs/core/NewCookie;
astore 6
start local 6 11: aload 1
aload 6
invokevirtual javax.ws.rs.core.NewCookie.getName:()Ljava/lang/String;
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 5 end local 3 12: StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse java.util.Map java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
13: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
1 14 1 cookies Ljava/util/Map<Ljava/lang/String;Ljavax/ws/rs/core/NewCookie;>;
2 14 2 list Ljava/util/List;
5 12 3 obj Ljava/lang/Object;
7 8 5 cookie Ljavax/ws/rs/core/NewCookie;
10 12 5 str Ljava/lang/String;
11 12 6 cookie Ljavax/ws/rs/core/NewCookie;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljavax/ws/rs/core/NewCookie;>;
public javax.ws.rs.core.EntityTag getEntityTag();
descriptor: ()Ljavax/ws/rs/core/EntityTag;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.metadata:Lorg/jboss/resteasy/core/Headers;
ldc "ETag"
invokevirtual org.jboss.resteasy.core.Headers.getFirst:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnonnull 2
aconst_null
areturn
2: StackMap locals: java.lang.Object
StackMap stack:
aload 1
instanceof javax.ws.rs.core.EntityTag
ifeq 3
aload 1
checkcast javax.ws.rs.core.EntityTag
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.toHeaderString:(Ljava/lang/Object;)Ljava/lang/String;
invokestatic javax.ws.rs.core.EntityTag.valueOf:(Ljava/lang/String;)Ljavax/ws/rs/core/EntityTag;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
1 4 1 d Ljava/lang/Object;
public java.util.Date getDate();
descriptor: ()Ljava/util/Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.metadata:Lorg/jboss/resteasy/core/Headers;
ldc "Date"
invokevirtual org.jboss.resteasy.core.Headers.getFirst:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnonnull 2
aconst_null
areturn
2: StackMap locals: java.lang.Object
StackMap stack:
aload 1
instanceof java.util.Date
ifeq 3
aload 1
checkcast java.util.Date
areturn
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokestatic org.jboss.resteasy.util.DateUtil.parseDate:(Ljava/lang/String;)Ljava/util/Date;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
1 4 1 d Ljava/lang/Object;
public java.util.Date getLastModified();
descriptor: ()Ljava/util/Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.metadata:Lorg/jboss/resteasy/core/Headers;
ldc "Last-Modified"
invokevirtual org.jboss.resteasy.core.Headers.getFirst:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnonnull 2
aconst_null
areturn
2: StackMap locals: java.lang.Object
StackMap stack:
aload 1
instanceof java.util.Date
ifeq 3
aload 1
checkcast java.util.Date
areturn
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokestatic org.jboss.resteasy.util.DateUtil.parseDate:(Ljava/lang/String;)Ljava/util/Date;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
1 4 1 d Ljava/lang/Object;
public java.util.Set<java.lang.String> getAllowedMethods();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=10, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.metadata:Lorg/jboss/resteasy/core/Headers;
ldc "Allow"
invokevirtual org.jboss.resteasy.core.Headers.get:(Ljava/lang/Object;)Ljava/util/List;
astore 2
start local 2 2: aload 2
ifnonnull 3
aload 1
areturn
3: StackMap locals: java.util.Set java.util.List
StackMap stack:
aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 15
StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse java.util.Set java.util.List top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
start local 3 5: aload 3
ifnull 14
aload 3
instanceof java.lang.String
ifeq 14
6: aload 3
checkcast java.lang.String
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 5
start local 5 7: aload 5
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 12
StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse java.util.Set java.util.List java.lang.Object java.util.Iterator java.lang.String[] top int int java.lang.String[]
StackMap stack:
8: aload 9
iload 7
aaload
astore 6
start local 6 9: ldc ""
aload 6
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
10: aload 1
aload 6
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 6 11: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
12: iload 7
iload 8
if_icmplt 8
end local 5 13: goto 15
14: StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse java.util.Set java.util.List java.lang.Object java.util.Iterator
StackMap stack:
aload 1
aload 0
aload 3
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.toHeaderString:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 3 15: StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse java.util.Set java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
16: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
1 17 1 allowedMethods Ljava/util/Set<Ljava/lang/String;>;
2 17 2 allowed Ljava/util/List<Ljava/lang/Object;>;
5 15 3 header Ljava/lang/Object;
7 13 5 list [Ljava/lang/String;
9 11 6 str Ljava/lang/String;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
protected java.lang.String (java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.lang.String
ifeq 1
aload 1
checkcast java.lang.String
areturn
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getHeaderValueProcessor:()Lorg/jboss/resteasy/spi/HeaderValueProcessor;
aload 1
invokeinterface org.jboss.resteasy.spi.HeaderValueProcessor.toHeaderString:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 2 1 header Ljava/lang/Object;
MethodParameters:
Name Flags
header
public javax.ws.rs.core.MultivaluedMap<java.lang.String, java.lang.String> getStringHeaders();
descriptor: ()Ljavax/ws/rs/core/MultivaluedMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: new org.jboss.resteasy.util.CaseInsensitiveMap
dup
invokespecial org.jboss.resteasy.util.CaseInsensitiveMap.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.metadata:Lorg/jboss/resteasy/core/Headers;
invokevirtual org.jboss.resteasy.core.Headers.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.util.CaseInsensitiveMap top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.util.CaseInsensitiveMap java.util.Map$Entry java.util.Iterator top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 4
start local 4 5: aload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 0
aload 4
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.toHeaderString:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.jboss.resteasy.util.CaseInsensitiveMap.add:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 4 6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 2 7: StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse org.jboss.resteasy.util.CaseInsensitiveMap top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
1 9 1 map Lorg/jboss/resteasy/util/CaseInsensitiveMap<Ljava/lang/String;>;
3 7 2 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/Object;>;>;
5 6 4 obj Ljava/lang/Object;
Signature: ()Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;
public java.lang.String (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.metadata:Lorg/jboss/resteasy/core/Headers;
aload 1
invokevirtual org.jboss.resteasy.core.Headers.get:(Ljava/lang/Object;)Ljava/util/List;
astore 2
start local 2 1: aload 2
ifnonnull 2
aconst_null
areturn
2: StackMap locals: java.util.List
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 3: iconst_1
istore 4
start local 4 4: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 12
StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse java.lang.String java.util.List java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 5
start local 5 6: iload 4
ifeq 7
iconst_0
istore 4
goto 8
7: StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse java.lang.String java.util.List java.lang.StringBuilder int java.lang.Object java.util.Iterator
StackMap stack:
aload 3
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: StackMap locals:
StackMap stack:
aload 5
ifnonnull 9
ldc ""
astore 5
9: StackMap locals:
StackMap stack:
aload 0
aload 5
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.toHeaderString:(Ljava/lang/Object;)Ljava/lang/String;
astore 5
10: aload 5
ifnonnull 11
ldc ""
astore 5
11: StackMap locals:
StackMap stack:
aload 3
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
end local 5 12: StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse java.lang.String java.util.List java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
13: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 14 1 name Ljava/lang/String;
1 14 2 vals Ljava/util/List;
3 14 3 builder Ljava/lang/StringBuilder;
4 14 4 first Z
6 12 5 val Ljava/lang/Object;
MethodParameters:
Name Flags
name
public java.net.URI getLocation();
descriptor: ()Ljava/net/URI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.metadata:Lorg/jboss/resteasy/core/Headers;
ldc "Location"
invokevirtual org.jboss.resteasy.core.Headers.getFirst:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnonnull 2
aconst_null
areturn
2: StackMap locals: java.lang.Object
StackMap stack:
aload 1
instanceof java.net.URI
ifeq 3
aload 1
checkcast java.net.URI
areturn
3: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 4: aload 1
instanceof java.lang.String
ifeq 5
aload 1
checkcast java.lang.String
astore 2
goto 6
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.toHeaderString:(Ljava/lang/Object;)Ljava/lang/String;
astore 2
6: StackMap locals:
StackMap stack:
aload 2
invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
1 7 1 uri Ljava/lang/Object;
4 7 2 str Ljava/lang/String;
public java.util.Set<javax.ws.rs.core.Link> getLinks();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getLinkHeaders:()Lorg/jboss/resteasy/spi/LinkHeaders;
astore 1
start local 1 1: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 2: aload 2
aload 1
invokevirtual org.jboss.resteasy.spi.LinkHeaders.getLinks:()Ljava/util/List;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
1 4 1 linkHeaders Lorg/jboss/resteasy/spi/LinkHeaders;
2 4 2 links Ljava/util/Set<Ljavax/ws/rs/core/Link;>;
Signature: ()Ljava/util/Set<Ljavax/ws/rs/core/Link;>;
protected org.jboss.resteasy.spi.LinkHeaders ();
descriptor: ()Lorg/jboss/resteasy/spi/LinkHeaders;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: new org.jboss.resteasy.spi.LinkHeaders
dup
invokespecial org.jboss.resteasy.spi.LinkHeaders.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.metadata:Lorg/jboss/resteasy/core/Headers;
aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getHeaderValueProcessor:()Lorg/jboss/resteasy/spi/HeaderValueProcessor;
invokevirtual org.jboss.resteasy.spi.LinkHeaders.addLinkObjects:(Ljavax/ws/rs/core/MultivaluedMap;Lorg/jboss/resteasy/spi/HeaderValueProcessor;)Lorg/jboss/resteasy/spi/LinkHeaders;
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
1 3 1 linkHeaders Lorg/jboss/resteasy/spi/LinkHeaders;
public boolean hasLink(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getLinkHeaders:()Lorg/jboss/resteasy/spi/LinkHeaders;
aload 1
invokevirtual org.jboss.resteasy.spi.LinkHeaders.getLinkByRelationship:(Ljava/lang/String;)Ljavax/ws/rs/core/Link;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 2 1 relation Ljava/lang/String;
MethodParameters:
Name Flags
relation
public javax.ws.rs.core.Link getLink(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
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getLinkHeaders:()Lorg/jboss/resteasy/spi/LinkHeaders;
aload 1
invokevirtual org.jboss.resteasy.spi.LinkHeaders.getLinkByRelationship:(Ljava/lang/String;)Ljavax/ws/rs/core/Link;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 1 1 relation Ljava/lang/String;
MethodParameters:
Name Flags
relation
public javax.ws.rs.core.Link$Builder getLinkBuilder(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/ws/rs/core/Link$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getLinkHeaders:()Lorg/jboss/resteasy/spi/LinkHeaders;
aload 1
invokevirtual org.jboss.resteasy.spi.LinkHeaders.getLinkByRelationship:(Ljava/lang/String;)Ljavax/ws/rs/core/Link;
astore 2
start local 2 1: aload 2
ifnonnull 2
aconst_null
areturn
2: StackMap locals: javax.ws.rs.core.Link
StackMap stack:
aload 2
invokestatic javax.ws.rs.core.Link.fromLink:(Ljavax/ws/rs/core/Link;)Ljavax/ws/rs/core/Link$Builder;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 3 1 relation Ljava/lang/String;
1 3 2 link Ljavax/ws/rs/core/Link;
MethodParameters:
Name Flags
relation
}
SourceFile: "BuiltResponse.java"
NestMembers:
org.jboss.resteasy.specimpl.BuiltResponse$1
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public abstract Builder = javax.ws.rs.core.Link$Builder of javax.ws.rs.core.Link
public final Status = javax.ws.rs.core.Response$Status of javax.ws.rs.core.Response
public abstract StatusType = javax.ws.rs.core.Response$StatusType of javax.ws.rs.core.Response
org.jboss.resteasy.specimpl.BuiltResponse$1