final class org.springframework.http.client.HttpComponentsClientHttpRequest extends org.springframework.http.client.AbstractBufferingClientHttpRequest
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.springframework.http.client.HttpComponentsClientHttpRequest
super_class: org.springframework.http.client.AbstractBufferingClientHttpRequest
{
private final org.apache.http.client.HttpClient httpClient;
descriptor: Lorg/apache/http/client/HttpClient;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.http.client.methods.HttpUriRequest httpRequest;
descriptor: Lorg/apache/http/client/methods/HttpUriRequest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.http.protocol.HttpContext httpContext;
descriptor: Lorg/apache/http/protocol/HttpContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(org.apache.http.client.HttpClient, org.apache.http.client.methods.HttpUriRequest, org.apache.http.protocol.HttpContext);
descriptor: (Lorg/apache/http/client/HttpClient;Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/protocol/HttpContext;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.springframework.http.client.AbstractBufferingClientHttpRequest.<init>:()V
1: aload 0
aload 1
putfield org.springframework.http.client.HttpComponentsClientHttpRequest.httpClient:Lorg/apache/http/client/HttpClient;
2: aload 0
aload 2
putfield org.springframework.http.client.HttpComponentsClientHttpRequest.httpRequest:Lorg/apache/http/client/methods/HttpUriRequest;
3: aload 0
aload 3
putfield org.springframework.http.client.HttpComponentsClientHttpRequest.httpContext:Lorg/apache/http/protocol/HttpContext;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/http/client/HttpComponentsClientHttpRequest;
0 5 1 client Lorg/apache/http/client/HttpClient;
0 5 2 request Lorg/apache/http/client/methods/HttpUriRequest;
0 5 3 context Lorg/apache/http/protocol/HttpContext;
MethodParameters:
Name Flags
client
request
context
public java.lang.String getMethodValue();
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.http.client.HttpComponentsClientHttpRequest.httpRequest:Lorg/apache/http/client/methods/HttpUriRequest;
invokeinterface org.apache.http.client.methods.HttpUriRequest.getMethod:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/client/HttpComponentsClientHttpRequest;
public java.net.URI getURI();
descriptor: ()Ljava/net/URI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpRequest.httpRequest:Lorg/apache/http/client/methods/HttpUriRequest;
invokeinterface org.apache.http.client.methods.HttpUriRequest.getURI:()Ljava/net/URI;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/client/HttpComponentsClientHttpRequest;
org.apache.http.protocol.HttpContext getHttpContext();
descriptor: ()Lorg/apache/http/protocol/HttpContext;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpRequest.httpContext:Lorg/apache/http/protocol/HttpContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/client/HttpComponentsClientHttpRequest;
protected org.springframework.http.client.ClientHttpResponse (org.springframework.http.HttpHeaders, byte[]);
descriptor: (Lorg/springframework/http/HttpHeaders;[B)Lorg/springframework/http/client/ClientHttpResponse;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpRequest.httpRequest:Lorg/apache/http/client/methods/HttpUriRequest;
aload 1
invokestatic org.springframework.http.client.HttpComponentsClientHttpRequest.addHeaders:(Lorg/apache/http/client/methods/HttpUriRequest;Lorg/springframework/http/HttpHeaders;)V
1: aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpRequest.httpRequest:Lorg/apache/http/client/methods/HttpUriRequest;
instanceof org.apache.http.HttpEntityEnclosingRequest
ifeq 5
2: aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpRequest.httpRequest:Lorg/apache/http/client/methods/HttpUriRequest;
checkcast org.apache.http.HttpEntityEnclosingRequest
astore 3
start local 3 3: new org.apache.http.entity.ByteArrayEntity
dup
aload 2
invokespecial org.apache.http.entity.ByteArrayEntity.<init>:([B)V
astore 4
start local 4 4: aload 3
aload 4
invokeinterface org.apache.http.HttpEntityEnclosingRequest.setEntity:(Lorg/apache/http/HttpEntity;)V
end local 4 end local 3 5: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpRequest.httpClient:Lorg/apache/http/client/HttpClient;
aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpRequest.httpRequest:Lorg/apache/http/client/methods/HttpUriRequest;
aload 0
getfield org.springframework.http.client.HttpComponentsClientHttpRequest.httpContext:Lorg/apache/http/protocol/HttpContext;
invokeinterface org.apache.http.client.HttpClient.execute:(Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/HttpResponse;
astore 3
start local 3 6: new org.springframework.http.client.HttpComponentsClientHttpResponse
dup
aload 3
invokespecial org.springframework.http.client.HttpComponentsClientHttpResponse.<init>:(Lorg/apache/http/HttpResponse;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/http/client/HttpComponentsClientHttpRequest;
0 7 1 headers Lorg/springframework/http/HttpHeaders;
0 7 2 bufferedOutput [B
3 5 3 entityEnclosingRequest Lorg/apache/http/HttpEntityEnclosingRequest;
4 5 4 requestEntity Lorg/apache/http/HttpEntity;
6 7 3 httpResponse Lorg/apache/http/HttpResponse;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
headers
bufferedOutput
static void (org.apache.http.client.methods.HttpUriRequest, org.springframework.http.HttpHeaders);
descriptor: (Lorg/apache/http/client/methods/HttpUriRequest;Lorg/springframework/http/HttpHeaders;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokedynamic accept(Lorg/apache/http/client/methods/HttpUriRequest;)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/http/client/HttpComponentsClientHttpRequest.lambda$0(Lorg/apache/http/client/methods/HttpUriRequest;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
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 httpRequest Lorg/apache/http/client/methods/HttpUriRequest;
0 2 1 headers Lorg/springframework/http/HttpHeaders;
MethodParameters:
Name Flags
httpRequest
headers
private static void lambda$0(org.apache.http.client.methods.HttpUriRequest, java.lang.String, java.util.List);
descriptor: (Lorg/apache/http/client/methods/HttpUriRequest;Ljava/lang/String;Ljava/util/List;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=5, args_size=3
start local 1 start local 2 0: ldc "Cookie"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
1: aload 2
ldc "; "
invokestatic org.springframework.util.StringUtils.collectionToDelimitedString:(Ljava/util/Collection;Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 2: aload 0
aload 1
aload 3
invokeinterface org.apache.http.client.methods.HttpUriRequest.addHeader:(Ljava/lang/String;Ljava/lang/String;)V
end local 3 3: goto 10
4: StackMap locals:
StackMap stack:
ldc "Content-Length"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 10
5: ldc "Transfer-Encoding"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 10
6: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: org.apache.http.client.methods.HttpUriRequest java.lang.String java.util.List top java.util.Iterator
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 8: aload 0
aload 1
aload 3
invokeinterface org.apache.http.client.methods.HttpUriRequest.addHeader:(Ljava/lang/String;Ljava/lang/String;)V
end local 3 9: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: StackMap locals: org.apache.http.client.methods.HttpUriRequest java.lang.String java.util.List
StackMap stack:
return
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 11 1 headerName Ljava/lang/String;
0 11 2 headerValues Ljava/util/List<Ljava/lang/String;>;
2 3 3 headerValue Ljava/lang/String;
8 9 3 headerValue Ljava/lang/String;
}
SourceFile: "HttpComponentsClientHttpRequest.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles