class org.glassfish.jersey.client.ClientResponse$1 extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.glassfish.jersey.client.ClientResponse$1
super_class: java.io.InputStream
{
private java.io.ByteArrayInputStream byteArrayInputStream;
descriptor: Ljava/io/ByteArrayInputStream;
flags: (0x0002) ACC_PRIVATE
final org.glassfish.jersey.client.ClientResponse this$0;
descriptor: Lorg/glassfish/jersey/client/ClientResponse;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final org.glassfish.jersey.client.ClientRequest val$requestContext;
descriptor: Lorg/glassfish/jersey/client/ClientRequest;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.Object val$entity;
descriptor: Ljava/lang/Object;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final javax.ws.rs.core.Response val$response;
descriptor: Ljavax/ws/rs/core/Response;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.glassfish.jersey.client.ClientResponse, org.glassfish.jersey.client.ClientRequest, java.lang.Object, javax.ws.rs.core.Response);
descriptor: (Lorg/glassfish/jersey/client/ClientResponse;Lorg/glassfish/jersey/client/ClientRequest;Ljava/lang/Object;Ljavax/ws/rs/core/Response;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 0: aload 0
aload 1
putfield org.glassfish.jersey.client.ClientResponse$1.this$0:Lorg/glassfish/jersey/client/ClientResponse;
aload 0
aload 2
putfield org.glassfish.jersey.client.ClientResponse$1.val$requestContext:Lorg/glassfish/jersey/client/ClientRequest;
aload 0
aload 3
putfield org.glassfish.jersey.client.ClientResponse$1.val$entity:Ljava/lang/Object;
aload 0
aload 4
putfield org.glassfish.jersey.client.ClientResponse$1.val$response:Ljavax/ws/rs/core/Response;
aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
aconst_null
putfield org.glassfish.jersey.client.ClientResponse$1.byteArrayInputStream:Ljava/io/ByteArrayInputStream;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/jersey/client/ClientResponse$1;
MethodParameters:
Name Flags
this$0 final
val$requestContext final
val$entity final
val$response final
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=4, args_size=1
start local 0 0: aload 0
getfield org.glassfish.jersey.client.ClientResponse$1.byteArrayInputStream:Ljava/io/ByteArrayInputStream;
ifnonnull 18
1: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 1
start local 1 2: aconst_null
astore 2
start local 2 3: aload 0
getfield org.glassfish.jersey.client.ClientResponse$1.val$requestContext:Lorg/glassfish/jersey/client/ClientRequest;
invokevirtual org.glassfish.jersey.client.ClientRequest.getWorkers:()Lorg/glassfish/jersey/message/MessageBodyWorkers;
4: aload 0
getfield org.glassfish.jersey.client.ClientResponse$1.val$entity:Ljava/lang/Object;
aload 0
getfield org.glassfish.jersey.client.ClientResponse$1.val$entity:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aconst_null
aconst_null
aload 0
getfield org.glassfish.jersey.client.ClientResponse$1.val$response:Ljavax/ws/rs/core/Response;
invokevirtual javax.ws.rs.core.Response.getMediaType:()Ljavax/ws/rs/core/MediaType;
5: aload 0
getfield org.glassfish.jersey.client.ClientResponse$1.val$response:Ljavax/ws/rs/core/Response;
invokevirtual javax.ws.rs.core.Response.getMetadata:()Ljavax/ws/rs/core/MultivaluedMap;
aload 0
getfield org.glassfish.jersey.client.ClientResponse$1.val$requestContext:Lorg/glassfish/jersey/client/ClientRequest;
invokevirtual org.glassfish.jersey.client.ClientRequest.getPropertiesDelegate:()Lorg/glassfish/jersey/internal/PropertiesDelegate;
aload 1
6: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
7: invokeinterface org.glassfish.jersey.message.MessageBodyWorkers.writeTo:(Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;Ljavax/ws/rs/core/MultivaluedMap;Lorg/glassfish/jersey/internal/PropertiesDelegate;Ljava/io/OutputStream;Ljava/lang/Iterable;)Ljava/io/OutputStream;
astore 2
8: goto 13
StackMap locals: org.glassfish.jersey.client.ClientResponse$1 java.io.ByteArrayOutputStream java.io.OutputStream
StackMap stack: java.lang.Throwable
9: astore 3
10: aload 2
ifnull 12
11: aload 2
invokevirtual java.io.OutputStream.close:()V
12: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
athrow
13: StackMap locals:
StackMap stack:
aload 2
ifnull 17
14: aload 2
invokevirtual java.io.OutputStream.close:()V
15: goto 17
StackMap locals:
StackMap stack: java.io.IOException
16: pop
17: StackMap locals:
StackMap stack:
aload 0
new java.io.ByteArrayInputStream
dup
aload 1
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
putfield org.glassfish.jersey.client.ClientResponse$1.byteArrayInputStream:Ljava/io/ByteArrayInputStream;
end local 2 end local 1 18: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.jersey.client.ClientResponse$1.byteArrayInputStream:Ljava/io/ByteArrayInputStream;
invokevirtual java.io.ByteArrayInputStream.read:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/glassfish/jersey/client/ClientResponse$1;
2 18 1 baos Ljava/io/ByteArrayOutputStream;
3 18 2 stream Ljava/io/OutputStream;
Exception table:
from to target type
3 9 9 any
3 15 16 Class java.io.IOException
Exceptions:
throws java.io.IOException
}
SourceFile: "ClientResponse.java"
EnclosingMethod: org.glassfish.jersey.client.ClientResponse.<init>:(Lorg/glassfish/jersey/client/ClientRequest;Ljavax/ws/rs/core/Response;)V
NestHost: org.glassfish.jersey.client.ClientResponse
InnerClasses:
org.glassfish.jersey.client.ClientResponse$1