public class org.springframework.web.client.ExtractingResponseErrorHandler extends org.springframework.web.client.DefaultResponseErrorHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.web.client.ExtractingResponseErrorHandler
super_class: org.springframework.web.client.DefaultResponseErrorHandler
{
private java.util.List<org.springframework.http.converter.HttpMessageConverter<?>> messageConverters;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/springframework/http/converter/HttpMessageConverter<*>;>;
private final java.util.Map<org.springframework.http.HttpStatus, java.lang.Class<? extends org.springframework.web.client.RestClientException>> statusMapping;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lorg/springframework/http/HttpStatus;Ljava/lang/Class<+Lorg/springframework/web/client/RestClientException;>;>;
private final java.util.Map<org.springframework.http.HttpStatus$Series, java.lang.Class<? extends org.springframework.web.client.RestClientException>> seriesMapping;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lorg/springframework/http/HttpStatus$Series;Ljava/lang/Class<+Lorg/springframework/web/client/RestClientException;>;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.web.client.DefaultResponseErrorHandler.<init>:()V
1: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield org.springframework.web.client.ExtractingResponseErrorHandler.messageConverters:Ljava/util/List;
2: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.springframework.web.client.ExtractingResponseErrorHandler.statusMapping:Ljava/util/Map;
3: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.springframework.web.client.ExtractingResponseErrorHandler.seriesMapping:Ljava/util/Map;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/web/client/ExtractingResponseErrorHandler;
public void <init>(java.util.List<org.springframework.http.converter.HttpMessageConverter<?>>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.springframework.web.client.DefaultResponseErrorHandler.<init>:()V
1: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield org.springframework.web.client.ExtractingResponseErrorHandler.messageConverters:Ljava/util/List;
2: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.springframework.web.client.ExtractingResponseErrorHandler.statusMapping:Ljava/util/Map;
3: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.springframework.web.client.ExtractingResponseErrorHandler.seriesMapping:Ljava/util/Map;
4: aload 0
aload 1
putfield org.springframework.web.client.ExtractingResponseErrorHandler.messageConverters:Ljava/util/List;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/web/client/ExtractingResponseErrorHandler;
0 6 1 messageConverters Ljava/util/List<Lorg/springframework/http/converter/HttpMessageConverter<*>;>;
Signature: (Ljava/util/List<Lorg/springframework/http/converter/HttpMessageConverter<*>;>;)V
MethodParameters:
Name Flags
messageConverters
public void setMessageConverters(java.util.List<org.springframework.http.converter.HttpMessageConverter<?>>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.web.client.ExtractingResponseErrorHandler.messageConverters:Ljava/util/List;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/client/ExtractingResponseErrorHandler;
0 2 1 messageConverters Ljava/util/List<Lorg/springframework/http/converter/HttpMessageConverter<*>;>;
Signature: (Ljava/util/List<Lorg/springframework/http/converter/HttpMessageConverter<*>;>;)V
MethodParameters:
Name Flags
messageConverters
public void setStatusMapping(java.util.Map<org.springframework.http.HttpStatus, java.lang.Class<? extends org.springframework.web.client.RestClientException>>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.util.CollectionUtils.isEmpty:(Ljava/util/Map;)Z
ifne 2
1: aload 0
getfield org.springframework.web.client.ExtractingResponseErrorHandler.statusMapping:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/client/ExtractingResponseErrorHandler;
0 3 1 statusMapping Ljava/util/Map<Lorg/springframework/http/HttpStatus;Ljava/lang/Class<+Lorg/springframework/web/client/RestClientException;>;>;
Signature: (Ljava/util/Map<Lorg/springframework/http/HttpStatus;Ljava/lang/Class<+Lorg/springframework/web/client/RestClientException;>;>;)V
MethodParameters:
Name Flags
statusMapping
public void setSeriesMapping(java.util.Map<org.springframework.http.HttpStatus$Series, java.lang.Class<? extends org.springframework.web.client.RestClientException>>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.util.CollectionUtils.isEmpty:(Ljava/util/Map;)Z
ifne 2
1: aload 0
getfield org.springframework.web.client.ExtractingResponseErrorHandler.seriesMapping:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/client/ExtractingResponseErrorHandler;
0 3 1 seriesMapping Ljava/util/Map<Lorg/springframework/http/HttpStatus$Series;Ljava/lang/Class<+Lorg/springframework/web/client/RestClientException;>;>;
Signature: (Ljava/util/Map<Lorg/springframework/http/HttpStatus$Series;Ljava/lang/Class<+Lorg/springframework/web/client/RestClientException;>;>;)V
MethodParameters:
Name Flags
seriesMapping
protected boolean hasError(org.springframework.http.HttpStatus);
descriptor: (Lorg/springframework/http/HttpStatus;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.web.client.ExtractingResponseErrorHandler.statusMapping:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 3
1: aload 0
getfield org.springframework.web.client.ExtractingResponseErrorHandler.statusMapping:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.web.client.ExtractingResponseErrorHandler.seriesMapping:Ljava/util/Map;
aload 1
invokevirtual org.springframework.http.HttpStatus.series:()Lorg/springframework/http/HttpStatus$Series;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 6
4: aload 0
getfield org.springframework.web.client.ExtractingResponseErrorHandler.seriesMapping:Ljava/util/Map;
aload 1
invokevirtual org.springframework.http.HttpStatus.series:()Lorg/springframework/http/HttpStatus$Series;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 5
iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial org.springframework.web.client.DefaultResponseErrorHandler.hasError:(Lorg/springframework/http/HttpStatus;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/web/client/ExtractingResponseErrorHandler;
0 7 1 statusCode Lorg/springframework/http/HttpStatus;
MethodParameters:
Name Flags
statusCode
public void handleError(org.springframework.http.client.ClientHttpResponse, org.springframework.http.HttpStatus);
descriptor: (Lorg/springframework/http/client/ClientHttpResponse;Lorg/springframework/http/HttpStatus;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.web.client.ExtractingResponseErrorHandler.statusMapping:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 3
1: aload 0
aload 0
getfield org.springframework.web.client.ExtractingResponseErrorHandler.statusMapping:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
aload 1
invokevirtual org.springframework.web.client.ExtractingResponseErrorHandler.extract:(Ljava/lang/Class;Lorg/springframework/http/client/ClientHttpResponse;)V
2: goto 7
3: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.web.client.ExtractingResponseErrorHandler.seriesMapping:Ljava/util/Map;
aload 2
invokevirtual org.springframework.http.HttpStatus.series:()Lorg/springframework/http/HttpStatus$Series;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 6
4: aload 0
aload 0
getfield org.springframework.web.client.ExtractingResponseErrorHandler.seriesMapping:Ljava/util/Map;
aload 2
invokevirtual org.springframework.http.HttpStatus.series:()Lorg/springframework/http/HttpStatus$Series;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
aload 1
invokevirtual org.springframework.web.client.ExtractingResponseErrorHandler.extract:(Ljava/lang/Class;Lorg/springframework/http/client/ClientHttpResponse;)V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial org.springframework.web.client.DefaultResponseErrorHandler.handleError:(Lorg/springframework/http/client/ClientHttpResponse;Lorg/springframework/http/HttpStatus;)V
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/web/client/ExtractingResponseErrorHandler;
0 8 1 response Lorg/springframework/http/client/ClientHttpResponse;
0 8 2 statusCode Lorg/springframework/http/HttpStatus;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
response
statusCode
private void extract(java.lang.Class<? extends org.springframework.web.client.RestClientException>, org.springframework.http.client.ClientHttpResponse);
descriptor: (Ljava/lang/Class;Lorg/springframework/http/client/ClientHttpResponse;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
new org.springframework.web.client.HttpMessageConverterExtractor
dup
aload 1
aload 0
getfield org.springframework.web.client.ExtractingResponseErrorHandler.messageConverters:Ljava/util/List;
invokespecial org.springframework.web.client.HttpMessageConverterExtractor.<init>:(Ljava/lang/Class;Ljava/util/List;)V
3: astore 3
start local 3 4: aload 3
aload 2
invokevirtual org.springframework.web.client.HttpMessageConverterExtractor.extractData:(Lorg/springframework/http/client/ClientHttpResponse;)Ljava/lang/Object;
checkcast org.springframework.web.client.RestClientException
astore 4
start local 4 5: aload 4
ifnull 7
6: aload 4
athrow
7: StackMap locals: org.springframework.web.client.HttpMessageConverterExtractor org.springframework.web.client.RestClientException
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/web/client/ExtractingResponseErrorHandler;
0 8 1 exceptionClass Ljava/lang/Class<+Lorg/springframework/web/client/RestClientException;>;
0 8 2 response Lorg/springframework/http/client/ClientHttpResponse;
4 8 3 extractor Lorg/springframework/web/client/HttpMessageConverterExtractor<+Lorg/springframework/web/client/RestClientException;>;
5 8 4 exception Lorg/springframework/web/client/RestClientException;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/Class<+Lorg/springframework/web/client/RestClientException;>;Lorg/springframework/http/client/ClientHttpResponse;)V
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
MethodParameters:
Name Flags
exceptionClass
response
}
SourceFile: "ExtractingResponseErrorHandler.java"
InnerClasses:
public final Series = org.springframework.http.HttpStatus$Series of org.springframework.http.HttpStatus