public class org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory extends org.springframework.http.client.HttpComponentsClientHttpRequestFactory implements org.springframework.http.client.AsyncClientHttpRequestFactory, org.springframework.beans.factory.InitializingBean
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory
super_class: org.springframework.http.client.HttpComponentsClientHttpRequestFactory
{
private org.apache.http.nio.client.HttpAsyncClient asyncClient;
descriptor: Lorg/apache/http/nio/client/HttpAsyncClient;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.http.client.HttpComponentsClientHttpRequestFactory.<init>:()V
1: aload 0
invokestatic org.apache.http.impl.nio.client.HttpAsyncClients.createSystem:()Lorg/apache/http/impl/nio/client/CloseableHttpAsyncClient;
putfield org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.asyncClient:Lorg/apache/http/nio/client/HttpAsyncClient;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/client/HttpComponentsAsyncClientHttpRequestFactory;
public void <init>(org.apache.http.nio.client.HttpAsyncClient);
descriptor: (Lorg/apache/http/nio/client/HttpAsyncClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.springframework.http.client.HttpComponentsClientHttpRequestFactory.<init>:()V
1: aload 0
aload 1
putfield org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.asyncClient:Lorg/apache/http/nio/client/HttpAsyncClient;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/client/HttpComponentsAsyncClientHttpRequestFactory;
0 3 1 asyncClient Lorg/apache/http/nio/client/HttpAsyncClient;
MethodParameters:
Name Flags
asyncClient
public void <init>(org.apache.http.impl.nio.client.CloseableHttpAsyncClient);
descriptor: (Lorg/apache/http/impl/nio/client/CloseableHttpAsyncClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.springframework.http.client.HttpComponentsClientHttpRequestFactory.<init>:()V
1: aload 0
aload 1
putfield org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.asyncClient:Lorg/apache/http/nio/client/HttpAsyncClient;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/client/HttpComponentsAsyncClientHttpRequestFactory;
0 3 1 asyncClient Lorg/apache/http/impl/nio/client/CloseableHttpAsyncClient;
MethodParameters:
Name Flags
asyncClient
public void <init>(org.apache.http.client.HttpClient, org.apache.http.nio.client.HttpAsyncClient);
descriptor: (Lorg/apache/http/client/HttpClient;Lorg/apache/http/nio/client/HttpAsyncClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial org.springframework.http.client.HttpComponentsClientHttpRequestFactory.<init>:(Lorg/apache/http/client/HttpClient;)V
1: aload 0
aload 2
putfield org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.asyncClient:Lorg/apache/http/nio/client/HttpAsyncClient;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/client/HttpComponentsAsyncClientHttpRequestFactory;
0 3 1 httpClient Lorg/apache/http/client/HttpClient;
0 3 2 asyncClient Lorg/apache/http/nio/client/HttpAsyncClient;
MethodParameters:
Name Flags
httpClient
asyncClient
public void <init>(org.apache.http.impl.client.CloseableHttpClient, org.apache.http.impl.nio.client.CloseableHttpAsyncClient);
descriptor: (Lorg/apache/http/impl/client/CloseableHttpClient;Lorg/apache/http/impl/nio/client/CloseableHttpAsyncClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial org.springframework.http.client.HttpComponentsClientHttpRequestFactory.<init>:(Lorg/apache/http/client/HttpClient;)V
1: aload 0
aload 2
putfield org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.asyncClient:Lorg/apache/http/nio/client/HttpAsyncClient;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/client/HttpComponentsAsyncClientHttpRequestFactory;
0 3 1 httpClient Lorg/apache/http/impl/client/CloseableHttpClient;
0 3 2 asyncClient Lorg/apache/http/impl/nio/client/CloseableHttpAsyncClient;
MethodParameters:
Name Flags
httpClient
asyncClient
public void setAsyncClient(org.apache.http.nio.client.HttpAsyncClient);
descriptor: (Lorg/apache/http/nio/client/HttpAsyncClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "HttpAsyncClient must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
putfield org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.asyncClient:Lorg/apache/http/nio/client/HttpAsyncClient;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/http/client/HttpComponentsAsyncClientHttpRequestFactory;
0 3 1 asyncClient Lorg/apache/http/nio/client/HttpAsyncClient;
MethodParameters:
Name Flags
asyncClient
public org.apache.http.nio.client.HttpAsyncClient getAsyncClient();
descriptor: ()Lorg/apache/http/nio/client/HttpAsyncClient;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.asyncClient:Lorg/apache/http/nio/client/HttpAsyncClient;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/http/client/HttpComponentsAsyncClientHttpRequestFactory;
public void setHttpAsyncClient(org.apache.http.impl.nio.client.CloseableHttpAsyncClient);
descriptor: (Lorg/apache/http/impl/nio/client/CloseableHttpAsyncClient;)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.http.client.HttpComponentsAsyncClientHttpRequestFactory.asyncClient:Lorg/apache/http/nio/client/HttpAsyncClient;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/client/HttpComponentsAsyncClientHttpRequestFactory;
0 2 1 asyncClient Lorg/apache/http/impl/nio/client/CloseableHttpAsyncClient;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
asyncClient
public org.apache.http.impl.nio.client.CloseableHttpAsyncClient getHttpAsyncClient();
descriptor: ()Lorg/apache/http/impl/nio/client/CloseableHttpAsyncClient;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.asyncClient:Lorg/apache/http/nio/client/HttpAsyncClient;
instanceof org.apache.http.impl.nio.client.CloseableHttpAsyncClient
1: ldc "No CloseableHttpAsyncClient - use getAsyncClient() instead"
2: invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
3: aload 0
getfield org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.asyncClient:Lorg/apache/http/nio/client/HttpAsyncClient;
checkcast org.apache.http.impl.nio.client.CloseableHttpAsyncClient
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/http/client/HttpComponentsAsyncClientHttpRequestFactory;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.startAsyncClient:()Lorg/apache/http/nio/client/HttpAsyncClient;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/http/client/HttpComponentsAsyncClientHttpRequestFactory;
private org.apache.http.nio.client.HttpAsyncClient startAsyncClient();
descriptor: ()Lorg/apache/http/nio/client/HttpAsyncClient;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.getAsyncClient:()Lorg/apache/http/nio/client/HttpAsyncClient;
astore 1
start local 1 1: aload 1
instanceof org.apache.http.impl.nio.client.CloseableHttpAsyncClient
ifeq 5
2: aload 1
checkcast org.apache.http.impl.nio.client.CloseableHttpAsyncClient
astore 2
start local 2 3: aload 2
invokevirtual org.apache.http.impl.nio.client.CloseableHttpAsyncClient.isRunning:()Z
ifne 5
4: aload 2
invokevirtual org.apache.http.impl.nio.client.CloseableHttpAsyncClient.start:()V
end local 2 5: StackMap locals: org.apache.http.nio.client.HttpAsyncClient
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/http/client/HttpComponentsAsyncClientHttpRequestFactory;
1 6 1 client Lorg/apache/http/nio/client/HttpAsyncClient;
3 5 2 closeableAsyncClient Lorg/apache/http/impl/nio/client/CloseableHttpAsyncClient;
public org.springframework.http.client.AsyncClientHttpRequest createAsyncRequest(java.net.URI, org.springframework.http.HttpMethod);
descriptor: (Ljava/net/URI;Lorg/springframework/http/HttpMethod;)Lorg/springframework/http/client/AsyncClientHttpRequest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.startAsyncClient:()Lorg/apache/http/nio/client/HttpAsyncClient;
astore 3
start local 3 1: aload 0
aload 2
aload 1
invokevirtual org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.createHttpUriRequest:(Lorg/springframework/http/HttpMethod;Ljava/net/URI;)Lorg/apache/http/client/methods/HttpUriRequest;
astore 4
start local 4 2: aload 0
aload 4
invokevirtual org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.postProcessHttpRequest:(Lorg/apache/http/client/methods/HttpUriRequest;)V
3: aload 0
aload 2
aload 1
invokevirtual org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.createHttpContext:(Lorg/springframework/http/HttpMethod;Ljava/net/URI;)Lorg/apache/http/protocol/HttpContext;
astore 5
start local 5 4: aload 5
ifnonnull 6
5: invokestatic org.apache.http.client.protocol.HttpClientContext.create:()Lorg/apache/http/client/protocol/HttpClientContext;
astore 5
6: StackMap locals: org.apache.http.nio.client.HttpAsyncClient org.apache.http.client.methods.HttpUriRequest org.apache.http.protocol.HttpContext
StackMap stack:
aload 5
ldc "http.request-config"
invokeinterface org.apache.http.protocol.HttpContext.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
ifnonnull 14
7: aconst_null
astore 6
start local 6 8: aload 4
instanceof org.apache.http.client.methods.Configurable
ifeq 10
9: aload 4
checkcast org.apache.http.client.methods.Configurable
invokeinterface org.apache.http.client.methods.Configurable.getConfig:()Lorg/apache/http/client/config/RequestConfig;
astore 6
10: StackMap locals: org.apache.http.client.config.RequestConfig
StackMap stack:
aload 6
ifnonnull 12
11: aload 0
aload 3
invokevirtual org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.createRequestConfig:(Ljava/lang/Object;)Lorg/apache/http/client/config/RequestConfig;
astore 6
12: StackMap locals:
StackMap stack:
aload 6
ifnull 14
13: aload 5
ldc "http.request-config"
aload 6
invokeinterface org.apache.http.protocol.HttpContext.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
end local 6 14: StackMap locals:
StackMap stack:
new org.springframework.http.client.HttpComponentsAsyncClientHttpRequest
dup
aload 3
aload 4
aload 5
invokespecial org.springframework.http.client.HttpComponentsAsyncClientHttpRequest.<init>:(Lorg/apache/http/nio/client/HttpAsyncClient;Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/protocol/HttpContext;)V
areturn
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 15 0 this Lorg/springframework/http/client/HttpComponentsAsyncClientHttpRequestFactory;
0 15 1 uri Ljava/net/URI;
0 15 2 httpMethod Lorg/springframework/http/HttpMethod;
1 15 3 client Lorg/apache/http/nio/client/HttpAsyncClient;
2 15 4 httpRequest Lorg/apache/http/client/methods/HttpUriRequest;
4 15 5 context Lorg/apache/http/protocol/HttpContext;
8 14 6 config Lorg/apache/http/client/config/RequestConfig;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
uri
httpMethod
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.http.client.HttpComponentsClientHttpRequestFactory.destroy:()V
1: goto 7
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
3: aload 0
invokevirtual org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.getAsyncClient:()Lorg/apache/http/nio/client/HttpAsyncClient;
astore 2
start local 2 4: aload 2
instanceof java.io.Closeable
ifeq 6
5: aload 2
checkcast java.io.Closeable
invokeinterface java.io.Closeable.close:()V
end local 2 6: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
athrow
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory.getAsyncClient:()Lorg/apache/http/nio/client/HttpAsyncClient;
astore 2
start local 2 8: aload 2
instanceof java.io.Closeable
ifeq 10
9: aload 2
checkcast java.io.Closeable
invokeinterface java.io.Closeable.close:()V
end local 2 10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/http/client/HttpComponentsAsyncClientHttpRequestFactory;
4 6 2 asyncClient Lorg/apache/http/nio/client/HttpAsyncClient;
8 10 2 asyncClient Lorg/apache/http/nio/client/HttpAsyncClient;
Exception table:
from to target type
0 2 2 any
Exceptions:
throws java.lang.Exception
}
SourceFile: "HttpComponentsAsyncClientHttpRequestFactory.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()