public class org.jboss.resteasy.core.MessageBodyParameterInjector implements org.jboss.resteasy.core.ValueInjector, 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.MessageBodyParameterInjector
super_class: java.lang.Object
{
private static org.jboss.resteasy.util.ThreadLocalStack<java.lang.Object> bodyStack;
descriptor: Lorg/jboss/resteasy/util/ThreadLocalStack;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Lorg/jboss/resteasy/util/ThreadLocalStack<Ljava/lang/Object;>;
private java.lang.Class type;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
private java.lang.reflect.Type genericType;
descriptor: Ljava/lang/reflect/Type;
flags: (0x0002) ACC_PRIVATE
private java.lang.annotation.Annotation[] annotations;
descriptor: [Ljava/lang/annotation/Annotation;
flags: (0x0002) ACC_PRIVATE
private org.jboss.resteasy.spi.ResteasyProviderFactory factory;
descriptor: Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
flags: (0x0002) ACC_PRIVATE
private java.lang.Class declaringClass;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
private java.lang.reflect.AccessibleObject target;
descriptor: Ljava/lang/reflect/AccessibleObject;
flags: (0x0002) ACC_PRIVATE
private javax.ws.rs.ext.ReaderInterceptor[] interceptors;
descriptor: [Ljavax/ws/rs/ext/ReaderInterceptor;
flags: (0x0002) ACC_PRIVATE
private boolean isMarshalledEntity;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.jboss.resteasy.util.ThreadLocalStack
dup
invokespecial org.jboss.resteasy.util.ThreadLocalStack.<init>:()V
putstatic org.jboss.resteasy.core.MessageBodyParameterInjector.bodyStack:Lorg/jboss/resteasy/util/ThreadLocalStack;
return
LocalVariableTable:
Start End Slot Name Signature
public static void pushBody(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.jboss.resteasy.core.MessageBodyParameterInjector.bodyStack:Lorg/jboss/resteasy/util/ThreadLocalStack;
aload 0
invokevirtual org.jboss.resteasy.util.ThreadLocalStack.push:(Ljava/lang/Object;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public static java.lang.Object getBody();
descriptor: ()Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.jboss.resteasy.core.MessageBodyParameterInjector.bodyStack:Lorg/jboss/resteasy/util/ThreadLocalStack;
invokevirtual org.jboss.resteasy.util.ThreadLocalStack.get:()Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.Object popBody();
descriptor: ()Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.jboss.resteasy.core.MessageBodyParameterInjector.bodyStack:Lorg/jboss/resteasy/util/ThreadLocalStack;
invokevirtual org.jboss.resteasy.util.ThreadLocalStack.pop:()Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static int bodyCount();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.jboss.resteasy.core.MessageBodyParameterInjector.bodyStack:Lorg/jboss/resteasy/util/ThreadLocalStack;
invokevirtual org.jboss.resteasy.util.ThreadLocalStack.size:()I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static void clearBodies();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.jboss.resteasy.core.MessageBodyParameterInjector.bodyStack:Lorg/jboss/resteasy/util/ThreadLocalStack;
invokevirtual org.jboss.resteasy.util.ThreadLocalStack.clear:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.Class, java.lang.reflect.AccessibleObject, java.lang.Class, java.lang.reflect.Type, java.lang.annotation.Annotation[], org.jboss.resteasy.spi.ResteasyProviderFactory);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/AccessibleObject;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 6
putfield org.jboss.resteasy.core.MessageBodyParameterInjector.factory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
2: aload 0
aload 2
putfield org.jboss.resteasy.core.MessageBodyParameterInjector.target:Ljava/lang/reflect/AccessibleObject;
3: aload 0
aload 1
putfield org.jboss.resteasy.core.MessageBodyParameterInjector.declaringClass:Ljava/lang/Class;
4: aload 3
ldc Lorg/jboss/resteasy/spi/MarshalledEntity;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 12
5: aload 4
ifnull 6
aload 4
instanceof java.lang.reflect.ParameterizedType
ifne 7
6: StackMap locals: org.jboss.resteasy.core.MessageBodyParameterInjector java.lang.Class java.lang.reflect.AccessibleObject java.lang.Class java.lang.reflect.Type java.lang.annotation.Annotation[] org.jboss.resteasy.spi.ResteasyProviderFactory
StackMap stack:
new java.lang.RuntimeException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.marshalledEntityMustHaveTypeInfo:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.jboss.resteasy.core.MessageBodyParameterInjector.isMarshalledEntity:Z
8: aload 4
checkcast java.lang.reflect.ParameterizedType
astore 7
start local 7 9: aload 0
aload 7
invokeinterface java.lang.reflect.ParameterizedType.getActualTypeArguments:()[Ljava/lang/reflect/Type;
iconst_0
aaload
putfield org.jboss.resteasy.core.MessageBodyParameterInjector.genericType:Ljava/lang/reflect/Type;
10: aload 0
aload 0
getfield org.jboss.resteasy.core.MessageBodyParameterInjector.genericType:Ljava/lang/reflect/Type;
invokestatic org.jboss.resteasy.util.Types.getRawType:(Ljava/lang/reflect/Type;)Ljava/lang/Class;
putfield org.jboss.resteasy.core.MessageBodyParameterInjector.type:Ljava/lang/Class;
end local 7 11: goto 14
12: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield org.jboss.resteasy.core.MessageBodyParameterInjector.type:Ljava/lang/Class;
13: aload 0
aload 4
putfield org.jboss.resteasy.core.MessageBodyParameterInjector.genericType:Ljava/lang/reflect/Type;
14: StackMap locals:
StackMap stack:
aload 0
aload 5
putfield org.jboss.resteasy.core.MessageBodyParameterInjector.annotations:[Ljava/lang/annotation/Annotation;
15: aload 0
aload 6
16: invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getServerReaderInterceptorRegistry:()Lorg/jboss/resteasy/core/interception/ReaderInterceptorRegistry;
17: aload 0
getfield org.jboss.resteasy.core.MessageBodyParameterInjector.declaringClass:Ljava/lang/Class;
aload 0
getfield org.jboss.resteasy.core.MessageBodyParameterInjector.target:Ljava/lang/reflect/AccessibleObject;
18: invokevirtual org.jboss.resteasy.core.interception.ReaderInterceptorRegistry.postMatch:(Ljava/lang/Class;Ljava/lang/reflect/AccessibleObject;)[Ljava/lang/Object;
checkcast javax.ws.rs.ext.ReaderInterceptor[]
19: putfield org.jboss.resteasy.core.MessageBodyParameterInjector.interceptors:[Ljavax/ws/rs/ext/ReaderInterceptor;
20: aload 6
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 0
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
21: return
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 22 0 this Lorg/jboss/resteasy/core/MessageBodyParameterInjector;
0 22 1 declaringClass Ljava/lang/Class;
0 22 2 target Ljava/lang/reflect/AccessibleObject;
0 22 3 type Ljava/lang/Class;
0 22 4 genericType Ljava/lang/reflect/Type;
0 22 5 annotations [Ljava/lang/annotation/Annotation;
0 22 6 factory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
9 11 7 param Ljava/lang/reflect/ParameterizedType;
MethodParameters:
Name Flags
declaringClass
target
type
genericType
annotations
factory
public void registryUpdated(org.jboss.resteasy.core.interception.JaxrsInterceptorRegistry);
descriptor: (Lorg/jboss/resteasy/core/interception/JaxrsInterceptorRegistry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.jboss.resteasy.core.MessageBodyParameterInjector.factory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
1: invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getServerReaderInterceptorRegistry:()Lorg/jboss/resteasy/core/interception/ReaderInterceptorRegistry;
2: aload 0
getfield org.jboss.resteasy.core.MessageBodyParameterInjector.declaringClass:Ljava/lang/Class;
aload 0
getfield org.jboss.resteasy.core.MessageBodyParameterInjector.target:Ljava/lang/reflect/AccessibleObject;
3: invokevirtual org.jboss.resteasy.core.interception.ReaderInterceptorRegistry.postMatch:(Ljava/lang/Class;Ljava/lang/reflect/AccessibleObject;)[Ljava/lang/Object;
checkcast javax.ws.rs.ext.ReaderInterceptor[]
4: putfield org.jboss.resteasy.core.MessageBodyParameterInjector.interceptors:[Ljavax/ws/rs/ext/ReaderInterceptor;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jboss/resteasy/core/MessageBodyParameterInjector;
0 6 1 registry Lorg/jboss/resteasy/core/interception/JaxrsInterceptorRegistry;
MethodParameters:
Name Flags
registry
public boolean isFormData(java.lang.Class<?>, java.lang.reflect.Type, java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
invokevirtual javax.ws.rs.core.MediaType.isWildcardType:()Z
ifne 2
aload 4
invokevirtual javax.ws.rs.core.MediaType.isWildcardSubtype:()Z
ifne 2
1: aload 4
getstatic javax.ws.rs.core.MediaType.APPLICATION_FORM_URLENCODED_TYPE:Ljavax/ws/rs/core/MediaType;
invokevirtual javax.ws.rs.core.MediaType.isCompatible:(Ljavax/ws/rs/core/MediaType;)Z
ifne 3
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
ldc Ljavax/ws/rs/core/MultivaluedMap;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 4
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 2
ifnonnull 5
iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 2
instanceof java.lang.reflect.ParameterizedType
ifne 6
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 2
checkcast java.lang.reflect.ParameterizedType
astore 5
start local 5 7: aload 5
invokeinterface java.lang.reflect.ParameterizedType.getActualTypeArguments:()[Ljava/lang/reflect/Type;
arraylength
iconst_2
if_icmpeq 8
iconst_0
ireturn
8: StackMap locals: java.lang.reflect.ParameterizedType
StackMap stack:
aload 5
invokeinterface java.lang.reflect.ParameterizedType.getActualTypeArguments:()[Ljava/lang/reflect/Type;
iconst_0
aaload
ldc Ljava/lang/String;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 9
aload 5
invokeinterface java.lang.reflect.ParameterizedType.getActualTypeArguments:()[Ljava/lang/reflect/Type;
iconst_1
aaload
ldc Ljava/lang/String;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 9
iconst_1
ireturn
StackMap locals:
StackMap stack:
9: iconst_0
ireturn
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 10 0 this Lorg/jboss/resteasy/core/MessageBodyParameterInjector;
0 10 1 type Ljava/lang/Class<*>;
0 10 2 genericType Ljava/lang/reflect/Type;
0 10 3 annotations [Ljava/lang/annotation/Annotation;
0 10 4 mediaType Ljavax/ws/rs/core/MediaType;
7 10 5 params Ljava/lang/reflect/ParameterizedType;
Signature: (Ljava/lang/Class<*>;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;)Z
MethodParameters:
Name Flags
type
genericType
annotations
mediaType
public java.lang.Object inject(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=11, locals=14, args_size=3
start local 0 start local 1 start local 2 0: invokestatic org.jboss.resteasy.core.MessageBodyParameterInjector.getBody:()Ljava/lang/Object;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getHttpHeaders:()Ljavax/ws/rs/core/HttpHeaders;
invokeinterface javax.ws.rs.core.HttpHeaders.getMediaType:()Ljavax/ws/rs/core/MediaType;
astore 4
start local 4 4: aload 4
ifnonnull 6
5: getstatic javax.ws.rs.core.MediaType.WILDCARD_TYPE:Ljavax/ws/rs/core/MediaType;
astore 4
6: StackMap locals: javax.ws.rs.core.MediaType
StackMap stack:
aconst_null
astore 5
start local 5 7: getstatic javax.ws.rs.core.MediaType.APPLICATION_FORM_URLENCODED_TYPE:Ljavax/ws/rs/core/MediaType;
aload 4
invokevirtual javax.ws.rs.core.MediaType.equals:(Ljava/lang/Object;)Z
ifeq 33
8: aload 1
instanceof org.jboss.resteasy.plugins.server.servlet.HttpServletInputMessage
ifeq 33
aload 1
checkcast org.jboss.resteasy.plugins.server.servlet.HttpServletInputMessage
invokevirtual org.jboss.resteasy.plugins.server.servlet.HttpServletInputMessage.formParametersRead:()Z
ifeq 33
9: aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getDecodedFormParameters:()Ljavax/ws/rs/core/MultivaluedMap;
astore 6
start local 6 10: aload 6
ifnull 33
11: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 7
start local 7 12: aload 6
invokeinterface javax.ws.rs.core.MultivaluedMap.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 23
StackMap locals: org.jboss.resteasy.core.MessageBodyParameterInjector org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.spi.HttpResponse java.lang.Object javax.ws.rs.core.MediaType java.io.InputStream javax.ws.rs.core.MultivaluedMap java.lang.StringBuilder top java.util.Iterator
StackMap stack:
13: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 8
start local 8 14: aload 8
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 10
start local 10 15: aload 7
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: aload 8
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
astore 11
start local 11 17: aload 11
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 13
goto 22
StackMap locals: org.jboss.resteasy.core.MessageBodyParameterInjector org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.spi.HttpResponse java.lang.Object javax.ws.rs.core.MediaType java.io.InputStream javax.ws.rs.core.MultivaluedMap java.lang.StringBuilder java.util.Map$Entry java.util.Iterator java.lang.String java.util.List top java.util.Iterator
StackMap stack:
18: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 12
start local 12 19: ldc ""
aload 12
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
20: aload 7
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 12
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: StackMap locals: org.jboss.resteasy.core.MessageBodyParameterInjector org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.spi.HttpResponse java.lang.Object javax.ws.rs.core.MediaType java.io.InputStream javax.ws.rs.core.MultivaluedMap java.lang.StringBuilder java.util.Map$Entry java.util.Iterator java.lang.String java.util.List java.lang.String java.util.Iterator
StackMap stack:
aload 7
ldc "&"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 12 22: StackMap locals: org.jboss.resteasy.core.MessageBodyParameterInjector org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.spi.HttpResponse java.lang.Object javax.ws.rs.core.MediaType java.io.InputStream javax.ws.rs.core.MultivaluedMap java.lang.StringBuilder java.util.Map$Entry java.util.Iterator java.lang.String java.util.List top java.util.Iterator
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
end local 11 end local 10 end local 8 23: StackMap locals: org.jboss.resteasy.core.MessageBodyParameterInjector org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.spi.HttpResponse java.lang.Object javax.ws.rs.core.MediaType java.io.InputStream javax.ws.rs.core.MultivaluedMap java.lang.StringBuilder top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
24: aload 7
invokevirtual java.lang.StringBuilder.length:()I
ifle 26
bipush 38
aload 7
aload 7
invokevirtual java.lang.StringBuilder.length:()I
iconst_1
isub
invokevirtual java.lang.StringBuilder.charAt:(I)C
if_icmpne 26
25: aload 7
aload 7
invokevirtual java.lang.StringBuilder.length:()I
iconst_1
isub
invokevirtual java.lang.StringBuilder.deleteCharAt:(I)Ljava/lang/StringBuilder;
pop
26: StackMap locals: org.jboss.resteasy.core.MessageBodyParameterInjector org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.spi.HttpResponse java.lang.Object javax.ws.rs.core.MediaType java.io.InputStream javax.ws.rs.core.MultivaluedMap java.lang.StringBuilder
StackMap stack:
ldc "UTF-8"
astore 8
start local 8 27: aload 4
invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
ldc "charset"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 29
28: aload 4
invokevirtual javax.ws.rs.core.MediaType.getParameters:()Ljava/util/Map;
ldc "charset"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 8
29: StackMap locals: java.lang.String
StackMap stack:
new java.io.ByteArrayInputStream
dup
aload 7
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 8
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
astore 5
30: goto 33
31: StackMap locals:
StackMap stack: java.lang.Exception
pop
32: getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.LOGGER:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/LogMessages;
aload 8
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.charsetUnavailable:(Ljava/lang/String;)V
end local 8 end local 7 end local 6 33: StackMap locals:
StackMap stack:
aload 5
ifnonnull 35
34: aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getInputStream:()Ljava/io/InputStream;
astore 5
35: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.core.MessageBodyParameterInjector.isMarshalledEntity:Z
ifeq 37
36: new org.jboss.resteasy.util.InputStreamToByteArray
dup
aload 5
invokespecial org.jboss.resteasy.util.InputStreamToByteArray.<init>:(Ljava/io/InputStream;)V
astore 5
37: StackMap locals:
StackMap stack:
new org.jboss.resteasy.core.interception.ServerReaderInterceptorContext
dup
aload 0
getfield org.jboss.resteasy.core.MessageBodyParameterInjector.interceptors:[Ljavax/ws/rs/ext/ReaderInterceptor;
aload 0
getfield org.jboss.resteasy.core.MessageBodyParameterInjector.factory:Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
aload 0
getfield org.jboss.resteasy.core.MessageBodyParameterInjector.type:Ljava/lang/Class;
38: aload 0
getfield org.jboss.resteasy.core.MessageBodyParameterInjector.genericType:Ljava/lang/reflect/Type;
aload 0
getfield org.jboss.resteasy.core.MessageBodyParameterInjector.annotations:[Ljava/lang/annotation/Annotation;
aload 4
aload 1
39: invokeinterface org.jboss.resteasy.spi.HttpRequest.getHttpHeaders:()Ljavax/ws/rs/core/HttpHeaders;
invokeinterface javax.ws.rs.core.HttpHeaders.getRequestHeaders:()Ljavax/ws/rs/core/MultivaluedMap;
aload 5
aload 1
40: invokespecial org.jboss.resteasy.core.interception.ServerReaderInterceptorContext.<init>:([Ljavax/ws/rs/ext/ReaderInterceptor;Lorg/jboss/resteasy/spi/ResteasyProviderFactory;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;Ljavax/ws/rs/core/MultivaluedMap;Ljava/io/InputStream;Lorg/jboss/resteasy/spi/HttpRequest;)V
astore 6
start local 6 41: aload 6
invokevirtual org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed:()Ljava/lang/Object;
astore 7
start local 7 42: aload 0
getfield org.jboss.resteasy.core.MessageBodyParameterInjector.isMarshalledEntity:Z
ifeq 47
43: aload 5
checkcast org.jboss.resteasy.util.InputStreamToByteArray
astore 8
start local 8 44: aload 8
invokevirtual org.jboss.resteasy.util.InputStreamToByteArray.toByteArray:()[B
astore 9
start local 9 45: new org.jboss.resteasy.core.MessageBodyParameterInjector$1
dup
aload 0
aload 9
aload 7
invokespecial org.jboss.resteasy.core.MessageBodyParameterInjector$1.<init>:(Lorg/jboss/resteasy/core/MessageBodyParameterInjector;[BLjava/lang/Object;)V
46: areturn
end local 9 end local 8 47: StackMap locals: org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext java.lang.Object
StackMap stack:
aload 7
48: areturn
end local 7 end local 6 49: StackMap locals: org.jboss.resteasy.core.MessageBodyParameterInjector org.jboss.resteasy.spi.HttpRequest org.jboss.resteasy.spi.HttpResponse java.lang.Object javax.ws.rs.core.MediaType java.io.InputStream
StackMap stack: java.lang.Exception
astore 6
start local 6 50: aload 6
instanceof org.jboss.resteasy.spi.ReaderException
ifeq 52
51: aload 6
checkcast org.jboss.resteasy.spi.ReaderException
athrow
52: StackMap locals: java.lang.Exception
StackMap stack:
new org.jboss.resteasy.spi.ReaderException
dup
aload 6
invokespecial org.jboss.resteasy.spi.ReaderException.<init>:(Ljava/lang/Throwable;)V
athrow
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 53 0 this Lorg/jboss/resteasy/core/MessageBodyParameterInjector;
0 53 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 53 2 response Lorg/jboss/resteasy/spi/HttpResponse;
1 53 3 o Ljava/lang/Object;
4 53 4 mediaType Ljavax/ws/rs/core/MediaType;
7 53 5 is Ljava/io/InputStream;
10 33 6 map Ljavax/ws/rs/core/MultivaluedMap<Ljava/lang/String;Ljava/lang/String;>;
12 33 7 sb Ljava/lang/StringBuilder;
14 23 8 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
15 23 10 key Ljava/lang/String;
17 23 11 values Ljava/util/List<Ljava/lang/String;>;
19 22 12 value Ljava/lang/String;
27 33 8 charset Ljava/lang/String;
41 49 6 messageBodyReaderContext Lorg/jboss/resteasy/core/interception/AbstractReaderInterceptorContext;
42 49 7 obj Ljava/lang/Object;
44 47 8 isba Lorg/jboss/resteasy/util/InputStreamToByteArray;
45 47 9 bytes [B
50 53 6 e Ljava/lang/Exception;
Exception table:
from to target type
29 30 31 Class java.lang.Exception
33 46 49 Class java.lang.Exception
47 48 49 Class java.lang.Exception
MethodParameters:
Name Flags
request
response
public java.lang.Object inject();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.RuntimeException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 0
getfield org.jboss.resteasy.core.MessageBodyParameterInjector.target:Ljava/lang/reflect/AccessibleObject;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.illegalToInjectMessageBody:(Ljava/lang/reflect/AccessibleObject;)Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/MessageBodyParameterInjector;
}
SourceFile: "MessageBodyParameterInjector.java"
NestMembers:
org.jboss.resteasy.core.MessageBodyParameterInjector$1
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
org.jboss.resteasy.core.MessageBodyParameterInjector$1