public class org.springframework.web.client.RestClientResponseException extends org.springframework.web.client.RestClientException
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.web.client.RestClientResponseException
super_class: org.springframework.web.client.RestClientException
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -8803556342728481792
private static final java.nio.charset.Charset DEFAULT_CHARSET;
descriptor: Ljava/nio/charset/Charset;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final int rawStatusCode;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String statusText;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] responseBody;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.http.HttpHeaders ;
descriptor: Lorg/springframework/http/HttpHeaders;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private final java.lang.String responseCharset;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic java.nio.charset.StandardCharsets.ISO_8859_1:Ljava/nio/charset/Charset;
putstatic org.springframework.web.client.RestClientResponseException.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
return
LocalVariableTable:
Start End Slot Name Signature
public void (java.lang.String, int, java.lang.String, org.springframework.http.HttpHeaders, byte[], java.nio.charset.Charset);
descriptor: (Ljava/lang/String;ILjava/lang/String;Lorg/springframework/http/HttpHeaders;[BLjava/nio/charset/Charset;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, 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
aload 1
invokespecial org.springframework.web.client.RestClientException.<init>:(Ljava/lang/String;)V
1: aload 0
iload 2
putfield org.springframework.web.client.RestClientResponseException.rawStatusCode:I
2: aload 0
aload 3
putfield org.springframework.web.client.RestClientResponseException.statusText:Ljava/lang/String;
3: aload 0
aload 4
putfield org.springframework.web.client.RestClientResponseException.responseHeaders:Lorg/springframework/http/HttpHeaders;
4: aload 0
aload 5
ifnull 5
aload 5
goto 6
StackMap locals: org.springframework.web.client.RestClientResponseException java.lang.String int java.lang.String org.springframework.http.HttpHeaders byte[] java.nio.charset.Charset
StackMap stack: org.springframework.web.client.RestClientResponseException
5: iconst_0
newarray 8
StackMap locals: org.springframework.web.client.RestClientResponseException java.lang.String int java.lang.String org.springframework.http.HttpHeaders byte[] java.nio.charset.Charset
StackMap stack: org.springframework.web.client.RestClientResponseException byte[]
6: putfield org.springframework.web.client.RestClientResponseException.responseBody:[B
7: aload 0
aload 6
ifnull 8
aload 6
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
goto 9
StackMap locals:
StackMap stack: org.springframework.web.client.RestClientResponseException
8: aconst_null
StackMap locals: org.springframework.web.client.RestClientResponseException java.lang.String int java.lang.String org.springframework.http.HttpHeaders byte[] java.nio.charset.Charset
StackMap stack: org.springframework.web.client.RestClientResponseException java.lang.String
9: putfield org.springframework.web.client.RestClientResponseException.responseCharset:Ljava/lang/String;
10: 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 11 0 this Lorg/springframework/web/client/RestClientResponseException;
0 11 1 message Ljava/lang/String;
0 11 2 statusCode I
0 11 3 statusText Ljava/lang/String;
0 11 4 responseHeaders Lorg/springframework/http/HttpHeaders;
0 11 5 responseBody [B
0 11 6 responseCharset Ljava/nio/charset/Charset;
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
org.springframework.lang.Nullable()
4:
org.springframework.lang.Nullable()
5:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
message
statusCode
statusText
responseHeaders
responseBody
responseCharset
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.RestClientResponseException.rawStatusCode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/client/RestClientResponseException;
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.RestClientResponseException.statusText:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/client/RestClientResponseException;
public org.springframework.http.HttpHeaders ();
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.RestClientResponseException.responseHeaders:Lorg/springframework/http/HttpHeaders;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/client/RestClientResponseException;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public byte[] getResponseBodyAsByteArray();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.client.RestClientResponseException.responseBody:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/client/RestClientResponseException;
public java.lang.String getResponseBodyAsString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.client.RestClientResponseException.responseCharset:Ljava/lang/String;
ifnonnull 2
1: new java.lang.String
dup
aload 0
getfield org.springframework.web.client.RestClientResponseException.responseBody:[B
getstatic org.springframework.web.client.RestClientResponseException.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
areturn
2: StackMap locals:
StackMap stack:
new java.lang.String
dup
aload 0
getfield org.springframework.web.client.RestClientResponseException.responseBody:[B
aload 0
getfield org.springframework.web.client.RestClientResponseException.responseCharset:Ljava/lang/String;
invokespecial java.lang.String.<init>:([BLjava/lang/String;)V
3: areturn
4: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
astore 1
start local 1 5: new java.lang.IllegalStateException
dup
aload 1
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/web/client/RestClientResponseException;
5 6 1 ex Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
2 3 4 Class java.io.UnsupportedEncodingException
}
SourceFile: "RestClientResponseException.java"