class org.springframework.web.client.MessageBodyClientHttpResponseWrapper implements org.springframework.http.client.ClientHttpResponse
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.web.client.MessageBodyClientHttpResponseWrapper
super_class: java.lang.Object
{
private final org.springframework.http.client.ClientHttpResponse response;
descriptor: Lorg/springframework/http/client/ClientHttpResponse;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.io.PushbackInputStream pushbackInputStream;
descriptor: Ljava/io/PushbackInputStream;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>(org.springframework.http.client.ClientHttpResponse);
descriptor: (Lorg/springframework/http/client/ClientHttpResponse;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.springframework.web.client.MessageBodyClientHttpResponseWrapper.response:Lorg/springframework/http/client/ClientHttpResponse;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/client/MessageBodyClientHttpResponseWrapper;
0 3 1 response Lorg/springframework/http/client/ClientHttpResponse;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
response
public boolean hasMessageBody();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.web.client.MessageBodyClientHttpResponseWrapper.getRawStatusCode:()I
invokestatic org.springframework.http.HttpStatus.resolve:(I)Lorg/springframework/http/HttpStatus;
astore 1
start local 1 1: aload 1
ifnull 4
aload 1
invokevirtual org.springframework.http.HttpStatus.is1xxInformational:()Z
ifne 3
aload 1
getstatic org.springframework.http.HttpStatus.NO_CONTENT:Lorg/springframework/http/HttpStatus;
if_acmpeq 3
2: aload 1
getstatic org.springframework.http.HttpStatus.NOT_MODIFIED:Lorg/springframework/http/HttpStatus;
if_acmpne 4
3: StackMap locals: org.springframework.http.HttpStatus
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.springframework.web.client.MessageBodyClientHttpResponseWrapper.getHeaders:()Lorg/springframework/http/HttpHeaders;
invokevirtual org.springframework.http.HttpHeaders.getContentLength:()J
lconst_0
lcmp
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/web/client/MessageBodyClientHttpResponseWrapper;
1 7 1 status Lorg/springframework/http/HttpStatus;
Exceptions:
throws java.io.IOException
public boolean hasEmptyMessageBody();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.client.MessageBodyClientHttpResponseWrapper.response:Lorg/springframework/http/client/ClientHttpResponse;
invokeinterface org.springframework.http.client.ClientHttpResponse.getBody:()Ljava/io/InputStream;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: iconst_1
ireturn
3: StackMap locals: java.io.InputStream
StackMap stack:
aload 1
invokevirtual java.io.InputStream.markSupported:()Z
ifeq 9
4: aload 1
iconst_1
invokevirtual java.io.InputStream.mark:(I)V
5: aload 1
invokevirtual java.io.InputStream.read:()I
iconst_m1
if_icmpne 7
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.InputStream.reset:()V
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 0
new java.io.PushbackInputStream
dup
aload 1
invokespecial java.io.PushbackInputStream.<init>:(Ljava/io/InputStream;)V
putfield org.springframework.web.client.MessageBodyClientHttpResponseWrapper.pushbackInputStream:Ljava/io/PushbackInputStream;
10: aload 0
getfield org.springframework.web.client.MessageBodyClientHttpResponseWrapper.pushbackInputStream:Ljava/io/PushbackInputStream;
invokevirtual java.io.PushbackInputStream.read:()I
istore 2
start local 2 11: iload 2
iconst_m1
if_icmpne 13
12: iconst_1
ireturn
13: StackMap locals: int
StackMap stack:
aload 0
getfield org.springframework.web.client.MessageBodyClientHttpResponseWrapper.pushbackInputStream:Ljava/io/PushbackInputStream;
iload 2
invokevirtual java.io.PushbackInputStream.unread:(I)V
14: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/springframework/web/client/MessageBodyClientHttpResponseWrapper;
1 15 1 body Ljava/io/InputStream;
11 15 2 b I
Exceptions:
throws java.io.IOException
public org.springframework.http.HttpHeaders getHeaders();
descriptor: ()Lorg/springframework/http/HttpHeaders;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.client.MessageBodyClientHttpResponseWrapper.response:Lorg/springframework/http/client/ClientHttpResponse;
invokeinterface org.springframework.http.client.ClientHttpResponse.getHeaders:()Lorg/springframework/http/HttpHeaders;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/client/MessageBodyClientHttpResponseWrapper;
public java.io.InputStream getBody();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.client.MessageBodyClientHttpResponseWrapper.pushbackInputStream:Ljava/io/PushbackInputStream;
ifnull 1
aload 0
getfield org.springframework.web.client.MessageBodyClientHttpResponseWrapper.pushbackInputStream:Ljava/io/PushbackInputStream;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.springframework.web.client.MessageBodyClientHttpResponseWrapper.response:Lorg/springframework/http/client/ClientHttpResponse;
invokeinterface org.springframework.http.client.ClientHttpResponse.getBody:()Ljava/io/InputStream;
StackMap locals:
StackMap stack: java.io.InputStream
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/client/MessageBodyClientHttpResponseWrapper;
Exceptions:
throws java.io.IOException
public org.springframework.http.HttpStatus getStatusCode();
descriptor: ()Lorg/springframework/http/HttpStatus;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.client.MessageBodyClientHttpResponseWrapper.response:Lorg/springframework/http/client/ClientHttpResponse;
invokeinterface org.springframework.http.client.ClientHttpResponse.getStatusCode:()Lorg/springframework/http/HttpStatus;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/client/MessageBodyClientHttpResponseWrapper;
Exceptions:
throws java.io.IOException
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.web.client.MessageBodyClientHttpResponseWrapper.response:Lorg/springframework/http/client/ClientHttpResponse;
invokeinterface org.springframework.http.client.ClientHttpResponse.getRawStatusCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/client/MessageBodyClientHttpResponseWrapper;
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.web.client.MessageBodyClientHttpResponseWrapper.response:Lorg/springframework/http/client/ClientHttpResponse;
invokeinterface org.springframework.http.client.ClientHttpResponse.getStatusText:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/client/MessageBodyClientHttpResponseWrapper;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.client.MessageBodyClientHttpResponseWrapper.response:Lorg/springframework/http/client/ClientHttpResponse;
invokeinterface org.springframework.http.client.ClientHttpResponse.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/client/MessageBodyClientHttpResponseWrapper;
}
SourceFile: "MessageBodyClientHttpResponseWrapper.java"