public class org.jboss.resteasy.core.ResourceMethodInvoker implements org.jboss.resteasy.core.ResourceInvoker, org.jboss.resteasy.core.interception.JaxrsInterceptorRegistryListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.core.ResourceMethodInvoker
super_class: java.lang.Object
{
protected org.jboss.resteasy.spi.MethodInjector methodInjector;
descriptor: Lorg/jboss/resteasy/spi/MethodInjector;
flags: (0x0004) ACC_PROTECTED
protected org.jboss.resteasy.spi.InjectorFactory injector;
descriptor: Lorg/jboss/resteasy/spi/InjectorFactory;
flags: (0x0004) ACC_PROTECTED
protected org.jboss.resteasy.spi.ResourceFactory resource;
descriptor: Lorg/jboss/resteasy/spi/ResourceFactory;
flags: (0x0004) ACC_PROTECTED
protected org.jboss.resteasy.spi.ResteasyProviderFactory parentProviderFactory;
descriptor: Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
flags: (0x0004) ACC_PROTECTED
protected org.jboss.resteasy.spi.ResteasyProviderFactory resourceMethodProviderFactory;
descriptor: Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
flags: (0x0004) ACC_PROTECTED
protected org.jboss.resteasy.spi.metadata.ResourceMethod method;
descriptor: Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
flags: (0x0004) ACC_PROTECTED
protected java.lang.annotation.Annotation[] methodAnnotations;
descriptor: [Ljava/lang/annotation/Annotation;
flags: (0x0004) ACC_PROTECTED
protected javax.ws.rs.container.ContainerRequestFilter[] requestFilters;
descriptor: [Ljavax/ws/rs/container/ContainerRequestFilter;
flags: (0x0004) ACC_PROTECTED
protected javax.ws.rs.container.ContainerResponseFilter[] responseFilters;
descriptor: [Ljavax/ws/rs/container/ContainerResponseFilter;
flags: (0x0004) ACC_PROTECTED
protected javax.ws.rs.ext.WriterInterceptor[] writerInterceptors;
descriptor: [Ljavax/ws/rs/ext/WriterInterceptor;
flags: (0x0004) ACC_PROTECTED
protected java.util.concurrent.ConcurrentHashMap<java.lang.String, java.util.concurrent.atomic.AtomicLong> stats;
descriptor: Ljava/util/concurrent/ConcurrentHashMap;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/concurrent/ConcurrentHashMap<Ljava/lang/String;Ljava/util/concurrent/atomic/AtomicLong;>;
protected org.jboss.resteasy.spi.validation.GeneralValidator validator;
descriptor: Lorg/jboss/resteasy/spi/validation/GeneralValidator;
flags: (0x0004) ACC_PROTECTED
protected boolean isValidatable;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean methodIsValidatable;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected org.jboss.resteasy.spi.AsyncResponseProvider asyncResponseProvider;
descriptor: Lorg/jboss/resteasy/spi/AsyncResponseProvider;
flags: (0x0004) ACC_PROTECTED
org.jboss.resteasy.spi.AsyncStreamProvider asyncStreamProvider;
descriptor: Lorg/jboss/resteasy/spi/AsyncStreamProvider;
flags: (0x0000)
protected boolean isSse;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected javax.ws.rs.container.ResourceInfo resourceInfo;
descriptor: Ljavax/ws/rs/container/ResourceInfo;
flags: (0x0004) ACC_PROTECTED
protected boolean expectsBody;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected org.jboss.resteasy.spi.statistics.MethodStatisticsLogger methodStatisticsLogger;
descriptor: Lorg/jboss/resteasy/spi/statistics/MethodStatisticsLogger;
flags: (0x0004) ACC_PROTECTED
public void <init>(org.jboss.resteasy.spi.metadata.ResourceMethod, org.jboss.resteasy.spi.InjectorFactory, org.jboss.resteasy.spi.ResourceFactory, org.jboss.resteasy.spi.ResteasyProviderFactory);
descriptor: (Lorg/jboss/resteasy/spi/metadata/ResourceMethod;Lorg/jboss/resteasy/spi/InjectorFactory;Lorg/jboss/resteasy/spi/ResourceFactory;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.jboss.resteasy.core.ResourceMethodInvoker.stats:Ljava/util/concurrent/ConcurrentHashMap;
2: aload 0
aload 2
putfield org.jboss.resteasy.core.ResourceMethodInvoker.injector:Lorg/jboss/resteasy/spi/InjectorFactory;
3: aload 0
aload 3
putfield org.jboss.resteasy.core.ResourceMethodInvoker.resource:Lorg/jboss/resteasy/spi/ResourceFactory;
4: aload 0
aload 4
putfield org.jboss.resteasy.core.ResourceMethodInvoker.parentProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
5: aload 0
aload 1
putfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
6: aload 0
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getAnnotatedMethod:()Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getAnnotations:()[Ljava/lang/annotation/Annotation;
putfield org.jboss.resteasy.core.ResourceMethodInvoker.methodAnnotations:[Ljava/lang/annotation/Annotation;
7: aload 0
aload 4
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getStatisticsController:()Lorg/jboss/resteasy/spi/statistics/StatisticsController;
checkcast org.jboss.resteasy.statistics.StatisticsControllerImpl
pop
getstatic org.jboss.resteasy.statistics.StatisticsControllerImpl.EMPTY:Lorg/jboss/resteasy/spi/statistics/MethodStatisticsLogger;
putfield org.jboss.resteasy.core.ResourceMethodInvoker.methodStatisticsLogger:Lorg/jboss/resteasy/spi/statistics/MethodStatisticsLogger;
8: aload 0
new org.jboss.resteasy.core.ResourceMethodInvoker$1
dup
aload 0
invokespecial org.jboss.resteasy.core.ResourceMethodInvoker$1.<init>:(Lorg/jboss/resteasy/core/ResourceMethodInvoker;)V
putfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceInfo:Ljavax/ws/rs/container/ResourceInfo;
9: aload 0
new org.jboss.resteasy.spi.ResteasyProviderFactory
dup
aload 4
invokespecial org.jboss.resteasy.spi.ResteasyProviderFactory.<init>:(Lorg/jboss/resteasy/spi/ResteasyProviderFactory;)V
putfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceMethodProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
10: aload 4
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getServerDynamicFeatures:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 13
StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.spi.metadata.ResourceMethod org.jboss.resteasy.spi.InjectorFactory org.jboss.resteasy.spi.ResourceFactory org.jboss.resteasy.spi.ResteasyProviderFactory top java.util.Iterator
StackMap stack:
11: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.ws.rs.container.DynamicFeature
astore 5
start local 5 12: aload 5
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceInfo:Ljavax/ws/rs/container/ResourceInfo;
new org.jboss.resteasy.util.DynamicFeatureContextDelegate
dup
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceMethodProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
invokespecial org.jboss.resteasy.util.DynamicFeatureContextDelegate.<init>:(Ljavax/ws/rs/core/Configurable;)V
invokeinterface javax.ws.rs.container.DynamicFeature.configure:(Ljavax/ws/rs/container/ResourceInfo;Ljavax/ws/rs/core/FeatureContext;)V
end local 5 13: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
14: aload 0
aload 2
aload 1
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceMethodProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
invokeinterface org.jboss.resteasy.spi.InjectorFactory.createMethodInjector:(Lorg/jboss/resteasy/spi/metadata/ResourceLocator;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;)Lorg/jboss/resteasy/spi/MethodInjector;
putfield org.jboss.resteasy.core.ResourceMethodInvoker.methodInjector:Lorg/jboss/resteasy/spi/MethodInjector;
15: aload 0
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.methodInjector:Lorg/jboss/resteasy/spi/MethodInjector;
invokeinterface org.jboss.resteasy.spi.MethodInjector.expectsBody:()Z
putfield org.jboss.resteasy.core.ResourceMethodInvoker.expectsBody:Z
16: aload 0
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceMethodProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getContainerRequestFilterRegistry:()Lorg/jboss/resteasy/core/interception/ContainerRequestFilterRegistry;
aload 1
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getResourceClass:()Lorg/jboss/resteasy/spi/metadata/ResourceClass;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceClass.getClazz:()Ljava/lang/Class;
aload 1
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getAnnotatedMethod:()Ljava/lang/reflect/Method;
invokevirtual org.jboss.resteasy.core.interception.ContainerRequestFilterRegistry.postMatch:(Ljava/lang/Class;Ljava/lang/reflect/AccessibleObject;)[Ljavax/ws/rs/container/ContainerRequestFilter;
putfield org.jboss.resteasy.core.ResourceMethodInvoker.requestFilters:[Ljavax/ws/rs/container/ContainerRequestFilter;
17: aload 0
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceMethodProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getContainerResponseFilterRegistry:()Lorg/jboss/resteasy/core/interception/ContainerResponseFilterRegistry;
aload 1
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getResourceClass:()Lorg/jboss/resteasy/spi/metadata/ResourceClass;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceClass.getClazz:()Ljava/lang/Class;
aload 1
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getAnnotatedMethod:()Ljava/lang/reflect/Method;
invokevirtual org.jboss.resteasy.core.interception.ContainerResponseFilterRegistry.postMatch:(Ljava/lang/Class;Ljava/lang/reflect/AccessibleObject;)[Ljava/lang/Object;
checkcast javax.ws.rs.container.ContainerResponseFilter[]
putfield org.jboss.resteasy.core.ResourceMethodInvoker.responseFilters:[Ljavax/ws/rs/container/ContainerResponseFilter;
18: aload 0
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceMethodProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getServerWriterInterceptorRegistry:()Lorg/jboss/resteasy/core/interception/WriterInterceptorRegistry;
aload 1
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getResourceClass:()Lorg/jboss/resteasy/spi/metadata/ResourceClass;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceClass.getClazz:()Ljava/lang/Class;
aload 1
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getAnnotatedMethod:()Ljava/lang/reflect/Method;
invokevirtual org.jboss.resteasy.core.interception.WriterInterceptorRegistry.postMatch:(Ljava/lang/Class;Ljava/lang/reflect/AccessibleObject;)[Ljava/lang/Object;
checkcast javax.ws.rs.ext.WriterInterceptor[]
putfield org.jboss.resteasy.core.ResourceMethodInvoker.writerInterceptors:[Ljavax/ws/rs/ext/WriterInterceptor;
19: aload 4
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getContainerRequestFilterRegistry:()Lorg/jboss/resteasy/core/interception/ContainerRequestFilterRegistry;
invokevirtual org.jboss.resteasy.core.interception.ContainerRequestFilterRegistry.getListeners:()Ljava/util/List;
aload 0
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
20: aload 4
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getContainerResponseFilterRegistry:()Lorg/jboss/resteasy/core/interception/ContainerResponseFilterRegistry;
invokevirtual org.jboss.resteasy.core.interception.ContainerResponseFilterRegistry.getListeners:()Ljava/util/List;
aload 0
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
21: aload 4
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getServerWriterInterceptorRegistry:()Lorg/jboss/resteasy/core/interception/WriterInterceptorRegistry;
invokevirtual org.jboss.resteasy.core.interception.WriterInterceptorRegistry.getListeners:()Ljava/util/List;
aload 0
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
22: aload 4
ldc Lorg/jboss/resteasy/spi/validation/GeneralValidator;
getstatic javax.ws.rs.core.MediaType.WILDCARD_TYPE:Ljavax/ws/rs/core/MediaType;
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getContextResolver:(Ljava/lang/Class;Ljavax/ws/rs/core/MediaType;)Ljavax/ws/rs/ext/ContextResolver;
astore 5
start local 5 23: aload 5
ifnull 25
24: aload 0
aload 4
ldc Lorg/jboss/resteasy/spi/validation/GeneralValidator;
getstatic javax.ws.rs.core.MediaType.WILDCARD_TYPE:Ljavax/ws/rs/core/MediaType;
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getContextResolver:(Ljava/lang/Class;Ljavax/ws/rs/core/MediaType;)Ljavax/ws/rs/ext/ContextResolver;
aconst_null
invokeinterface javax.ws.rs.ext.ContextResolver.getContext:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.jboss.resteasy.spi.validation.GeneralValidator
putfield org.jboss.resteasy.core.ResourceMethodInvoker.validator:Lorg/jboss/resteasy/spi/validation/GeneralValidator;
25: StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.spi.metadata.ResourceMethod org.jboss.resteasy.spi.InjectorFactory org.jboss.resteasy.spi.ResourceFactory org.jboss.resteasy.spi.ResteasyProviderFactory javax.ws.rs.ext.ContextResolver
StackMap stack:
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.validator:Lorg/jboss/resteasy/spi/validation/GeneralValidator;
ifnull 39
26: aconst_null
astore 6
start local 6 27: aload 3
ifnull 30
aload 3
invokeinterface org.jboss.resteasy.spi.ResourceFactory.getScannableClass:()Ljava/lang/Class;
ifnull 30
28: aload 3
invokeinterface org.jboss.resteasy.spi.ResourceFactory.getScannableClass:()Ljava/lang/Class;
astore 6
29: goto 31
30: StackMap locals: java.lang.Class
StackMap stack:
aload 0
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getMethod:()Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getDeclaringClass:()Ljava/lang/Class;
astore 6
31: StackMap locals:
StackMap stack:
aload 3
instanceof org.jboss.resteasy.plugins.server.resourcefactory.JndiComponentResourceFactory
ifeq 34
32: aload 0
iconst_1
putfield org.jboss.resteasy.core.ResourceMethodInvoker.isValidatable:Z
33: goto 38
34: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.validator:Lorg/jboss/resteasy/spi/validation/GeneralValidator;
instanceof org.jboss.resteasy.spi.validation.GeneralValidatorCDI
ifeq 37
35: aload 0
ldc Lorg/jboss/resteasy/spi/validation/GeneralValidatorCDI;
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.validator:Lorg/jboss/resteasy/spi/validation/GeneralValidator;
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jboss.resteasy.spi.validation.GeneralValidatorCDI
aload 6
aload 2
invokeinterface org.jboss.resteasy.spi.validation.GeneralValidatorCDI.isValidatable:(Ljava/lang/Class;Lorg/jboss/resteasy/spi/InjectorFactory;)Z
putfield org.jboss.resteasy.core.ResourceMethodInvoker.isValidatable:Z
36: goto 38
37: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.validator:Lorg/jboss/resteasy/spi/validation/GeneralValidator;
aload 6
invokeinterface org.jboss.resteasy.spi.validation.GeneralValidator.isValidatable:(Ljava/lang/Class;)Z
putfield org.jboss.resteasy.core.ResourceMethodInvoker.isValidatable:Z
38: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.validator:Lorg/jboss/resteasy/spi/validation/GeneralValidator;
aload 0
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getMethod:()Ljava/lang/reflect/Method;
invokeinterface org.jboss.resteasy.spi.validation.GeneralValidator.isMethodValidatable:(Ljava/lang/reflect/Method;)Z
putfield org.jboss.resteasy.core.ResourceMethodInvoker.methodIsValidatable:Z
end local 6 39: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceMethodProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
aload 1
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getReturnType:()Ljava/lang/Class;
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getAsyncResponseProvider:(Ljava/lang/Class;)Lorg/jboss/resteasy/spi/AsyncResponseProvider;
putfield org.jboss.resteasy.core.ResourceMethodInvoker.asyncResponseProvider:Lorg/jboss/resteasy/spi/AsyncResponseProvider;
40: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.asyncResponseProvider:Lorg/jboss/resteasy/spi/AsyncResponseProvider;
ifnonnull 42
41: aload 0
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceMethodProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
aload 1
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getReturnType:()Ljava/lang/Class;
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getAsyncStreamProvider:(Ljava/lang/Class;)Lorg/jboss/resteasy/spi/AsyncStreamProvider;
putfield org.jboss.resteasy.core.ResourceMethodInvoker.asyncStreamProvider:Lorg/jboss/resteasy/spi/AsyncStreamProvider;
42: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.isSseResourceMethod:(Lorg/jboss/resteasy/spi/metadata/ResourceMethod;)Z
ifeq 45
43: aload 0
iconst_1
putfield org.jboss.resteasy.core.ResourceMethodInvoker.isSse:Z
44: aload 1
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.markAsynchronous:()V
45: StackMap locals:
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 46 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
0 46 1 method Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
0 46 2 injector Lorg/jboss/resteasy/spi/InjectorFactory;
0 46 3 resource Lorg/jboss/resteasy/spi/ResourceFactory;
0 46 4 providerFactory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
12 13 5 feature Ljavax/ws/rs/container/DynamicFeature;
23 46 5 resolver Ljavax/ws/rs/ext/ContextResolver<Lorg/jboss/resteasy/spi/validation/GeneralValidator;>;
27 39 6 clazz Ljava/lang/Class<*>;
MethodParameters:
Name Flags
method final
injector final
resource final
providerFactory final
private boolean isSseResourceMethod(org.jboss.resteasy.spi.metadata.ResourceMethod);
descriptor: (Lorg/jboss/resteasy/spi/metadata/ResourceMethod;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getProduces:()[Ljavax/ws/rs/core/MediaType;
astore 2
start local 2 1: aload 2
ifnull 4
aload 2
arraylength
iconst_1
if_icmpne 4
2: getstatic javax.ws.rs.core.MediaType.SERVER_SENT_EVENTS_TYPE:Ljavax/ws/rs/core/MediaType;
aload 2
iconst_0
aaload
invokevirtual javax.ws.rs.core.MediaType.isCompatible:(Ljavax/ws/rs/core/MediaType;)Z
ifeq 4
3: iconst_1
goto 5
StackMap locals: javax.ws.rs.core.MediaType[]
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: iload 3
ifne 8
7: iconst_0
ireturn
8: StackMap locals: int
StackMap stack:
aload 1
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getParams:()[Lorg/jboss/resteasy/spi/metadata/MethodParameter;
astore 4
start local 4 9: aload 4
ifnull 17
10: aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 16
StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.spi.metadata.ResourceMethod javax.ws.rs.core.MediaType[] int org.jboss.resteasy.spi.metadata.MethodParameter[] top int int org.jboss.resteasy.spi.metadata.MethodParameter[]
StackMap stack:
11: aload 8
iload 6
aaload
astore 5
start local 5 12: getstatic org.jboss.resteasy.spi.metadata.Parameter$ParamType.CONTEXT:Lorg/jboss/resteasy/spi/metadata/Parameter$ParamType;
aload 5
invokevirtual org.jboss.resteasy.spi.metadata.MethodParameter.getParamType:()Lorg/jboss/resteasy/spi/metadata/Parameter$ParamType;
invokevirtual org.jboss.resteasy.spi.metadata.Parameter$ParamType.equals:(Ljava/lang/Object;)Z
ifeq 15
13: ldc Ljavax/ws/rs/sse/SseEventSink;
aload 5
invokevirtual org.jboss.resteasy.spi.metadata.MethodParameter.getType:()Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 15
14: iconst_1
ireturn
end local 5 15: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
16: iload 6
iload 7
if_icmplt 11
17: StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.spi.metadata.ResourceMethod javax.ws.rs.core.MediaType[] int org.jboss.resteasy.spi.metadata.MethodParameter[]
StackMap stack:
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.asyncStreamProvider:Lorg/jboss/resteasy/spi/AsyncStreamProvider;
ifnull 25
18: aload 1
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getAnnotatedMethod:()Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getAnnotations:()[Ljava/lang/annotation/Annotation;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 23
StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.spi.metadata.ResourceMethod javax.ws.rs.core.MediaType[] int org.jboss.resteasy.spi.metadata.MethodParameter[] top int int java.lang.annotation.Annotation[]
StackMap stack:
19: aload 8
iload 6
aaload
astore 5
start local 5 20: aload 5
invokeinterface java.lang.annotation.Annotation.annotationType:()Ljava/lang/Class;
ldc Lorg/jboss/resteasy/annotations/Stream;
if_acmpne 22
21: iconst_0
ireturn
end local 5 22: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
23: iload 6
iload 7
if_icmplt 19
24: iconst_1
ireturn
25: StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.spi.metadata.ResourceMethod javax.ws.rs.core.MediaType[] int org.jboss.resteasy.spi.metadata.MethodParameter[]
StackMap stack:
iconst_0
ireturn
end local 4 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/core/ResourceMethodInvoker;
0 26 1 resourceMethod Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
1 26 2 producedMediaTypes [Ljavax/ws/rs/core/MediaType;
6 26 3 onlyProduceServerSentEventsMediaType Z
9 26 4 resourceMethodParameters [Lorg/jboss/resteasy/spi/metadata/MethodParameter;
12 15 5 resourceMethodParameter Lorg/jboss/resteasy/spi/metadata/MethodParameter;
20 22 5 annotation Ljava/lang/annotation/Annotation;
MethodParameters:
Name Flags
resourceMethod
public void cleanup();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.parentProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getContainerRequestFilterRegistry:()Lorg/jboss/resteasy/core/interception/ContainerRequestFilterRegistry;
invokevirtual org.jboss.resteasy.core.interception.ContainerRequestFilterRegistry.getListeners:()Ljava/util/List;
aload 0
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
1: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.parentProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getContainerResponseFilterRegistry:()Lorg/jboss/resteasy/core/interception/ContainerResponseFilterRegistry;
invokevirtual org.jboss.resteasy.core.interception.ContainerResponseFilterRegistry.getListeners:()Ljava/util/List;
aload 0
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
2: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.parentProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getServerWriterInterceptorRegistry:()Lorg/jboss/resteasy/core/interception/WriterInterceptorRegistry;
invokevirtual org.jboss.resteasy.core.interception.WriterInterceptorRegistry.getListeners:()Ljava/util/List;
aload 0
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
3: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.methodInjector:Lorg/jboss/resteasy/spi/MethodInjector;
invokeinterface org.jboss.resteasy.spi.MethodInjector.getParams:()[Lorg/jboss/resteasy/core/ValueInjector;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 8
StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker top int int org.jboss.resteasy.core.ValueInjector[]
StackMap stack:
4: aload 4
iload 2
aaload
astore 1
start local 1 5: aload 1
instanceof org.jboss.resteasy.core.MessageBodyParameterInjector
ifeq 7
6: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.parentProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getServerReaderInterceptorRegistry:()Lorg/jboss/resteasy/core/interception/ReaderInterceptorRegistry;
invokevirtual org.jboss.resteasy.core.interception.ReaderInterceptorRegistry.getListeners:()Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
end local 1 7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
iload 3
if_icmplt 4
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
5 7 1 param Lorg/jboss/resteasy/core/ValueInjector;
public void registryUpdated(org.jboss.resteasy.core.interception.JaxrsInterceptorRegistry);
descriptor: (Lorg/jboss/resteasy/core/interception/JaxrsInterceptorRegistry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
new org.jboss.resteasy.spi.ResteasyProviderFactory
dup
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.parentProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
invokespecial org.jboss.resteasy.spi.ResteasyProviderFactory.<init>:(Lorg/jboss/resteasy/spi/ResteasyProviderFactory;)V
putfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceMethodProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
1: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.parentProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getServerDynamicFeatures:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.core.interception.JaxrsInterceptorRegistry top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.ws.rs.container.DynamicFeature
astore 2
start local 2 3: aload 2
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceInfo:Ljavax/ws/rs/container/ResourceInfo;
new org.jboss.resteasy.util.FeatureContextDelegate
dup
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceMethodProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
invokespecial org.jboss.resteasy.util.FeatureContextDelegate.<init>:(Ljavax/ws/rs/core/Configurable;)V
invokeinterface javax.ws.rs.container.DynamicFeature.configure:(Ljavax/ws/rs/container/ResourceInfo;Ljavax/ws/rs/core/FeatureContext;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
invokevirtual org.jboss.resteasy.core.interception.JaxrsInterceptorRegistry.getIntf:()Ljava/lang/Class;
ldc Ljavax/ws/rs/ext/WriterInterceptor;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 8
6: aload 0
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceMethodProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getServerWriterInterceptorRegistry:()Lorg/jboss/resteasy/core/interception/WriterInterceptorRegistry;
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getResourceClass:()Lorg/jboss/resteasy/spi/metadata/ResourceClass;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceClass.getClazz:()Ljava/lang/Class;
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getAnnotatedMethod:()Ljava/lang/reflect/Method;
invokevirtual org.jboss.resteasy.core.interception.WriterInterceptorRegistry.postMatch:(Ljava/lang/Class;Ljava/lang/reflect/AccessibleObject;)[Ljava/lang/Object;
checkcast javax.ws.rs.ext.WriterInterceptor[]
putfield org.jboss.resteasy.core.ResourceMethodInvoker.writerInterceptors:[Ljavax/ws/rs/ext/WriterInterceptor;
7: goto 13
8: StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.core.interception.JaxrsInterceptorRegistry
StackMap stack:
aload 1
invokevirtual org.jboss.resteasy.core.interception.JaxrsInterceptorRegistry.getIntf:()Ljava/lang/Class;
ldc Ljavax/ws/rs/container/ContainerRequestFilter;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 11
9: aload 0
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceMethodProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getContainerRequestFilterRegistry:()Lorg/jboss/resteasy/core/interception/ContainerRequestFilterRegistry;
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getResourceClass:()Lorg/jboss/resteasy/spi/metadata/ResourceClass;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceClass.getClazz:()Ljava/lang/Class;
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getAnnotatedMethod:()Ljava/lang/reflect/Method;
invokevirtual org.jboss.resteasy.core.interception.ContainerRequestFilterRegistry.postMatch:(Ljava/lang/Class;Ljava/lang/reflect/AccessibleObject;)[Ljavax/ws/rs/container/ContainerRequestFilter;
putfield org.jboss.resteasy.core.ResourceMethodInvoker.requestFilters:[Ljavax/ws/rs/container/ContainerRequestFilter;
10: goto 13
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.jboss.resteasy.core.interception.JaxrsInterceptorRegistry.getIntf:()Ljava/lang/Class;
ldc Ljavax/ws/rs/container/ContainerResponseFilter;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 13
12: aload 0
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceMethodProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getContainerResponseFilterRegistry:()Lorg/jboss/resteasy/core/interception/ContainerResponseFilterRegistry;
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getResourceClass:()Lorg/jboss/resteasy/spi/metadata/ResourceClass;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceClass.getClazz:()Ljava/lang/Class;
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getAnnotatedMethod:()Ljava/lang/reflect/Method;
invokevirtual org.jboss.resteasy.core.interception.ContainerResponseFilterRegistry.postMatch:(Ljava/lang/Class;Ljava/lang/reflect/AccessibleObject;)[Ljava/lang/Object;
checkcast javax.ws.rs.container.ContainerResponseFilter[]
putfield org.jboss.resteasy.core.ResourceMethodInvoker.responseFilters:[Ljavax/ws/rs/container/ContainerResponseFilter;
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
0 14 1 registry Lorg/jboss/resteasy/core/interception/JaxrsInterceptorRegistry;
3 4 2 feature Ljavax/ws/rs/container/DynamicFeature;
MethodParameters:
Name Flags
registry
protected void incrementMethodCount(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.stats:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.concurrent.atomic.AtomicLong
astore 2
start local 2 1: aload 2
ifnonnull 5
2: new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
astore 2
3: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.stats:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
aload 2
invokevirtual java.util.concurrent.ConcurrentHashMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.concurrent.atomic.AtomicLong
astore 3
start local 3 4: aload 3
ifnull 5
aload 3
astore 2
end local 3 5: StackMap locals: java.util.concurrent.atomic.AtomicLong
StackMap stack:
aload 2
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
0 7 1 httpMethod Ljava/lang/String;
1 7 2 stat Ljava/util/concurrent/atomic/AtomicLong;
4 5 3 old Ljava/util/concurrent/atomic/AtomicLong;
MethodParameters:
Name Flags
httpMethod
public java.util.Map<java.lang.String, java.util.concurrent.atomic.AtomicLong> getStats();
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.core.ResourceMethodInvoker.stats:Ljava/util/concurrent/ConcurrentHashMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/util/concurrent/atomic/AtomicLong;>;
public javax.ws.rs.container.ContainerRequestFilter[] getRequestFilters();
descriptor: ()[Ljavax/ws/rs/container/ContainerRequestFilter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.requestFilters:[Ljavax/ws/rs/container/ContainerRequestFilter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
public javax.ws.rs.container.ContainerResponseFilter[] getResponseFilters();
descriptor: ()[Ljavax/ws/rs/container/ContainerResponseFilter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.responseFilters:[Ljavax/ws/rs/container/ContainerResponseFilter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
public javax.ws.rs.ext.WriterInterceptor[] getWriterInterceptors();
descriptor: ()[Ljavax/ws/rs/ext/WriterInterceptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.writerInterceptors:[Ljavax/ws/rs/ext/WriterInterceptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
public java.lang.reflect.Type getGenericReturnType();
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.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getGenericReturnType:()Ljava/lang/reflect/Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
public java.lang.Class<?> getResourceClass();
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.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getResourceClass:()Lorg/jboss/resteasy/spi/metadata/ResourceClass;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceClass.getClazz:()Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
Signature: ()Ljava/lang/Class<*>;
public java.lang.Class<?> getReturnType();
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.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getReturnType:()Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
Signature: ()Ljava/lang/Class<*>;
public java.lang.annotation.Annotation[] getMethodAnnotations();
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.core.ResourceMethodInvoker.methodAnnotations:[Ljava/lang/annotation/Annotation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
public java.lang.reflect.Method getMethod();
descriptor: ()Ljava/lang/reflect/Method;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getMethod:()Ljava/lang/reflect/Method;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
public java.lang.Object invokeDryRun(org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resource:Lorg/jboss/resteasy/spi/ResourceFactory;
aload 1
aload 2
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceMethodProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
invokeinterface org.jboss.resteasy.spi.ResourceFactory.createResource:(Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;)Ljava/lang/Object;
astore 3
start local 3 1: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.invokeDryRun:(Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)Ljava/lang/Object;
areturn
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/core/ResourceMethodInvoker;
0 2 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 2 2 response Lorg/jboss/resteasy/spi/HttpResponse;
1 2 3 target Ljava/lang/Object;
MethodParameters:
Name Flags
request
response
public org.jboss.resteasy.specimpl.BuiltResponse invoke(org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;)Lorg/jboss/resteasy/specimpl/BuiltResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resource:Lorg/jboss/resteasy/spi/ResourceFactory;
aload 1
aload 2
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceMethodProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
invokeinterface org.jboss.resteasy.spi.ResourceFactory.createResource:(Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;)Ljava/lang/Object;
astore 3
start local 3 1: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.invoke:(Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)Lorg/jboss/resteasy/specimpl/BuiltResponse;
areturn
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/core/ResourceMethodInvoker;
0 2 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 2 2 response Lorg/jboss/resteasy/spi/HttpResponse;
1 2 3 target Ljava/lang/Object;
MethodParameters:
Name Flags
request
response
public java.lang.Object invokeDryRun(org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse, java.lang.Object);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ldc Lorg/jboss/resteasy/core/ResourceMethodInvoker;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 0
invokeinterface org.jboss.resteasy.spi.HttpRequest.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 0
aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getHttpMethod:()Ljava/lang/String;
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.incrementMethodCount:(Ljava/lang/String;)V
2: aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getUri:()Lorg/jboss/resteasy/spi/ResteasyUriInfo;
astore 4
start local 4 3: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getPath:()Ljava/lang/String;
ifnull 5
4: aload 4
aload 4
invokevirtual org.jboss.resteasy.spi.ResteasyUriInfo.getMatchingPath:()Ljava/lang/String;
invokevirtual org.jboss.resteasy.spi.ResteasyUriInfo.pushMatchedURI:(Ljava/lang/String;)V
5: StackMap locals: org.jboss.resteasy.spi.ResteasyUriInfo
StackMap stack:
aload 4
aload 3
invokevirtual org.jboss.resteasy.spi.ResteasyUriInfo.pushCurrentResource:(Ljava/lang/Object;)V
6: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetDryRun:(Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 7: aload 5
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 8 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
0 8 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 8 2 response Lorg/jboss/resteasy/spi/HttpResponse;
0 8 3 target Ljava/lang/Object;
3 8 4 uriInfo Lorg/jboss/resteasy/spi/ResteasyUriInfo;
7 8 5 rtn Ljava/lang/Object;
MethodParameters:
Name Flags
request
response
target
public org.jboss.resteasy.specimpl.BuiltResponse invoke(org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse, java.lang.Object);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)Lorg/jboss/resteasy/specimpl/BuiltResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ldc Lorg/jboss/resteasy/core/ResourceMethodInvoker;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 0
invokeinterface org.jboss.resteasy.spi.HttpRequest.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 0
aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getHttpMethod:()Ljava/lang/String;
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.incrementMethodCount:(Ljava/lang/String;)V
2: aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getUri:()Lorg/jboss/resteasy/spi/ResteasyUriInfo;
astore 4
start local 4 3: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getPath:()Ljava/lang/String;
ifnull 5
4: aload 4
aload 4
invokevirtual org.jboss.resteasy.spi.ResteasyUriInfo.getMatchingPath:()Ljava/lang/String;
invokevirtual org.jboss.resteasy.spi.ResteasyUriInfo.pushMatchedURI:(Ljava/lang/String;)V
5: StackMap locals: org.jboss.resteasy.spi.ResteasyUriInfo
StackMap stack:
aload 4
aload 3
invokevirtual org.jboss.resteasy.spi.ResteasyUriInfo.pushCurrentResource:(Ljava/lang/Object;)V
6: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget:(Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)Lorg/jboss/resteasy/specimpl/BuiltResponse;
astore 5
start local 5 7: aload 5
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 8 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
0 8 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 8 2 response Lorg/jboss/resteasy/spi/HttpResponse;
0 8 3 target Ljava/lang/Object;
3 8 4 uriInfo Lorg/jboss/resteasy/spi/ResteasyUriInfo;
7 8 5 rtn Lorg/jboss/resteasy/specimpl/BuiltResponse;
MethodParameters:
Name Flags
request
response
target
protected java.lang.Object invokeOnTargetDryRun(org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse, java.lang.Object);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc Ljavax/ws/rs/container/ResourceInfo;
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceInfo:Ljavax/ws/rs/container/ResourceInfo;
invokestatic org.jboss.resteasy.spi.ResteasyProviderFactory.pushContext:(Ljava/lang/Class;Ljava/lang/Object;)V
1: ldc Ljavax/ws/rs/core/Configuration;
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceMethodProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
invokestatic org.jboss.resteasy.spi.ResteasyProviderFactory.pushContext:(Ljava/lang/Class;Ljava/lang/Object;)V
2: aconst_null
astore 4
start local 4 3: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget:(Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)Ljava/lang/Object;
astore 4
4: goto 7
5: StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.spi.HttpResponse java.lang.Object java.lang.Object
StackMap stack: java.lang.RuntimeException
astore 5
start local 5 6: new javax.ws.rs.ProcessingException
dup
aload 5
invokespecial javax.ws.rs.ProcessingException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 7: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
0 8 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 8 2 response Lorg/jboss/resteasy/spi/HttpResponse;
0 8 3 target Ljava/lang/Object;
3 8 4 rtn Ljava/lang/Object;
6 7 5 ex Ljava/lang/RuntimeException;
Exception table:
from to target type
3 4 5 Class java.lang.RuntimeException
MethodParameters:
Name Flags
request
response
target
protected org.jboss.resteasy.specimpl.BuiltResponse invokeOnTarget(org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse, java.lang.Object);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)Lorg/jboss/resteasy/specimpl/BuiltResponse;
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.methodStatisticsLogger:Lorg/jboss/resteasy/spi/statistics/MethodStatisticsLogger;
invokeinterface org.jboss.resteasy.spi.statistics.MethodStatisticsLogger.timestamp:()J
lstore 4
start local 4 1: ldc Ljavax/ws/rs/container/ResourceInfo;
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceInfo:Ljavax/ws/rs/container/ResourceInfo;
invokestatic org.jboss.resteasy.spi.ResteasyProviderFactory.pushContext:(Ljava/lang/Class;Ljava/lang/Object;)V
2: ldc Ljavax/ws/rs/core/Configuration;
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceMethodProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
invokestatic org.jboss.resteasy.spi.ResteasyProviderFactory.pushContext:(Ljava/lang/Class;Ljava/lang/Object;)V
3: new org.jboss.resteasy.core.interception.PostMatchContainerRequestContext
dup
aload 1
aload 0
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.requestFilters:[Ljavax/ws/rs/container/ContainerRequestFilter;
4: aload 0
aload 1
aload 2
aload 3
invokedynamic get(Lorg/jboss/resteasy/core/ResourceMethodInvoker;Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/jboss/resteasy/core/ResourceMethodInvoker.lambda$0(Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)Lorg/jboss/resteasy/specimpl/BuiltResponse; (7)
()Lorg/jboss/resteasy/specimpl/BuiltResponse;
5: invokespecial org.jboss.resteasy.core.interception.PostMatchContainerRequestContext.<init>:(Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/core/ResourceMethodInvoker;[Ljavax/ws/rs/container/ContainerRequestFilter;Ljava/util/function/Supplier;)V
astore 6
start local 6 6: aload 6
invokevirtual org.jboss.resteasy.core.interception.PostMatchContainerRequestContext.filter:()Lorg/jboss/resteasy/specimpl/BuiltResponse;
astore 8
7: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.methodStatisticsLogger:Lorg/jboss/resteasy/spi/statistics/MethodStatisticsLogger;
lload 4
invokeinterface org.jboss.resteasy.spi.statistics.MethodStatisticsLogger.duration:(J)V
8: aload 8
areturn
end local 6 9: StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.spi.HttpResponse java.lang.Object long
StackMap stack: java.lang.Throwable
astore 7
10: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.methodStatisticsLogger:Lorg/jboss/resteasy/spi/statistics/MethodStatisticsLogger;
lload 4
invokeinterface org.jboss.resteasy.spi.statistics.MethodStatisticsLogger.duration:(J)V
11: aload 7
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
0 12 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 12 2 response Lorg/jboss/resteasy/spi/HttpResponse;
0 12 3 target Ljava/lang/Object;
1 12 4 msTimeStamp J
6 9 6 requestContext Lorg/jboss/resteasy/core/interception/PostMatchContainerRequestContext;
Exception table:
from to target type
1 7 9 any
MethodParameters:
Name Flags
request
response
target
protected org.jboss.resteasy.specimpl.BuiltResponse invokeOnTargetAfterFilter(org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse, java.lang.Object);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)Lorg/jboss/resteasy/specimpl/BuiltResponse;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.validator:Lorg/jboss/resteasy/spi/validation/GeneralValidator;
ifnull 8
1: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.isValidatable:Z
ifeq 3
2: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.validator:Lorg/jboss/resteasy/spi/validation/GeneralValidator;
aload 1
aload 3
iconst_0
anewarray java.lang.Class
invokeinterface org.jboss.resteasy.spi.validation.GeneralValidator.validate:(Lorg/jboss/resteasy/spi/HttpRequest;Ljava/lang/Object;[Ljava/lang/Class;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.methodIsValidatable:Z
ifeq 6
4: aload 1
ldc Lorg/jboss/resteasy/spi/validation/GeneralValidator;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.validator:Lorg/jboss/resteasy/spi/validation/GeneralValidator;
invokeinterface org.jboss.resteasy.spi.HttpRequest.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
5: goto 8
6: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.isValidatable:Z
ifeq 8
7: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.validator:Lorg/jboss/resteasy/spi/validation/GeneralValidator;
aload 1
invokeinterface org.jboss.resteasy.spi.validation.GeneralValidator.checkViolations:(Lorg/jboss/resteasy/spi/HttpRequest;)V
8: StackMap locals:
StackMap stack:
aconst_null
astore 4
start local 4 9: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.asyncResponseProvider:Lorg/jboss/resteasy/spi/AsyncResponseProvider;
ifnull 12
10: aload 0
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.asyncResponseProvider:Lorg/jboss/resteasy/spi/AsyncResponseProvider;
invokestatic org.jboss.resteasy.core.AsyncResponseConsumer.makeAsyncResponseConsumer:(Lorg/jboss/resteasy/core/ResourceMethodInvoker;Lorg/jboss/resteasy/spi/AsyncResponseProvider;)Lorg/jboss/resteasy/core/AsyncResponseConsumer;
astore 4
11: goto 14
12: StackMap locals: org.jboss.resteasy.core.AsyncResponseConsumer
StackMap stack:
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.asyncStreamProvider:Lorg/jboss/resteasy/spi/AsyncStreamProvider;
ifnull 14
13: aload 0
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.asyncStreamProvider:Lorg/jboss/resteasy/spi/AsyncStreamProvider;
invokestatic org.jboss.resteasy.core.AsyncResponseConsumer.makeAsyncResponseConsumer:(Lorg/jboss/resteasy/core/ResourceMethodInvoker;Lorg/jboss/resteasy/spi/AsyncStreamProvider;)Lorg/jboss/resteasy/core/AsyncResponseConsumer;
astore 4
14: StackMap locals:
StackMap stack:
aconst_null
astore 5
start local 5 15: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget:(Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)Ljava/lang/Object;
astore 5
16: goto 33
17: StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.spi.HttpResponse java.lang.Object org.jboss.resteasy.core.AsyncResponseConsumer java.lang.Object
StackMap stack: java.lang.RuntimeException
astore 6
start local 6 18: aload 4
ifnull 26
19: aload 4
astore 7
start local 7 20: aload 4
aload 6
aload 7
aload 6
invokedynamic accept(Lorg/jboss/resteasy/core/AsyncResponseConsumer;Ljava/lang/RuntimeException;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
org/jboss/resteasy/core/ResourceMethodInvoker.lambda$1(Lorg/jboss/resteasy/core/AsyncResponseConsumer;Ljava/lang/RuntimeException;Ljava/lang/Throwable;)V (6)
(Ljava/lang/Throwable;)V
invokevirtual org.jboss.resteasy.core.AsyncResponseConsumer.internalResume:(Ljava/lang/Throwable;Ljava/util/function/Consumer;)V
end local 7 21: goto 25
22: StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.spi.HttpResponse java.lang.Object org.jboss.resteasy.core.AsyncResponseConsumer java.lang.Object java.lang.RuntimeException
StackMap stack: org.jboss.resteasy.spi.UnhandledException
astore 7
start local 7 23: aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getAsyncContext:()Lorg/jboss/resteasy/spi/ResteasyAsynchronousContext;
invokeinterface org.jboss.resteasy.spi.ResteasyAsynchronousContext.getAsyncResponse:()Lorg/jboss/resteasy/spi/ResteasyAsynchronousResponse;
aload 6
invokeinterface org.jboss.resteasy.spi.ResteasyAsynchronousResponse.completionCallbacks:(Ljava/lang/Throwable;)V
24: aload 7
athrow
end local 7 25: StackMap locals:
StackMap stack:
aconst_null
areturn
26: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getAsyncContext:()Lorg/jboss/resteasy/spi/ResteasyAsynchronousContext;
invokeinterface org.jboss.resteasy.spi.ResteasyAsynchronousContext.isSuspended:()Z
ifeq 32
27: aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getAsyncContext:()Lorg/jboss/resteasy/spi/ResteasyAsynchronousContext;
invokeinterface org.jboss.resteasy.spi.ResteasyAsynchronousContext.getAsyncResponse:()Lorg/jboss/resteasy/spi/ResteasyAsynchronousResponse;
aload 6
invokeinterface org.jboss.resteasy.spi.ResteasyAsynchronousResponse.resume:(Ljava/lang/Throwable;)Z
pop
28: goto 31
29: StackMap locals:
StackMap stack: java.lang.Exception
astore 7
start local 7 30: getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.LOGGER:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/LogMessages;
aload 7
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.errorResumingFailedAsynchOperation:(Ljava/lang/Throwable;)V
end local 7 31: StackMap locals:
StackMap stack:
aconst_null
areturn
32: StackMap locals:
StackMap stack:
aload 6
athrow
end local 6 33: StackMap locals:
StackMap stack:
aload 4
ifnull 36
34: aload 4
aload 5
invokevirtual org.jboss.resteasy.core.AsyncResponseConsumer.subscribe:(Ljava/lang/Object;)V
35: aconst_null
areturn
36: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getAsyncContext:()Lorg/jboss/resteasy/spi/ResteasyAsynchronousContext;
invokeinterface org.jboss.resteasy.spi.ResteasyAsynchronousContext.isSuspended:()Z
ifeq 42
37: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.isAsynchronous:()Z
ifeq 39
38: aconst_null
areturn
39: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getAsyncContext:()Lorg/jboss/resteasy/spi/ResteasyAsynchronousContext;
invokeinterface org.jboss.resteasy.spi.ResteasyAsynchronousContext.getAsyncResponse:()Lorg/jboss/resteasy/spi/ResteasyAsynchronousResponse;
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.initializeAsync:(Lorg/jboss/resteasy/spi/ResteasyAsynchronousResponse;)V
40: aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getAsyncContext:()Lorg/jboss/resteasy/spi/ResteasyAsynchronousContext;
invokeinterface org.jboss.resteasy.spi.ResteasyAsynchronousContext.getAsyncResponse:()Lorg/jboss/resteasy/spi/ResteasyAsynchronousResponse;
aload 5
invokeinterface org.jboss.resteasy.spi.ResteasyAsynchronousResponse.resume:(Ljava/lang/Object;)Z
pop
41: aconst_null
areturn
42: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.wasForwarded:()Z
ifeq 44
43: aconst_null
areturn
44: StackMap locals:
StackMap stack:
aload 5
ifnull 45
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getReturnType:()Ljava/lang/Class;
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 48
45: StackMap locals:
StackMap stack:
invokestatic javax.ws.rs.core.Response.noContent:()Ljavax/ws/rs/core/Response$ResponseBuilder;
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.build:()Ljavax/ws/rs/core/Response;
checkcast org.jboss.resteasy.specimpl.BuiltResponse
astore 6
start local 6 46: aload 6
aload 0
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getMethodAnnotations:()[Ljava/lang/annotation/Annotation;
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.addMethodAnnotations:([Ljava/lang/annotation/Annotation;)V
47: aload 6
areturn
end local 6 48: StackMap locals:
StackMap stack:
ldc Ljavax/ws/rs/core/Response;
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getReturnType:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 49
aload 5
instanceof javax.ws.rs.core.Response
ifeq 64
49: StackMap locals:
StackMap stack:
aload 5
instanceof org.jboss.resteasy.specimpl.BuiltResponse
ifne 56
50: aload 5
checkcast javax.ws.rs.core.Response
astore 6
start local 6 51: new org.jboss.resteasy.core.Headers
dup
invokespecial org.jboss.resteasy.core.Headers.<init>:()V
astore 7
start local 7 52: aload 7
aload 6
invokevirtual javax.ws.rs.core.Response.getMetadata:()Ljavax/ws/rs/core/MultivaluedMap;
invokevirtual org.jboss.resteasy.core.Headers.putAll:(Ljava/util/Map;)V
53: new org.jboss.resteasy.specimpl.BuiltResponseEntityNotBacked
dup
aload 6
invokevirtual javax.ws.rs.core.Response.getStatus:()I
aload 6
invokevirtual javax.ws.rs.core.Response.getStatusInfo:()Ljavax/ws/rs/core/Response$StatusType;
invokeinterface javax.ws.rs.core.Response$StatusType.getReasonPhrase:()Ljava/lang/String;
54: aload 7
aload 6
invokevirtual javax.ws.rs.core.Response.getEntity:()Ljava/lang/Object;
aconst_null
55: invokespecial org.jboss.resteasy.specimpl.BuiltResponseEntityNotBacked.<init>:(ILjava/lang/String;Lorg/jboss/resteasy/core/Headers;Ljava/lang/Object;[Ljava/lang/annotation/Annotation;)V
astore 5
end local 7 end local 6 56: StackMap locals:
StackMap stack:
aload 5
checkcast org.jboss.resteasy.specimpl.BuiltResponse
astore 6
start local 6 57: aload 6
aload 0
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getMethodAnnotations:()[Ljava/lang/annotation/Annotation;
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.addMethodAnnotations:([Ljava/lang/annotation/Annotation;)V
58: aload 6
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getGenericType:()Ljava/lang/reflect/Type;
ifnonnull 63
59: aload 0
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getMethod:()Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
ldc Ljavax/ws/rs/core/Response;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 62
60: aload 6
aload 6
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getEntityClass:()Ljava/lang/Class;
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.setGenericType:(Ljava/lang/reflect/Type;)V
61: goto 63
62: StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse
StackMap stack:
aload 6
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getGenericReturnType:()Ljava/lang/reflect/Type;
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.setGenericType:(Ljava/lang/reflect/Type;)V
63: StackMap locals:
StackMap stack:
aload 6
areturn
end local 6 64: StackMap locals:
StackMap stack:
aload 5
invokestatic javax.ws.rs.core.Response.ok:(Ljava/lang/Object;)Ljavax/ws/rs/core/Response$ResponseBuilder;
astore 6
start local 6 65: aload 6
invokevirtual javax.ws.rs.core.Response$ResponseBuilder.build:()Ljavax/ws/rs/core/Response;
checkcast org.jboss.resteasy.specimpl.BuiltResponse
astore 7
start local 7 66: aload 7
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getGenericType:()Ljava/lang/reflect/Type;
ifnonnull 71
67: aload 0
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getMethod:()Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
ldc Ljavax/ws/rs/core/Response;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 70
68: aload 7
aload 7
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getEntityClass:()Ljava/lang/Class;
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.setGenericType:(Ljava/lang/reflect/Type;)V
69: goto 71
70: StackMap locals: javax.ws.rs.core.Response$ResponseBuilder org.jboss.resteasy.specimpl.BuiltResponse
StackMap stack:
aload 7
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getGenericReturnType:()Ljava/lang/reflect/Type;
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.setGenericType:(Ljava/lang/reflect/Type;)V
71: StackMap locals:
StackMap stack:
aload 7
aload 0
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.getMethodAnnotations:()[Ljava/lang/annotation/Annotation;
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.addMethodAnnotations:([Ljava/lang/annotation/Annotation;)V
72: aload 7
areturn
end local 7 end local 6 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 73 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
0 73 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 73 2 response Lorg/jboss/resteasy/spi/HttpResponse;
0 73 3 target Ljava/lang/Object;
9 73 4 asyncResponseConsumer Lorg/jboss/resteasy/core/AsyncResponseConsumer;
15 73 5 rtn Ljava/lang/Object;
18 33 6 ex Ljava/lang/RuntimeException;
20 21 7 consumer Lorg/jboss/resteasy/core/AsyncResponseConsumer;
23 25 7 x Lorg/jboss/resteasy/spi/UnhandledException;
30 31 7 e Ljava/lang/Exception;
46 48 6 build Lorg/jboss/resteasy/specimpl/BuiltResponse;
51 56 6 r Ljavax/ws/rs/core/Response;
52 56 7 metadata Lorg/jboss/resteasy/core/Headers<Ljava/lang/Object;>;
57 64 6 rtn1 Lorg/jboss/resteasy/specimpl/BuiltResponse;
65 73 6 builder Ljavax/ws/rs/core/Response$ResponseBuilder;
66 73 7 jaxrsResponse Lorg/jboss/resteasy/specimpl/BuiltResponse;
Exception table:
from to target type
15 16 17 Class java.lang.RuntimeException
19 21 22 Class org.jboss.resteasy.spi.UnhandledException
27 28 29 Class java.lang.Exception
MethodParameters:
Name Flags
request
response
target
private java.lang.Object internalInvokeOnTarget(org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse, java.lang.Object);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc Lorg/jboss/resteasy/core/PostResourceMethodInvokers;
invokestatic org.jboss.resteasy.spi.ResteasyProviderFactory.getContextData:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.jboss.resteasy.core.PostResourceMethodInvokers
1: astore 4
start local 4 2: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.methodInjector:Lorg/jboss/resteasy/spi/MethodInjector;
aload 1
aload 2
aload 3
invokeinterface org.jboss.resteasy.spi.MethodInjector.invoke:(Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 3: aload 4
ifnull 5
4: aload 4
invokevirtual org.jboss.resteasy.core.PostResourceMethodInvokers.getInvokers:()Ljava/util/List;
invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
org/jboss/resteasy/core/ResourceMethodInvoker.lambda$2(Lorg/jboss/resteasy/core/PostResourceMethodInvoker;)V (6)
(Lorg/jboss/resteasy/core/PostResourceMethodInvoker;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
5: StackMap locals: org.jboss.resteasy.core.PostResourceMethodInvokers java.lang.Object
StackMap stack:
aload 5
astore 7
6: aload 4
ifnull 8
7: aload 4
invokevirtual org.jboss.resteasy.core.PostResourceMethodInvokers.clear:()V
8: StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.spi.HttpResponse java.lang.Object org.jboss.resteasy.core.PostResourceMethodInvokers java.lang.Object top java.lang.Object
StackMap stack:
aload 7
areturn
end local 5 9: StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.spi.HttpResponse java.lang.Object org.jboss.resteasy.core.PostResourceMethodInvokers
StackMap stack: java.lang.Throwable
astore 6
10: aload 4
ifnull 12
11: aload 4
invokevirtual org.jboss.resteasy.core.PostResourceMethodInvokers.clear:()V
12: StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.spi.HttpResponse java.lang.Object org.jboss.resteasy.core.PostResourceMethodInvokers top java.lang.Throwable
StackMap stack:
aload 6
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
0 13 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 13 2 response Lorg/jboss/resteasy/spi/HttpResponse;
0 13 3 target Ljava/lang/Object;
2 13 4 postResourceMethodInvokers Lorg/jboss/resteasy/core/PostResourceMethodInvokers;
3 9 5 toReturn Ljava/lang/Object;
Exception table:
from to target type
2 6 9 any
MethodParameters:
Name Flags
request
response
target
public void initializeAsync(org.jboss.resteasy.spi.ResteasyAsynchronousResponse);
descriptor: (Lorg/jboss/resteasy/spi/ResteasyAsynchronousResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getAnnotatedMethod:()Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getAnnotations:()[Ljava/lang/annotation/Annotation;
invokeinterface org.jboss.resteasy.spi.ResteasyAsynchronousResponse.setAnnotations:([Ljava/lang/annotation/Annotation;)V
1: aload 1
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.writerInterceptors:[Ljavax/ws/rs/ext/WriterInterceptor;
invokeinterface org.jboss.resteasy.spi.ResteasyAsynchronousResponse.setWriterInterceptors:([Ljavax/ws/rs/ext/WriterInterceptor;)V
2: aload 1
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.responseFilters:[Ljavax/ws/rs/container/ContainerResponseFilter;
invokeinterface org.jboss.resteasy.spi.ResteasyAsynchronousResponse.setResponseFilters:([Ljavax/ws/rs/container/ContainerResponseFilter;)V
3: aload 1
aload 0
invokeinterface org.jboss.resteasy.spi.ResteasyAsynchronousResponse.setMethod:(Lorg/jboss/resteasy/core/ResourceMethodInvoker;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
0 5 1 asyncResponse Lorg/jboss/resteasy/spi/ResteasyAsynchronousResponse;
MethodParameters:
Name Flags
asyncResponse
public boolean doesProduce(java.util.List<? extends javax.ws.rs.core.MediaType>);
descriptor: (Ljava/util/List;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokeinterface java.util.List.size:()I
ifne 2
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getProduces:()[Ljavax/ws/rs/core/MediaType;
arraylength
ifne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 12
StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker java.util.List top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.ws.rs.core.MediaType
astore 2
start local 2 6: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getProduces:()[Ljavax/ws/rs/core/MediaType;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 11
StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker java.util.List javax.ws.rs.core.MediaType java.util.Iterator top int int javax.ws.rs.core.MediaType[]
StackMap stack:
7: aload 7
iload 5
aaload
astore 4
start local 4 8: aload 4
aload 2
invokevirtual javax.ws.rs.core.MediaType.isCompatible:(Ljavax/ws/rs/core/MediaType;)Z
ifeq 10
9: iconst_1
ireturn
end local 4 10: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 6
if_icmplt 7
end local 2 12: StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker java.util.List top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
13: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
0 14 1 accepts Ljava/util/List<+Ljavax/ws/rs/core/MediaType;>;
6 12 2 accept Ljavax/ws/rs/core/MediaType;
8 10 4 type Ljavax/ws/rs/core/MediaType;
Signature: (Ljava/util/List<+Ljavax/ws/rs/core/MediaType;>;)Z
MethodParameters:
Name Flags
accepts
public boolean doesConsume(javax.ws.rs.core.MediaType);
descriptor: (Ljavax/ws/rs/core/MediaType;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getConsumes:()[Ljavax/ws/rs/core/MediaType;
arraylength
ifeq 2
aload 1
ifnonnull 3
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.expectsBody:Z
ifne 3
StackMap locals: int
StackMap stack:
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 1
ifnonnull 5
4: getstatic javax.ws.rs.core.MediaType.APPLICATION_OCTET_STREAM_TYPE:Ljavax/ws/rs/core/MediaType;
astore 1
5: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getConsumes:()[Ljavax/ws/rs/core/MediaType;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 11
StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int top int int javax.ws.rs.core.MediaType[]
StackMap stack:
6: aload 6
iload 4
aaload
astore 3
start local 3 7: aload 3
aload 1
invokevirtual javax.ws.rs.core.MediaType.isCompatible:(Ljavax/ws/rs/core/MediaType;)Z
ifeq 10
8: iconst_1
istore 2
9: goto 12
end local 3 10: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 5
if_icmplt 6
12: StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker javax.ws.rs.core.MediaType int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
0 13 1 contentType Ljavax/ws/rs/core/MediaType;
1 13 2 matches Z
7 10 3 type Ljavax/ws/rs/core/MediaType;
MethodParameters:
Name Flags
contentType
public javax.ws.rs.core.MediaType resolveContentType(org.jboss.resteasy.spi.HttpRequest, java.lang.Object);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;Ljava/lang/Object;)Ljavax/ws/rs/core/MediaType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "RESTEASY_CHOSEN_ACCEPT"
invokeinterface org.jboss.resteasy.spi.HttpRequest.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast javax.ws.rs.core.MediaType
astore 3
start local 3 1: aload 3
ifnull 3
aload 3
getstatic javax.ws.rs.core.MediaType.WILDCARD_TYPE:Ljavax/ws/rs/core/MediaType;
invokevirtual javax.ws.rs.core.MediaType.equals:(Ljava/lang/Object;)Z
ifne 3
2: aload 3
areturn
3: StackMap locals: javax.ws.rs.core.MediaType
StackMap stack:
aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getHttpHeaders:()Ljavax/ws/rs/core/HttpHeaders;
invokeinterface javax.ws.rs.core.HttpHeaders.getAcceptableMediaTypes:()Ljava/util/List;
astore 4
start local 4 4: aload 4
ifnull 5
aload 4
invokeinterface java.util.List.size:()I
ifne 7
5: StackMap locals: java.util.List
StackMap stack:
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getProduces:()[Ljavax/ws/rs/core/MediaType;
arraylength
ifne 6
getstatic javax.ws.rs.core.MediaType.WILDCARD_TYPE:Ljavax/ws/rs/core/MediaType;
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getProduces:()[Ljavax/ws/rs/core/MediaType;
iconst_0
aaload
areturn
7: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getProduces:()[Ljavax/ws/rs/core/MediaType;
arraylength
ifne 9
8: aload 0
aload 4
aload 2
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.resolveContentTypeByAccept:(Ljava/util/List;Ljava/lang/Object;)Ljavax/ws/rs/core/MediaType;
areturn
9: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 16
StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.spi.HttpRequest java.lang.Object javax.ws.rs.core.MediaType java.util.List top java.util.Iterator
StackMap stack:
10: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.ws.rs.core.MediaType
astore 5
start local 5 11: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getProduces:()[Ljavax/ws/rs/core/MediaType;
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 15
StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.spi.HttpRequest java.lang.Object javax.ws.rs.core.MediaType java.util.List javax.ws.rs.core.MediaType java.util.Iterator top int int javax.ws.rs.core.MediaType[]
StackMap stack:
12: aload 10
iload 8
aaload
astore 7
start local 7 13: aload 7
aload 5
invokevirtual javax.ws.rs.core.MediaType.isCompatible:(Ljavax/ws/rs/core/MediaType;)Z
ifeq 14
aload 7
areturn
end local 7 14: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
15: iload 8
iload 9
if_icmplt 12
end local 5 16: StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker org.jboss.resteasy.spi.HttpRequest java.lang.Object javax.ws.rs.core.MediaType java.util.List top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
17: getstatic javax.ws.rs.core.MediaType.WILDCARD_TYPE:Ljavax/ws/rs/core/MediaType;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
0 18 1 in Lorg/jboss/resteasy/spi/HttpRequest;
0 18 2 entity Ljava/lang/Object;
1 18 3 chosen Ljavax/ws/rs/core/MediaType;
4 18 4 accepts Ljava/util/List<Ljavax/ws/rs/core/MediaType;>;
11 16 5 accept Ljavax/ws/rs/core/MediaType;
13 14 7 type Ljavax/ws/rs/core/MediaType;
MethodParameters:
Name Flags
in
entity
protected javax.ws.rs.core.MediaType resolveContentTypeByAccept(java.util.List<javax.ws.rs.core.MediaType>, );
descriptor: (Ljava/util/List;Ljava/lang/Object;)Ljavax/ws/rs/core/MediaType;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 1
invokeinterface java.util.List.size:()I
ifeq 1
aload 2
ifnonnull 2
1: StackMap locals:
StackMap stack:
getstatic javax.ws.rs.core.MediaType.WILDCARD_TYPE:Ljavax/ws/rs/core/MediaType;
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 3
start local 3 3: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getGenericReturnType:()Ljava/lang/reflect/Type;
astore 4
start local 4 4: aload 2
instanceof javax.ws.rs.core.GenericEntity
ifeq 8
5: aload 2
checkcast javax.ws.rs.core.GenericEntity
astore 5
start local 5 6: aload 5
invokevirtual javax.ws.rs.core.GenericEntity.getRawType:()Ljava/lang/Class;
astore 3
7: aload 5
invokevirtual javax.ws.rs.core.GenericEntity.getType:()Ljava/lang/reflect/Type;
astore 4
end local 5 8: StackMap locals: java.lang.Class java.lang.reflect.Type
StackMap stack:
aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 12
StackMap locals: org.jboss.resteasy.core.ResourceMethodInvoker java.util.List java.lang.Object java.lang.Class java.lang.reflect.Type top java.util.Iterator
StackMap stack:
9: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.ws.rs.core.MediaType
astore 5
start local 5 10: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.resourceMethodProviderFactory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
aload 3
aload 4
aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getAnnotatedMethod:()Ljava/lang/reflect/Method;
invokevirtual java.lang.reflect.Method.getAnnotations:()[Ljava/lang/annotation/Annotation;
aload 5
invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getMessageBodyWriter:(Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;)Ljavax/ws/rs/ext/MessageBodyWriter;
ifnull 12
11: aload 5
areturn
end local 5 12: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
13: getstatic javax.ws.rs.core.MediaType.WILDCARD_TYPE:Ljavax/ws/rs/core/MediaType;
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/core/ResourceMethodInvoker;
0 14 1 accepts Ljava/util/List<Ljavax/ws/rs/core/MediaType;>;
0 14 2 entity Ljava/lang/Object;
3 14 3 clazz Ljava/lang/Class;
4 14 4 type Ljava/lang/reflect/Type;
6 8 5 gen Ljavax/ws/rs/core/GenericEntity;
10 12 5 accept Ljavax/ws/rs/core/MediaType;
Signature: (Ljava/util/List<Ljavax/ws/rs/core/MediaType;>;Ljava/lang/Object;)Ljavax/ws/rs/core/MediaType;
MethodParameters:
Name Flags
accepts
entity
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.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getHttpMethods:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
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.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getProduces:()[Ljavax/ws/rs/core/MediaType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
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.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.getConsumes:()[Ljavax/ws/rs/core/MediaType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
public boolean isSse();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.isSse:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
public void markMethodAsAsync();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.method:Lorg/jboss/resteasy/spi/metadata/ResourceMethod;
invokeinterface org.jboss.resteasy.spi.metadata.ResourceMethod.markAsynchronous:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
public void setMethodStatisticsLogger(org.jboss.resteasy.spi.statistics.MethodStatisticsLogger);
descriptor: (Lorg/jboss/resteasy/spi/statistics/MethodStatisticsLogger;)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.core.ResourceMethodInvoker.methodStatisticsLogger:Lorg/jboss/resteasy/spi/statistics/MethodStatisticsLogger;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
0 2 1 msLogger Lorg/jboss/resteasy/spi/statistics/MethodStatisticsLogger;
MethodParameters:
Name Flags
msLogger
public org.jboss.resteasy.spi.statistics.MethodStatisticsLogger getMethodStatisticsLogger();
descriptor: ()Lorg/jboss/resteasy/spi/statistics/MethodStatisticsLogger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.core.ResourceMethodInvoker.methodStatisticsLogger:Lorg/jboss/resteasy/spi/statistics/MethodStatisticsLogger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
private org.jboss.resteasy.specimpl.BuiltResponse lambda$0(org.jboss.resteasy.spi.HttpRequest, org.jboss.resteasy.spi.HttpResponse, java.lang.Object);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)Lorg/jboss/resteasy/specimpl/BuiltResponse;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 0 0: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter:(Lorg/jboss/resteasy/spi/HttpRequest;Lorg/jboss/resteasy/spi/HttpResponse;Ljava/lang/Object;)Lorg/jboss/resteasy/specimpl/BuiltResponse;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/ResourceMethodInvoker;
private static void lambda$1(org.jboss.resteasy.core.AsyncResponseConsumer, java.lang.RuntimeException, java.lang.Throwable);
descriptor: (Lorg/jboss/resteasy/core/AsyncResponseConsumer;Ljava/lang/RuntimeException;Ljava/lang/Throwable;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 2 0: aload 0
aload 1
invokevirtual org.jboss.resteasy.core.AsyncResponseConsumer.complete:(Ljava/lang/Throwable;)V
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 t Ljava/lang/Throwable;
private static void lambda$2(org.jboss.resteasy.core.PostResourceMethodInvoker);
descriptor: (Lorg/jboss/resteasy/core/PostResourceMethodInvoker;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.jboss.resteasy.core.PostResourceMethodInvoker.invoke:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 e Lorg/jboss/resteasy/core/PostResourceMethodInvoker;
}
SourceFile: "ResourceMethodInvoker.java"
NestMembers:
org.jboss.resteasy.core.ResourceMethodInvoker$1
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract ResponseBuilder = javax.ws.rs.core.Response$ResponseBuilder of javax.ws.rs.core.Response
public abstract StatusType = javax.ws.rs.core.Response$StatusType of javax.ws.rs.core.Response
org.jboss.resteasy.core.ResourceMethodInvoker$1
public final ParamType = org.jboss.resteasy.spi.metadata.Parameter$ParamType of org.jboss.resteasy.spi.metadata.Parameter