public class org.jboss.resteasy.specimpl.BuiltResponse extends org.jboss.resteasy.specimpl.AbstractBuiltResponse
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.specimpl.BuiltResponse
super_class: org.jboss.resteasy.specimpl.AbstractBuiltResponse
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.jboss.resteasy.specimpl.AbstractBuiltResponse.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
public void <init>(int, org.jboss.resteasy.core.Headers<java.lang.Object>, , java.lang.annotation.Annotation[]);
descriptor: (ILorg/jboss/resteasy/core/Headers;Ljava/lang/Object;[Ljava/lang/annotation/Annotation;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
aconst_null
aload 2
aload 3
aload 4
invokespecial org.jboss.resteasy.specimpl.BuiltResponse.<init>:(ILjava/lang/String;Lorg/jboss/resteasy/core/Headers;Ljava/lang/Object;[Ljava/lang/annotation/Annotation;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 2 1 status I
0 2 2 metadata Lorg/jboss/resteasy/core/Headers<Ljava/lang/Object;>;
0 2 3 entity Ljava/lang/Object;
0 2 4 entityAnnotations [Ljava/lang/annotation/Annotation;
Signature: (ILorg/jboss/resteasy/core/Headers<Ljava/lang/Object;>;Ljava/lang/Object;[Ljava/lang/annotation/Annotation;)V
MethodParameters:
Name Flags
status final
metadata final
entity final
entityAnnotations final
public void <init>(int, java.lang.String, org.jboss.resteasy.core.Headers<java.lang.Object>, , java.lang.annotation.Annotation[]);
descriptor: (ILjava/lang/String;Lorg/jboss/resteasy/core/Headers;Ljava/lang/Object;[Ljava/lang/annotation/Annotation;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iload 1
aload 2
aload 3
aload 4
aload 5
invokespecial org.jboss.resteasy.specimpl.AbstractBuiltResponse.<init>:(ILjava/lang/String;Lorg/jboss/resteasy/core/Headers;Ljava/lang/Object;[Ljava/lang/annotation/Annotation;)V
1: 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 2 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 2 1 status I
0 2 2 reason Ljava/lang/String;
0 2 3 metadata Lorg/jboss/resteasy/core/Headers<Ljava/lang/Object;>;
0 2 4 entity Ljava/lang/Object;
0 2 5 entityAnnotations [Ljava/lang/annotation/Annotation;
Signature: (ILjava/lang/String;Lorg/jboss/resteasy/core/Headers<Ljava/lang/Object;>;Ljava/lang/Object;[Ljava/lang/annotation/Annotation;)V
MethodParameters:
Name Flags
status final
reason final
metadata final
entity final
entityAnnotations final
public <T> T readEntity(java.lang.Class<T>, java.lang.reflect.Type, java.lang.annotation.Annotation[]);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.abortIfClosed:()V
1: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
ifnull 11
2: aload 1
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
instanceof java.io.InputStream
ifeq 8
5: aload 0
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
checkcast java.io.InputStream
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.setInputStream:(Ljava/io/InputStream;)V
6: aload 0
aconst_null
putfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
7: goto 11
8: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.bufferedEntity:[B
ifnonnull 10
9: 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.specimpl.BuiltResponse.entity:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.entityAlreadyRead:(Ljava/lang/Class;)Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
11: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
ifnonnull 30
12: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.status:I
sipush 204
if_icmpne 14
13: aconst_null
areturn
14: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 1
aload 2
aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getMediaType:()Ljavax/ws/rs/core/MediaType;
aload 3
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.readFrom:(Ljava/lang/Class;Ljava/lang/reflect/Type;Ljavax/ws/rs/core/MediaType;[Ljava/lang/annotation/Annotation;)Ljava/lang/Object;
putfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
15: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
ifnull 19
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
ifnull 30
16: ldc Ljava/io/InputStream;
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 30
17: ldc Ljava/io/Reader;
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 30
18: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.bufferedEntity:[B
ifnonnull 30
19: StackMap locals:
StackMap stack:
ldc Lorg/reactivestreams/Publisher;
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 30
ldc Lorg/jboss/resteasy/plugins/providers/sse/EventInput;
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 30
20: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.close:()V
21: goto 30
22: StackMap locals:
StackMap stack: java.lang.Exception
pop
23: goto 30
24: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 4
start local 4 25: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.close:()V
26: goto 28
27: StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse java.lang.Class java.lang.reflect.Type java.lang.annotation.Annotation[] java.lang.RuntimeException
StackMap stack: java.lang.Exception
pop
28: StackMap locals:
StackMap stack:
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.LOGGER:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/LogMessages;
aload 4
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.LogMessages.clientSideProcessingFailure:(Ljava/lang/Throwable;)V
29: aload 4
athrow
end local 4 30: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 31 1 type Ljava/lang/Class<TT;>;
0 31 2 genericType Ljava/lang/reflect/Type;
0 31 3 anns [Ljava/lang/annotation/Annotation;
25 30 4 e Ljava/lang/RuntimeException;
Exception table:
from to target type
19 21 22 Class java.lang.Exception
14 23 24 Class java.lang.RuntimeException
25 26 27 Class java.lang.Exception
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;)TT;
MethodParameters:
Name Flags
type
genericType
anns
protected synchronized <T> readFrom(java.lang.Class<T>, java.lang.reflect.Type, javax.ws.rs.core.MediaType, java.lang.annotation.Annotation[]);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Type;Ljavax/ws/rs/core/MediaType;[Ljava/lang/annotation/Annotation;)Ljava/lang/Object;
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=12, locals=15, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
ifnonnull 1
aload 1
goto 2
StackMap locals:
StackMap stack:
1: aload 2
StackMap locals:
StackMap stack: java.lang.reflect.Type
2: astore 5
start local 5 3: aload 1
astore 6
start local 6 4: aload 3
ifnonnull 5
getstatic javax.ws.rs.core.MediaType.WILDCARD_TYPE:Ljavax/ws/rs/core/MediaType;
goto 6
StackMap locals: java.lang.reflect.Type java.lang.Class
StackMap stack:
5: aload 3
StackMap locals:
StackMap stack: javax.ws.rs.core.MediaType
6: astore 3
7: aload 4
ifnonnull 8
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.annotations:[Ljava/lang/annotation/Annotation;
goto 9
StackMap locals:
StackMap stack:
8: aload 4
StackMap locals:
StackMap stack: java.lang.annotation.Annotation[]
9: astore 4
10: iconst_0
istore 7
start local 7 11: aload 1
ldc Lorg/jboss/resteasy/spi/MarshalledEntity;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 16
12: iconst_1
istore 7
13: aload 5
checkcast java.lang.reflect.ParameterizedType
astore 8
start local 8 14: aload 8
invokeinterface java.lang.reflect.ParameterizedType.getActualTypeArguments:()[Ljava/lang/reflect/Type;
iconst_0
aaload
astore 5
15: aload 5
invokestatic org.jboss.resteasy.util.Types.getRawType:(Ljava/lang/reflect/Type;)Ljava/lang/Class;
astore 6
end local 8 16: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getEntityStream:()Ljava/io/InputStream;
astore 8
start local 8 17: aload 8
ifnonnull 19
18: new java.lang.IllegalStateException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.inputStreamWasEmpty:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals: java.io.InputStream
StackMap stack:
iload 7
ifeq 21
20: new org.jboss.resteasy.util.InputStreamToByteArray
dup
aload 8
invokespecial org.jboss.resteasy.util.InputStreamToByteArray.<init>:(Ljava/io/InputStream;)V
astore 8
21: StackMap locals:
StackMap stack:
invokestatic org.jboss.resteasy.spi.ResteasyProviderFactory.getInstance:()Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
astore 9
start local 9 22: aload 9
23: invokevirtual org.jboss.resteasy.spi.ResteasyProviderFactory.getServerReaderInterceptorRegistry:()Lorg/jboss/resteasy/core/interception/ReaderInterceptorRegistry;
24: aconst_null
aconst_null
invokevirtual org.jboss.resteasy.core.interception.ReaderInterceptorRegistry.postMatch:(Ljava/lang/Class;Ljava/lang/reflect/AccessibleObject;)[Ljava/lang/Object;
checkcast javax.ws.rs.ext.ReaderInterceptor[]
25: astore 10
start local 10 26: new org.jboss.resteasy.core.interception.ClientReaderInterceptorContext
dup
27: aload 10
aload 9
aload 6
28: aload 5
aload 4
aload 3
aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getStringHeaders:()Ljavax/ws/rs/core/MultivaluedMap;
aload 8
29: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
30: invokespecial org.jboss.resteasy.core.interception.ClientReaderInterceptorContext.<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;Ljava/util/Map;)V
astore 12
start local 12 31: aload 12
invokevirtual org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed:()Ljava/lang/Object;
astore 11
start local 11 32: iload 7
ifeq 37
33: aload 8
checkcast org.jboss.resteasy.util.InputStreamToByteArray
astore 13
start local 13 34: aload 13
invokevirtual org.jboss.resteasy.util.InputStreamToByteArray.toByteArray:()[B
astore 14
start local 14 35: new org.jboss.resteasy.specimpl.BuiltResponse$1
dup
aload 0
aload 14
aload 11
invokespecial org.jboss.resteasy.specimpl.BuiltResponse$1.<init>:(Lorg/jboss/resteasy/specimpl/BuiltResponse;[BLjava/lang/Object;)V
36: areturn
end local 14 end local 13 37: StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse java.lang.Class java.lang.reflect.Type javax.ws.rs.core.MediaType java.lang.annotation.Annotation[] java.lang.reflect.Type java.lang.Class int java.io.InputStream org.jboss.resteasy.spi.ResteasyProviderFactory javax.ws.rs.ext.ReaderInterceptor[] java.lang.Object org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext
StackMap stack:
aload 11
38: areturn
end local 12 end local 11 end local 10 end local 9 end local 8 39: StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse java.lang.Class java.lang.reflect.Type javax.ws.rs.core.MediaType java.lang.annotation.Annotation[] java.lang.reflect.Type java.lang.Class int
StackMap stack: javax.ws.rs.ProcessingException
astore 8
start local 8 40: aload 8
athrow
end local 8 41: StackMap locals:
StackMap stack: java.lang.Exception
astore 8
start local 8 42: new javax.ws.rs.ProcessingException
dup
aload 8
invokespecial javax.ws.rs.ProcessingException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 8 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 43 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 43 1 type Ljava/lang/Class<TT;>;
0 43 2 genericType Ljava/lang/reflect/Type;
0 43 3 media Ljavax/ws/rs/core/MediaType;
0 43 4 annotations [Ljava/lang/annotation/Annotation;
3 43 5 useGeneric Ljava/lang/reflect/Type;
4 43 6 useType Ljava/lang/Class<*>;
11 43 7 isMarshalledEntity Z
14 16 8 param Ljava/lang/reflect/ParameterizedType;
17 39 8 is Ljava/io/InputStream;
22 39 9 providerFactory Lorg/jboss/resteasy/spi/ResteasyProviderFactory;
26 39 10 readerInterceptors [Ljavax/ws/rs/ext/ReaderInterceptor;
32 39 11 finalObj Ljava/lang/Object;
31 39 12 context Lorg/jboss/resteasy/core/interception/AbstractReaderInterceptorContext;
34 37 13 isba Lorg/jboss/resteasy/util/InputStreamToByteArray;
35 37 14 bytes [B
40 41 8 pe Ljavax/ws/rs/ProcessingException;
42 43 8 ex Ljava/lang/Exception;
Exception table:
from to target type
16 36 39 Class javax.ws.rs.ProcessingException
37 38 39 Class javax.ws.rs.ProcessingException
16 36 41 Class java.lang.Exception
37 38 41 Class java.lang.Exception
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/reflect/Type;Ljavax/ws/rs/core/MediaType;[Ljava/lang/annotation/Annotation;)Ljava/lang/Object;
MethodParameters:
Name Flags
type
genericType
media
annotations
protected java.io.InputStream getEntityStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.bufferedEntity:[B
ifnull 2
1: new java.io.ByteArrayInputStream
dup
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.bufferedEntity:[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.isClosed:()Z
ifeq 4
3: new javax.ws.rs.ProcessingException
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.streamIsClosed:()Ljava/lang/String;
invokespecial javax.ws.rs.ProcessingException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getInputStream:()Ljava/io/InputStream;
astore 1
start local 1 5: aload 1
ifnull 6
new org.jboss.resteasy.specimpl.AbstractBuiltResponse$InputStreamWrapper
dup
aload 1
aload 0
invokespecial org.jboss.resteasy.specimpl.AbstractBuiltResponse$InputStreamWrapper.<init>:(Ljava/io/InputStream;Lorg/jboss/resteasy/specimpl/BuiltResponse;)V
goto 7
StackMap locals: java.io.InputStream
StackMap stack:
6: aconst_null
StackMap locals:
StackMap stack: org.jboss.resteasy.specimpl.AbstractBuiltResponse$InputStreamWrapper
7: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
5 8 1 is Ljava/io/InputStream;
protected void setInputStream(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.jboss.resteasy.specimpl.BuiltResponse.is:Ljava/io/InputStream;
1: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.resetEntity:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 3 1 is Ljava/io/InputStream;
MethodParameters:
Name Flags
is
protected java.io.InputStream getInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.is:Ljava/io/InputStream;
ifnonnull 2
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
ifnull 2
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
instanceof java.io.InputStream
ifeq 2
1: aload 0
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.entity:Ljava/lang/Object;
checkcast java.io.InputStream
putfield org.jboss.resteasy.specimpl.BuiltResponse.is:Ljava/io/InputStream;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.is:Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
public void releaseConnection();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.releaseConnection:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
Exceptions:
throws java.io.IOException
public void releaseConnection(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.is:Ljava/io/InputStream;
ifnull 7
1: iload 1
ifeq 3
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.is:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
ifgt 2
3: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.is:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
4: aload 0
aconst_null
putfield org.jboss.resteasy.specimpl.BuiltResponse.is:Ljava/io/InputStream;
5: goto 7
6: StackMap locals:
StackMap stack: java.io.IOException
pop
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
0 8 1 consumeInputStream Z
Exception table:
from to target type
0 5 6 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
consumeInputStream
public boolean bufferEntity();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.abortIfClosed:()V
1: aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.bufferedEntity:[B
ifnull 2
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jboss.resteasy.specimpl.BuiltResponse.streamRead:Z
ifeq 3
iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.getInputStream:()Ljava/io/InputStream;
astore 1
start local 1 4: aload 1
ifnonnull 5
iconst_0
ireturn
5: StackMap locals: java.io.InputStream
StackMap stack:
aload 0
sipush 1024
aload 1
invokestatic org.jboss.resteasy.util.ReadFromStream.readFromStream:(ILjava/io/InputStream;)[B
putfield org.jboss.resteasy.specimpl.BuiltResponse.bufferedEntity:[B
6: goto 15
7: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 8: new javax.ws.rs.ProcessingException
dup
aload 2
invokespecial javax.ws.rs.ProcessingException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
10: aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.releaseConnection:()V
11: goto 14
12: StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse java.io.InputStream top java.lang.Throwable
StackMap stack: java.io.IOException
astore 4
start local 4 13: new javax.ws.rs.ProcessingException
dup
aload 4
invokespecial javax.ws.rs.ProcessingException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 14: StackMap locals:
StackMap stack:
aload 3
athrow
15: StackMap locals: org.jboss.resteasy.specimpl.BuiltResponse java.io.InputStream
StackMap stack:
aload 0
invokevirtual org.jboss.resteasy.specimpl.BuiltResponse.releaseConnection:()V
16: goto 19
17: StackMap locals:
StackMap stack: java.io.IOException
astore 4
start local 4 18: new javax.ws.rs.ProcessingException
dup
aload 4
invokespecial javax.ws.rs.ProcessingException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 19: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/jboss/resteasy/specimpl/BuiltResponse;
4 20 1 is Ljava/io/InputStream;
8 9 2 e Ljava/io/IOException;
13 14 4 e Ljava/io/IOException;
18 19 4 e Ljava/io/IOException;
Exception table:
from to target type
5 6 7 Class java.io.IOException
5 9 9 any
10 11 12 Class java.io.IOException
15 16 17 Class java.io.IOException
}
SourceFile: "BuiltResponse.java"
NestMembers:
org.jboss.resteasy.specimpl.BuiltResponse$1
InnerClasses:
protected InputStreamWrapper = org.jboss.resteasy.specimpl.AbstractBuiltResponse$InputStreamWrapper of org.jboss.resteasy.specimpl.AbstractBuiltResponse
org.jboss.resteasy.specimpl.BuiltResponse$1