public class org.jboss.resteasy.spi.metadata.DefaultResourceMethod extends org.jboss.resteasy.spi.metadata.DefaultResourceLocator implements org.jboss.resteasy.spi.metadata.ResourceMethod
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.spi.metadata.DefaultResourceMethod
super_class: org.jboss.resteasy.spi.metadata.DefaultResourceLocator
{
private static final javax.ws.rs.core.MediaType[] empty;
descriptor: [Ljavax/ws/rs/core/MediaType;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected java.util.Set<java.lang.String> httpMethods;
descriptor: Ljava/util/Set;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Set<Ljava/lang/String;>;
protected javax.ws.rs.core.MediaType[] produces;
descriptor: [Ljavax/ws/rs/core/MediaType;
flags: (0x0004) ACC_PROTECTED
protected javax.ws.rs.core.MediaType[] consumes;
descriptor: [Ljavax/ws/rs/core/MediaType;
flags: (0x0004) ACC_PROTECTED
protected boolean asynchronous;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray javax.ws.rs.core.MediaType
putstatic org.jboss.resteasy.spi.metadata.DefaultResourceMethod.empty:[Ljavax/ws/rs/core/MediaType;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.jboss.resteasy.spi.metadata.ResourceClass, java.lang.reflect.Method, java.lang.reflect.Method);
descriptor: (Lorg/jboss/resteasy/spi/metadata/ResourceClass;Ljava/lang/reflect/Method;Ljava/lang/reflect/Method;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.jboss.resteasy.spi.metadata.DefaultResourceLocator.<init>:(Lorg/jboss/resteasy/spi/metadata/ResourceClass;Ljava/lang/reflect/Method;Ljava/lang/reflect/Method;)V
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.jboss.resteasy.spi.metadata.DefaultResourceMethod.httpMethods:Ljava/util/Set;
2: aload 0
getstatic org.jboss.resteasy.spi.metadata.DefaultResourceMethod.empty:[Ljavax/ws/rs/core/MediaType;
putfield org.jboss.resteasy.spi.metadata.DefaultResourceMethod.produces:[Ljavax/ws/rs/core/MediaType;
3: aload 0
getstatic org.jboss.resteasy.spi.metadata.DefaultResourceMethod.empty:[Ljavax/ws/rs/core/MediaType;
putfield org.jboss.resteasy.spi.metadata.DefaultResourceMethod.consumes:[Ljavax/ws/rs/core/MediaType;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jboss/resteasy/spi/metadata/DefaultResourceMethod;
0 5 1 declaredClass Lorg/jboss/resteasy/spi/metadata/ResourceClass;
0 5 2 method Ljava/lang/reflect/Method;
0 5 3 annotatedMethod Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
declaredClass
method
annotatedMethod
public java.util.Set<java.lang.String> getHttpMethods();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.spi.metadata.DefaultResourceMethod.httpMethods:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/spi/metadata/DefaultResourceMethod;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public javax.ws.rs.core.MediaType[] getProduces();
descriptor: ()[Ljavax/ws/rs/core/MediaType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.spi.metadata.DefaultResourceMethod.produces:[Ljavax/ws/rs/core/MediaType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/spi/metadata/DefaultResourceMethod;
public javax.ws.rs.core.MediaType[] getConsumes();
descriptor: ()[Ljavax/ws/rs/core/MediaType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.spi.metadata.DefaultResourceMethod.consumes:[Ljavax/ws/rs/core/MediaType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/spi/metadata/DefaultResourceMethod;
public boolean isAsynchronous();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.spi.metadata.DefaultResourceMethod.asynchronous:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/spi/metadata/DefaultResourceMethod;
public void markAsynchronous();
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.spi.metadata.DefaultResourceMethod.asynchronous:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/spi/metadata/DefaultResourceMethod;
}
SourceFile: "DefaultResourceMethod.java"