class org.springframework.web.client.RestTemplate$HttpEntityRequestCallback extends org.springframework.web.client.RestTemplate$AcceptHeaderRequestCallback
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.web.client.RestTemplate$HttpEntityRequestCallback
super_class: org.springframework.web.client.RestTemplate$AcceptHeaderRequestCallback
{
private final org.springframework.http.HttpEntity<?> requestEntity;
descriptor: Lorg/springframework/http/HttpEntity;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/springframework/http/HttpEntity<*>;
final org.springframework.web.client.RestTemplate this$0;
descriptor: Lorg/springframework/web/client/RestTemplate;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.springframework.web.client.RestTemplate, java.lang.Object);
descriptor: (Lorg/springframework/web/client/RestTemplate;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokespecial org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.<init>:(Lorg/springframework/web/client/RestTemplate;Ljava/lang/Object;Ljava/lang/reflect/Type;)V
1: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/web/client/RestTemplate$HttpEntityRequestCallback;
0 2 2 requestBody Ljava/lang/Object;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
MethodParameters:
Name Flags
this$0 final
requestBody
public void <init>(org.springframework.web.client.RestTemplate, java.lang.Object, java.lang.reflect.Type);
descriptor: (Lorg/springframework/web/client/RestTemplate;Ljava/lang/Object;Ljava/lang/reflect/Type;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.this$0:Lorg/springframework/web/client/RestTemplate;
1: aload 0
aload 1
aload 3
invokespecial org.springframework.web.client.RestTemplate$AcceptHeaderRequestCallback.<init>:(Lorg/springframework/web/client/RestTemplate;Ljava/lang/reflect/Type;)V
2: aload 2
instanceof org.springframework.http.HttpEntity
ifeq 5
3: aload 0
aload 2
checkcast org.springframework.http.HttpEntity
putfield org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.requestEntity:Lorg/springframework/http/HttpEntity;
4: goto 9
5: StackMap locals: org.springframework.web.client.RestTemplate$HttpEntityRequestCallback org.springframework.web.client.RestTemplate java.lang.Object java.lang.reflect.Type
StackMap stack:
aload 2
ifnull 8
6: aload 0
new org.springframework.http.HttpEntity
dup
aload 2
invokespecial org.springframework.http.HttpEntity.<init>:(Ljava/lang/Object;)V
putfield org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.requestEntity:Lorg/springframework/http/HttpEntity;
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
getstatic org.springframework.http.HttpEntity.EMPTY:Lorg/springframework/http/HttpEntity;
putfield org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.requestEntity:Lorg/springframework/http/HttpEntity;
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/web/client/RestTemplate$HttpEntityRequestCallback;
0 10 2 requestBody Ljava/lang/Object;
0 10 3 responseType Ljava/lang/reflect/Type;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
org.springframework.lang.Nullable()
2:
MethodParameters:
Name Flags
this$0 final
requestBody
responseType
public void doWithRequest(org.springframework.http.client.ClientHttpRequest);
descriptor: (Lorg/springframework/http/client/ClientHttpRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.springframework.web.client.RestTemplate$AcceptHeaderRequestCallback.doWithRequest:(Lorg/springframework/http/client/ClientHttpRequest;)V
1: aload 0
getfield org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.requestEntity:Lorg/springframework/http/HttpEntity;
invokevirtual org.springframework.http.HttpEntity.getBody:()Ljava/lang/Object;
astore 2
start local 2 2: aload 2
ifnonnull 10
3: aload 1
invokeinterface org.springframework.http.client.ClientHttpRequest.getHeaders:()Lorg/springframework/http/HttpHeaders;
astore 3
start local 3 4: aload 0
getfield org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.requestEntity:Lorg/springframework/http/HttpEntity;
invokevirtual org.springframework.http.HttpEntity.getHeaders:()Lorg/springframework/http/HttpHeaders;
astore 4
start local 4 5: aload 4
invokevirtual org.springframework.http.HttpHeaders.isEmpty:()Z
ifne 7
6: aload 4
aload 3
invokedynamic accept(Lorg/springframework/http/HttpHeaders;)Ljava/util/function/BiConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)V
org/springframework/web/client/RestTemplate$HttpEntityRequestCallback.lambda$0(Lorg/springframework/http/HttpHeaders;Ljava/lang/String;Ljava/util/List;)V (6)
(Ljava/lang/String;Ljava/util/List;)V
invokevirtual org.springframework.http.HttpHeaders.forEach:(Ljava/util/function/BiConsumer;)V
7: StackMap locals: java.lang.Object org.springframework.http.HttpHeaders org.springframework.http.HttpHeaders
StackMap stack:
aload 3
invokevirtual org.springframework.http.HttpHeaders.getContentLength:()J
lconst_0
lcmp
ifge 42
8: aload 3
lconst_0
invokevirtual org.springframework.http.HttpHeaders.setContentLength:(J)V
end local 4 end local 3 9: goto 42
10: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 3
start local 3 11: aload 0
getfield org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.requestEntity:Lorg/springframework/http/HttpEntity;
instanceof org.springframework.http.RequestEntity
ifeq 13
12: aload 0
getfield org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.requestEntity:Lorg/springframework/http/HttpEntity;
checkcast org.springframework.http.RequestEntity
invokevirtual org.springframework.http.RequestEntity.getType:()Ljava/lang/reflect/Type;
goto 14
StackMap locals: java.lang.Class
StackMap stack:
13: aload 3
14: StackMap locals:
StackMap stack: java.lang.reflect.Type
astore 4
start local 4 15: aload 1
invokeinterface org.springframework.http.client.ClientHttpRequest.getHeaders:()Lorg/springframework/http/HttpHeaders;
astore 5
start local 5 16: aload 0
getfield org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.requestEntity:Lorg/springframework/http/HttpEntity;
invokevirtual org.springframework.http.HttpEntity.getHeaders:()Lorg/springframework/http/HttpHeaders;
astore 6
start local 6 17: aload 6
invokevirtual org.springframework.http.HttpHeaders.getContentType:()Lorg/springframework/http/MediaType;
astore 7
start local 7 18: aload 0
getfield org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.this$0:Lorg/springframework/web/client/RestTemplate;
invokevirtual org.springframework.web.client.RestTemplate.getMessageConverters:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 37
StackMap locals: org.springframework.web.client.RestTemplate$HttpEntityRequestCallback org.springframework.http.client.ClientHttpRequest java.lang.Object java.lang.Class java.lang.reflect.Type org.springframework.http.HttpHeaders org.springframework.http.HttpHeaders org.springframework.http.MediaType top java.util.Iterator
StackMap stack:
19: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.http.converter.HttpMessageConverter
astore 8
start local 8 20: aload 8
instanceof org.springframework.http.converter.GenericHttpMessageConverter
ifeq 29
21: aload 8
checkcast org.springframework.http.converter.GenericHttpMessageConverter
22: astore 10
start local 10 23: aload 10
aload 4
aload 3
aload 7
invokeinterface org.springframework.http.converter.GenericHttpMessageConverter.canWrite:(Ljava/lang/reflect/Type;Ljava/lang/Class;Lorg/springframework/http/MediaType;)Z
ifeq 37
24: aload 6
invokevirtual org.springframework.http.HttpHeaders.isEmpty:()Z
ifne 26
25: aload 6
aload 5
invokedynamic accept(Lorg/springframework/http/HttpHeaders;)Ljava/util/function/BiConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)V
org/springframework/web/client/RestTemplate$HttpEntityRequestCallback.lambda$1(Lorg/springframework/http/HttpHeaders;Ljava/lang/String;Ljava/util/List;)V (6)
(Ljava/lang/String;Ljava/util/List;)V
invokevirtual org.springframework.http.HttpHeaders.forEach:(Ljava/util/function/BiConsumer;)V
26: StackMap locals: org.springframework.web.client.RestTemplate$HttpEntityRequestCallback org.springframework.http.client.ClientHttpRequest java.lang.Object java.lang.Class java.lang.reflect.Type org.springframework.http.HttpHeaders org.springframework.http.HttpHeaders org.springframework.http.MediaType org.springframework.http.converter.HttpMessageConverter java.util.Iterator org.springframework.http.converter.GenericHttpMessageConverter
StackMap stack:
aload 0
aload 2
aload 7
aload 10
invokevirtual org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.logBody:(Ljava/lang/Object;Lorg/springframework/http/MediaType;Lorg/springframework/http/converter/HttpMessageConverter;)V
27: aload 10
aload 2
aload 4
aload 7
aload 1
invokeinterface org.springframework.http.converter.GenericHttpMessageConverter.write:(Ljava/lang/Object;Ljava/lang/reflect/Type;Lorg/springframework/http/MediaType;Lorg/springframework/http/HttpOutputMessage;)V
28: return
end local 10 29: StackMap locals:
StackMap stack:
aload 8
aload 3
aload 7
invokeinterface org.springframework.http.converter.HttpMessageConverter.canWrite:(Ljava/lang/Class;Lorg/springframework/http/MediaType;)Z
ifeq 37
30: aload 6
invokevirtual org.springframework.http.HttpHeaders.isEmpty:()Z
ifne 32
31: aload 6
aload 5
invokedynamic accept(Lorg/springframework/http/HttpHeaders;)Ljava/util/function/BiConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)V
org/springframework/web/client/RestTemplate$HttpEntityRequestCallback.lambda$2(Lorg/springframework/http/HttpHeaders;Ljava/lang/String;Ljava/util/List;)V (6)
(Ljava/lang/String;Ljava/util/List;)V
invokevirtual org.springframework.http.HttpHeaders.forEach:(Ljava/util/function/BiConsumer;)V
32: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 7
aload 8
invokevirtual org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.logBody:(Ljava/lang/Object;Lorg/springframework/http/MediaType;Lorg/springframework/http/converter/HttpMessageConverter;)V
33: aload 8
34: aload 2
aload 7
aload 1
35: invokeinterface org.springframework.http.converter.HttpMessageConverter.write:(Ljava/lang/Object;Lorg/springframework/http/MediaType;Lorg/springframework/http/HttpOutputMessage;)V
36: return
end local 8 37: StackMap locals: org.springframework.web.client.RestTemplate$HttpEntityRequestCallback org.springframework.http.client.ClientHttpRequest java.lang.Object java.lang.Class java.lang.reflect.Type org.springframework.http.HttpHeaders org.springframework.http.HttpHeaders org.springframework.http.MediaType top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 19
38: new java.lang.StringBuilder
dup
ldc "No HttpMessageConverter for ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 8
start local 8 39: aload 7
ifnull 41
40: new java.lang.StringBuilder
dup
aload 8
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " and content type ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 8
41: StackMap locals: org.springframework.web.client.RestTemplate$HttpEntityRequestCallback org.springframework.http.client.ClientHttpRequest java.lang.Object java.lang.Class java.lang.reflect.Type org.springframework.http.HttpHeaders org.springframework.http.HttpHeaders org.springframework.http.MediaType java.lang.String
StackMap stack:
new org.springframework.web.client.RestClientException
dup
aload 8
invokespecial org.springframework.web.client.RestClientException.<init>:(Ljava/lang/String;)V
athrow
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 42: StackMap locals: org.springframework.web.client.RestTemplate$HttpEntityRequestCallback org.springframework.http.client.ClientHttpRequest java.lang.Object
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 this Lorg/springframework/web/client/RestTemplate$HttpEntityRequestCallback;
0 43 1 httpRequest Lorg/springframework/http/client/ClientHttpRequest;
2 43 2 requestBody Ljava/lang/Object;
4 9 3 httpHeaders Lorg/springframework/http/HttpHeaders;
5 9 4 requestHeaders Lorg/springframework/http/HttpHeaders;
11 42 3 requestBodyClass Ljava/lang/Class<*>;
15 42 4 requestBodyType Ljava/lang/reflect/Type;
16 42 5 httpHeaders Lorg/springframework/http/HttpHeaders;
17 42 6 requestHeaders Lorg/springframework/http/HttpHeaders;
18 42 7 requestContentType Lorg/springframework/http/MediaType;
20 37 8 messageConverter Lorg/springframework/http/converter/HttpMessageConverter<*>;
23 29 10 genericConverter Lorg/springframework/http/converter/GenericHttpMessageConverter<Ljava/lang/Object;>;
39 42 8 message Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
httpRequest
private void logBody(, org.springframework.http.MediaType, org.springframework.http.converter.HttpMessageConverter<?>);
descriptor: (Ljava/lang/Object;Lorg/springframework/http/MediaType;Lorg/springframework/http/converter/HttpMessageConverter;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.this$0:Lorg/springframework/web/client/RestTemplate;
invokestatic org.springframework.web.client.RestTemplate.access$0:(Lorg/springframework/web/client/RestTemplate;)Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 6
1: aload 2
ifnull 4
2: aload 0
getfield org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.this$0:Lorg/springframework/web/client/RestTemplate;
invokestatic org.springframework.web.client.RestTemplate.access$0:(Lorg/springframework/web/client/RestTemplate;)Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Writing ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] as \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
3: goto 6
4: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 4
start local 4 5: aload 0
getfield org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.this$0:Lorg/springframework/web/client/RestTemplate;
invokestatic org.springframework.web.client.RestTemplate.access$0:(Lorg/springframework/web/client/RestTemplate;)Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Writing ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] with "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
end local 4 6: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/web/client/RestTemplate$HttpEntityRequestCallback;
0 7 1 body Ljava/lang/Object;
0 7 2 mediaType Lorg/springframework/http/MediaType;
0 7 3 converter Lorg/springframework/http/converter/HttpMessageConverter<*>;
5 6 4 classname Ljava/lang/String;
Signature: (Ljava/lang/Object;Lorg/springframework/http/MediaType;Lorg/springframework/http/converter/HttpMessageConverter<*>;)V
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
2:
MethodParameters:
Name Flags
body
mediaType
converter
private static void (org.springframework.http.HttpHeaders, java.lang.String, java.util.List);
descriptor: (Lorg/springframework/http/HttpHeaders;Ljava/lang/String;Ljava/util/List;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=3, args_size=3
start local 1 start local 2 0: aload 0
aload 1
new java.util.LinkedList
dup
aload 2
invokespecial java.util.LinkedList.<init>:(Ljava/util/Collection;)V
invokevirtual org.springframework.http.HttpHeaders.put:(Ljava/lang/String;Ljava/util/List;)Ljava/util/List;
return
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 key Ljava/lang/String;
0 1 2 values Ljava/util/List<Ljava/lang/String;>;
private static void (org.springframework.http.HttpHeaders, java.lang.String, java.util.List);
descriptor: (Lorg/springframework/http/HttpHeaders;Ljava/lang/String;Ljava/util/List;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=3, args_size=3
start local 1 start local 2 0: aload 0
aload 1
new java.util.LinkedList
dup
aload 2
invokespecial java.util.LinkedList.<init>:(Ljava/util/Collection;)V
invokevirtual org.springframework.http.HttpHeaders.put:(Ljava/lang/String;Ljava/util/List;)Ljava/util/List;
return
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 key Ljava/lang/String;
0 1 2 values Ljava/util/List<Ljava/lang/String;>;
private static void (org.springframework.http.HttpHeaders, java.lang.String, java.util.List);
descriptor: (Lorg/springframework/http/HttpHeaders;Ljava/lang/String;Ljava/util/List;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=3, args_size=3
start local 1 start local 2 0: aload 0
aload 1
new java.util.LinkedList
dup
aload 2
invokespecial java.util.LinkedList.<init>:(Ljava/util/Collection;)V
invokevirtual org.springframework.http.HttpHeaders.put:(Ljava/lang/String;Ljava/util/List;)Ljava/util/List;
return
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 key Ljava/lang/String;
0 1 2 values Ljava/util/List<Ljava/lang/String;>;
}
SourceFile: "RestTemplate.java"
NestHost: org.springframework.web.client.RestTemplate
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private AcceptHeaderRequestCallback = org.springframework.web.client.RestTemplate$AcceptHeaderRequestCallback of org.springframework.web.client.RestTemplate
private HttpEntityRequestCallback = org.springframework.web.client.RestTemplate$HttpEntityRequestCallback of org.springframework.web.client.RestTemplate