final class org.springframework.http.client.HttpComponentsClientHttpResponse extends org.springframework.http.client.AbstractClientHttpResponse
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.springframework.http.client.HttpComponentsClientHttpResponse
super_class: org.springframework.http.client.AbstractClientHttpResponse
{
private final org.apache.http.HttpResponse httpResponse;
descriptor: Lorg/apache/http/HttpResponse;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.springframework.http.HttpHeaders ;
descriptor: Lorg/springframework/http/HttpHeaders;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
void <init>(org.apache.http.HttpResponse);
descriptor: (Lorg/apache/http/HttpResponse;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.springframework.http.client.AbstractClientHttpResponse.<init>:()V
1: aload 0
aload 1
putfield org.springframework.http.client.HttpComponentsClientHttpResponse.httpResponse:Lorg/apache/http/HttpResponse;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/client/HttpComponentsClientHttpResponse;
0 3 1 httpResponse Lorg/apache/http/HttpResponse;
MethodParameters:
Name Flags
httpResponse
public int getRawStatusCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpResponse.httpResponse:Lorg/apache/http/HttpResponse;
invokeinterface org.apache.http.HttpResponse.getStatusLine:()Lorg/apache/http/StatusLine;
invokeinterface org.apache.http.StatusLine.getStatusCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/client/HttpComponentsClientHttpResponse;
Exceptions:
throws java.io.IOException
public java.lang.String getStatusText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpResponse.httpResponse:Lorg/apache/http/HttpResponse;
invokeinterface org.apache.http.HttpResponse.getStatusLine:()Lorg/apache/http/StatusLine;
invokeinterface org.apache.http.StatusLine.getReasonPhrase:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/client/HttpComponentsClientHttpResponse;
Exceptions:
throws java.io.IOException
public org.springframework.http.HttpHeaders ();
descriptor: ()Lorg/springframework/http/HttpHeaders;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpResponse.headers:Lorg/springframework/http/HttpHeaders;
ifnonnull 7
1: aload 0
new org.springframework.http.HttpHeaders
dup
invokespecial org.springframework.http.HttpHeaders.<init>:()V
putfield org.springframework.http.client.HttpComponentsClientHttpResponse.headers:Lorg/springframework/http/HttpHeaders;
2: aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpResponse.httpResponse:Lorg/apache/http/HttpResponse;
invokeinterface org.apache.http.HttpResponse.getAllHeaders:()[Lorg/apache/http/Header;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 6
StackMap locals: org.springframework.http.client.HttpComponentsClientHttpResponse top int int org.apache.http.Header[]
StackMap stack:
3: aload 4
iload 2
aaload
astore 1
start local 1 4: aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpResponse.headers:Lorg/springframework/http/HttpHeaders;
aload 1
invokeinterface org.apache.http.Header.getName:()Ljava/lang/String;
aload 1
invokeinterface org.apache.http.Header.getValue:()Ljava/lang/String;
invokevirtual org.springframework.http.HttpHeaders.add:(Ljava/lang/String;Ljava/lang/String;)V
end local 1 5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 3
if_icmplt 3
7: StackMap locals: org.springframework.http.client.HttpComponentsClientHttpResponse
StackMap stack:
aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpResponse.headers:Lorg/springframework/http/HttpHeaders;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/http/client/HttpComponentsClientHttpResponse;
4 5 1 header Lorg/apache/http/Header;
public java.io.InputStream getBody();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpResponse.httpResponse:Lorg/apache/http/HttpResponse;
invokeinterface org.apache.http.HttpResponse.getEntity:()Lorg/apache/http/HttpEntity;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokeinterface org.apache.http.HttpEntity.getContent:()Ljava/io/InputStream;
goto 3
StackMap locals: org.apache.http.HttpEntity
StackMap stack:
2: invokestatic org.springframework.util.StreamUtils.emptyInput:()Ljava/io/InputStream;
StackMap locals:
StackMap stack: java.io.InputStream
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/http/client/HttpComponentsClientHttpResponse;
1 4 1 entity Lorg/apache/http/HttpEntity;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpResponse.httpResponse:Lorg/apache/http/HttpResponse;
invokeinterface org.apache.http.HttpResponse.getEntity:()Lorg/apache/http/HttpEntity;
invokestatic org.apache.http.util.EntityUtils.consume:(Lorg/apache/http/HttpEntity;)V
1: goto 6
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
3: aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpResponse.httpResponse:Lorg/apache/http/HttpResponse;
instanceof java.io.Closeable
ifeq 5
4: aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpResponse.httpResponse:Lorg/apache/http/HttpResponse;
checkcast java.io.Closeable
invokeinterface java.io.Closeable.close:()V
5: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpResponse.httpResponse:Lorg/apache/http/HttpResponse;
instanceof java.io.Closeable
ifeq 10
7: aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpResponse.httpResponse:Lorg/apache/http/HttpResponse;
checkcast java.io.Closeable
invokeinterface java.io.Closeable.close:()V
8: goto 10
9: StackMap locals:
StackMap stack: java.io.IOException
pop
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/http/client/HttpComponentsClientHttpResponse;
Exception table:
from to target type
0 2 2 any
0 8 9 Class java.io.IOException
}
SourceFile: "HttpComponentsClientHttpResponse.java"