class <T> implements org.springframework.web.client.ResponseExtractor<org.springframework.http.ResponseEntity<T>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor
super_class: java.lang.Object
{
private final org.springframework.web.client.HttpMessageConverterExtractor<T> ;
descriptor: Lorg/springframework/web/client/HttpMessageConverterExtractor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/springframework/web/client/HttpMessageConverterExtractor<TT;>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
final org.springframework.web.client.RestTemplate ;
descriptor: Lorg/springframework/web/client/RestTemplate;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void (org.springframework.web.client.RestTemplate, java.lang.reflect.Type);
descriptor: (Lorg/springframework/web/client/RestTemplate;Ljava/lang/reflect/Type;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.this$0:Lorg/springframework/web/client/RestTemplate;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 2
ifnull 4
ldc Ljava/lang/Void;
aload 2
if_acmpeq 4
2: aload 0
new org.springframework.web.client.HttpMessageConverterExtractor
dup
aload 2
aload 1
invokevirtual org.springframework.web.client.RestTemplate.getMessageConverters:()Ljava/util/List;
aload 1
invokestatic org.springframework.web.client.RestTemplate.access$0:(Lorg/springframework/web/client/RestTemplate;)Lorg/apache/commons/logging/Log;
invokespecial org.springframework.web.client.HttpMessageConverterExtractor.<init>:(Ljava/lang/reflect/Type;Ljava/util/List;Lorg/apache/commons/logging/Log;)V
putfield org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.delegate:Lorg/springframework/web/client/HttpMessageConverterExtractor;
3: goto 5
4: StackMap locals: org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor org.springframework.web.client.RestTemplate java.lang.reflect.Type
StackMap stack:
aload 0
aconst_null
putfield org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.delegate:Lorg/springframework/web/client/HttpMessageConverterExtractor;
5: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/web/client/RestTemplate$ResponseEntityResponseExtractor<TT;>;
0 6 2 responseType Ljava/lang/reflect/Type;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
MethodParameters:
Name Flags
this$0 final
responseType
public org.springframework.http.ResponseEntity<T> extractData(org.springframework.http.client.ClientHttpResponse);
descriptor: (Lorg/springframework/http/client/ClientHttpResponse;)Lorg/springframework/http/ResponseEntity;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.delegate:Lorg/springframework/web/client/HttpMessageConverterExtractor;
ifnull 3
1: aload 0
getfield org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.delegate:Lorg/springframework/web/client/HttpMessageConverterExtractor;
aload 1
invokevirtual org.springframework.web.client.HttpMessageConverterExtractor.extractData:(Lorg/springframework/http/client/ClientHttpResponse;)Ljava/lang/Object;
astore 2
start local 2 2: aload 1
invokeinterface org.springframework.http.client.ClientHttpResponse.getRawStatusCode:()I
invokestatic org.springframework.http.ResponseEntity.status:(I)Lorg/springframework/http/ResponseEntity$BodyBuilder;
aload 1
invokeinterface org.springframework.http.client.ClientHttpResponse.getHeaders:()Lorg/springframework/http/HttpHeaders;
invokeinterface org.springframework.http.ResponseEntity$BodyBuilder.headers:(Lorg/springframework/http/HttpHeaders;)Lorg/springframework/http/ResponseEntity$HeadersBuilder;
checkcast org.springframework.http.ResponseEntity$BodyBuilder
aload 2
invokeinterface org.springframework.http.ResponseEntity$BodyBuilder.body:(Ljava/lang/Object;)Lorg/springframework/http/ResponseEntity;
areturn
end local 2 3: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.springframework.http.client.ClientHttpResponse.getRawStatusCode:()I
invokestatic org.springframework.http.ResponseEntity.status:(I)Lorg/springframework/http/ResponseEntity$BodyBuilder;
aload 1
invokeinterface org.springframework.http.client.ClientHttpResponse.getHeaders:()Lorg/springframework/http/HttpHeaders;
invokeinterface org.springframework.http.ResponseEntity$BodyBuilder.headers:(Lorg/springframework/http/HttpHeaders;)Lorg/springframework/http/ResponseEntity$HeadersBuilder;
checkcast org.springframework.http.ResponseEntity$BodyBuilder
invokeinterface org.springframework.http.ResponseEntity$BodyBuilder.build:()Lorg/springframework/http/ResponseEntity;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/web/client/RestTemplate$ResponseEntityResponseExtractor<TT;>;
0 4 1 response Lorg/springframework/http/client/ClientHttpResponse;
2 3 2 body TT;
Exceptions:
throws java.io.IOException
Signature: (Lorg/springframework/http/client/ClientHttpResponse;)Lorg/springframework/http/ResponseEntity<TT;>;
MethodParameters:
Name Flags
response
public java.lang.Object (org.springframework.http.client.ClientHttpResponse);
descriptor: (Lorg/springframework/http/client/ClientHttpResponse;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.extractData:(Lorg/springframework/http/client/ClientHttpResponse;)Lorg/springframework/http/ResponseEntity;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lorg/springframework/web/client/ResponseExtractor<Lorg/springframework/http/ResponseEntity<TT;>;>;
SourceFile: "RestTemplate.java"
NestHost: org.springframework.web.client.RestTemplate
InnerClasses:
public abstract BodyBuilder = org.springframework.http.ResponseEntity$BodyBuilder of org.springframework.http.ResponseEntity
public abstract HeadersBuilder = org.springframework.http.ResponseEntity$HeadersBuilder of org.springframework.http.ResponseEntity
private ResponseEntityResponseExtractor = org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor of org.springframework.web.client.RestTemplate