public class org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor extends org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor
super_class: org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor
{
private static final int DEFAULT_MAX_TOTAL_CONNECTIONS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 100
private static final int DEFAULT_MAX_CONNECTIONS_PER_ROUTE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private static final int DEFAULT_READ_TIMEOUT_MILLISECONDS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 60000
private org.apache.http.client.HttpClient httpClient;
descriptor: Lorg/apache/http/client/HttpClient;
flags: (0x0002) ACC_PRIVATE
private org.apache.http.client.config.RequestConfig requestConfig;
descriptor: Lorg/apache/http/client/config/RequestConfig;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.createDefaultHttpClient:()Lorg/apache/http/client/HttpClient;
invokestatic org.apache.http.client.config.RequestConfig.custom:()Lorg/apache/http/client/config/RequestConfig$Builder;
1: ldc 60000
invokevirtual org.apache.http.client.config.RequestConfig$Builder.setSocketTimeout:(I)Lorg/apache/http/client/config/RequestConfig$Builder;
invokevirtual org.apache.http.client.config.RequestConfig$Builder.build:()Lorg/apache/http/client/config/RequestConfig;
invokespecial org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.<init>:(Lorg/apache/http/client/HttpClient;Lorg/apache/http/client/config/RequestConfig;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor;
public void <init>(org.apache.http.client.HttpClient);
descriptor: (Lorg/apache/http/client/HttpClient;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.<init>:(Lorg/apache/http/client/HttpClient;Lorg/apache/http/client/config/RequestConfig;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor;
0 2 1 httpClient Lorg/apache/http/client/HttpClient;
MethodParameters:
Name Flags
httpClient
private void <init>(org.apache.http.client.HttpClient, org.apache.http.client.config.RequestConfig);
descriptor: (Lorg/apache/http/client/HttpClient;Lorg/apache/http/client/config/RequestConfig;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.<init>:()V
1: aload 0
aload 1
putfield org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.httpClient:Lorg/apache/http/client/HttpClient;
2: aload 0
aload 2
putfield org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.requestConfig:Lorg/apache/http/client/config/RequestConfig;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor;
0 4 1 httpClient Lorg/apache/http/client/HttpClient;
0 4 2 requestConfig Lorg/apache/http/client/config/RequestConfig;
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
httpClient
requestConfig
private static org.apache.http.client.HttpClient createDefaultHttpClient();
descriptor: ()Lorg/apache/http/client/HttpClient;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: invokestatic org.apache.http.config.RegistryBuilder.create:()Lorg/apache/http/config/RegistryBuilder;
1: ldc "http"
invokestatic org.apache.http.conn.socket.PlainConnectionSocketFactory.getSocketFactory:()Lorg/apache/http/conn/socket/PlainConnectionSocketFactory;
invokevirtual org.apache.http.config.RegistryBuilder.register:(Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/http/config/RegistryBuilder;
2: ldc "https"
invokestatic org.apache.http.conn.ssl.SSLConnectionSocketFactory.getSocketFactory:()Lorg/apache/http/conn/ssl/SSLConnectionSocketFactory;
invokevirtual org.apache.http.config.RegistryBuilder.register:(Ljava/lang/String;Ljava/lang/Object;)Lorg/apache/http/config/RegistryBuilder;
3: invokevirtual org.apache.http.config.RegistryBuilder.build:()Lorg/apache/http/config/Registry;
4: astore 0
start local 0 5: new org.apache.http.impl.conn.PoolingHttpClientConnectionManager
dup
aload 0
invokespecial org.apache.http.impl.conn.PoolingHttpClientConnectionManager.<init>:(Lorg/apache/http/config/Registry;)V
astore 1
start local 1 6: aload 1
bipush 100
invokevirtual org.apache.http.impl.conn.PoolingHttpClientConnectionManager.setMaxTotal:(I)V
7: aload 1
iconst_5
invokevirtual org.apache.http.impl.conn.PoolingHttpClientConnectionManager.setDefaultMaxPerRoute:(I)V
8: invokestatic org.apache.http.impl.client.HttpClientBuilder.create:()Lorg/apache/http/impl/client/HttpClientBuilder;
aload 1
invokevirtual org.apache.http.impl.client.HttpClientBuilder.setConnectionManager:(Lorg/apache/http/conn/HttpClientConnectionManager;)Lorg/apache/http/impl/client/HttpClientBuilder;
invokevirtual org.apache.http.impl.client.HttpClientBuilder.build:()Lorg/apache/http/impl/client/CloseableHttpClient;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
5 9 0 schemeRegistry Lorg/apache/http/config/Registry<Lorg/apache/http/conn/socket/ConnectionSocketFactory;>;
6 9 1 connectionManager Lorg/apache/http/impl/conn/PoolingHttpClientConnectionManager;
public void setHttpClient(org.apache.http.client.HttpClient);
descriptor: (Lorg/apache/http/client/HttpClient;)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.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.httpClient:Lorg/apache/http/client/HttpClient;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor;
0 2 1 httpClient Lorg/apache/http/client/HttpClient;
MethodParameters:
Name Flags
httpClient
public org.apache.http.client.HttpClient getHttpClient();
descriptor: ()Lorg/apache/http/client/HttpClient;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.httpClient:Lorg/apache/http/client/HttpClient;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor;
public void setConnectTimeout(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "Timeout must be a non-negative value"
invokestatic org.springframework.util.Assert.isTrue:(ZLjava/lang/String;)V
3: aload 0
aload 0
invokevirtual org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.cloneRequestConfig:()Lorg/apache/http/client/config/RequestConfig$Builder;
iload 1
invokevirtual org.apache.http.client.config.RequestConfig$Builder.setConnectTimeout:(I)Lorg/apache/http/client/config/RequestConfig$Builder;
invokevirtual org.apache.http.client.config.RequestConfig$Builder.build:()Lorg/apache/http/client/config/RequestConfig;
putfield org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.requestConfig:Lorg/apache/http/client/config/RequestConfig;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor;
0 5 1 timeout I
MethodParameters:
Name Flags
timeout
public void setConnectionRequestTimeout(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.cloneRequestConfig:()Lorg/apache/http/client/config/RequestConfig$Builder;
iload 1
invokevirtual org.apache.http.client.config.RequestConfig$Builder.setConnectionRequestTimeout:(I)Lorg/apache/http/client/config/RequestConfig$Builder;
invokevirtual org.apache.http.client.config.RequestConfig$Builder.build:()Lorg/apache/http/client/config/RequestConfig;
putfield org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.requestConfig:Lorg/apache/http/client/config/RequestConfig;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor;
0 2 1 connectionRequestTimeout I
MethodParameters:
Name Flags
connectionRequestTimeout
public void setReadTimeout(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "Timeout must be a non-negative value"
invokestatic org.springframework.util.Assert.isTrue:(ZLjava/lang/String;)V
3: aload 0
aload 0
invokevirtual org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.cloneRequestConfig:()Lorg/apache/http/client/config/RequestConfig$Builder;
iload 1
invokevirtual org.apache.http.client.config.RequestConfig$Builder.setSocketTimeout:(I)Lorg/apache/http/client/config/RequestConfig$Builder;
invokevirtual org.apache.http.client.config.RequestConfig$Builder.build:()Lorg/apache/http/client/config/RequestConfig;
putfield org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.requestConfig:Lorg/apache/http/client/config/RequestConfig;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor;
0 5 1 timeout I
MethodParameters:
Name Flags
timeout
private org.apache.http.client.config.RequestConfig$Builder cloneRequestConfig();
descriptor: ()Lorg/apache/http/client/config/RequestConfig$Builder;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.requestConfig:Lorg/apache/http/client/config/RequestConfig;
ifnull 1
aload 0
getfield org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.requestConfig:Lorg/apache/http/client/config/RequestConfig;
invokestatic org.apache.http.client.config.RequestConfig.copy:(Lorg/apache/http/client/config/RequestConfig;)Lorg/apache/http/client/config/RequestConfig$Builder;
goto 2
StackMap locals:
StackMap stack:
1: invokestatic org.apache.http.client.config.RequestConfig.custom:()Lorg/apache/http/client/config/RequestConfig$Builder;
StackMap locals:
StackMap stack: org.apache.http.client.config.RequestConfig$Builder
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor;
protected org.springframework.remoting.support.RemoteInvocationResult doExecuteRequest(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration, java.io.ByteArrayOutputStream);
descriptor: (Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;Ljava/io/ByteArrayOutputStream;)Lorg/springframework/remoting/support/RemoteInvocationResult;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.createHttpPost:(Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;)Lorg/apache/http/client/methods/HttpPost;
astore 3
start local 3 1: aload 0
aload 1
aload 3
aload 2
invokevirtual org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.setRequestBody:(Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;Lorg/apache/http/client/methods/HttpPost;Ljava/io/ByteArrayOutputStream;)V
2: aload 0
aload 1
aload 0
invokevirtual org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.getHttpClient:()Lorg/apache/http/client/HttpClient;
aload 3
invokevirtual org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.executeHttpPost:(Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;Lorg/apache/http/client/HttpClient;Lorg/apache/http/client/methods/HttpPost;)Lorg/apache/http/HttpResponse;
astore 4
start local 4 3: aload 0
aload 1
aload 4
invokevirtual org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.validateResponse:(Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;Lorg/apache/http/HttpResponse;)V
4: aload 0
aload 1
aload 4
invokevirtual org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.getResponseBody:(Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;Lorg/apache/http/HttpResponse;)Ljava/io/InputStream;
astore 5
start local 5 5: aload 0
aload 5
aload 1
invokeinterface org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration.getCodebaseUrl:()Ljava/lang/String;
invokevirtual org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.readRemoteInvocationResult:(Ljava/io/InputStream;Ljava/lang/String;)Lorg/springframework/remoting/support/RemoteInvocationResult;
astore 7
6: aload 3
invokevirtual org.apache.http.client.methods.HttpPost.releaseConnection:()V
7: aload 7
areturn
end local 5 end local 4 8: StackMap locals: org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration java.io.ByteArrayOutputStream org.apache.http.client.methods.HttpPost
StackMap stack: java.lang.Throwable
astore 6
9: aload 3
invokevirtual org.apache.http.client.methods.HttpPost.releaseConnection:()V
10: aload 6
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor;
0 11 1 config Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;
0 11 2 baos Ljava/io/ByteArrayOutputStream;
1 11 3 postMethod Lorg/apache/http/client/methods/HttpPost;
3 8 4 response Lorg/apache/http/HttpResponse;
5 8 5 responseBody Ljava/io/InputStream;
Exception table:
from to target type
2 6 8 any
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
config
baos
protected org.apache.http.client.methods.HttpPost createHttpPost(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration);
descriptor: (Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;)Lorg/apache/http/client/methods/HttpPost;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new org.apache.http.client.methods.HttpPost
dup
aload 1
invokeinterface org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration.getServiceUrl:()Ljava/lang/String;
invokespecial org.apache.http.client.methods.HttpPost.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 0
aload 1
invokevirtual org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.createRequestConfig:(Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;)Lorg/apache/http/client/config/RequestConfig;
astore 3
start local 3 2: aload 3
ifnull 4
3: aload 2
aload 3
invokevirtual org.apache.http.client.methods.HttpPost.setConfig:(Lorg/apache/http/client/config/RequestConfig;)V
4: StackMap locals: org.apache.http.client.methods.HttpPost org.apache.http.client.config.RequestConfig
StackMap stack:
invokestatic org.springframework.context.i18n.LocaleContextHolder.getLocaleContext:()Lorg/springframework/context/i18n/LocaleContext;
astore 4
start local 4 5: aload 4
ifnull 9
6: aload 4
invokeinterface org.springframework.context.i18n.LocaleContext.getLocale:()Ljava/util/Locale;
astore 5
start local 5 7: aload 5
ifnull 9
8: aload 2
ldc "Accept-Language"
aload 5
invokevirtual java.util.Locale.toLanguageTag:()Ljava/lang/String;
invokevirtual org.apache.http.client.methods.HttpPost.addHeader:(Ljava/lang/String;Ljava/lang/String;)V
end local 5 9: StackMap locals: org.springframework.context.i18n.LocaleContext
StackMap stack:
aload 0
invokevirtual org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.isAcceptGzipEncoding:()Z
ifeq 11
10: aload 2
ldc "Accept-Encoding"
ldc "gzip"
invokevirtual org.apache.http.client.methods.HttpPost.addHeader:(Ljava/lang/String;Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor;
0 12 1 config Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;
1 12 2 httpPost Lorg/apache/http/client/methods/HttpPost;
2 12 3 requestConfig Lorg/apache/http/client/config/RequestConfig;
5 12 4 localeContext Lorg/springframework/context/i18n/LocaleContext;
7 9 5 locale Ljava/util/Locale;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
config
protected org.apache.http.client.config.RequestConfig createRequestConfig(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration);
descriptor: (Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;)Lorg/apache/http/client/config/RequestConfig;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.getHttpClient:()Lorg/apache/http/client/HttpClient;
astore 2
start local 2 1: aload 2
instanceof org.apache.http.client.methods.Configurable
ifeq 4
2: aload 2
checkcast org.apache.http.client.methods.Configurable
invokeinterface org.apache.http.client.methods.Configurable.getConfig:()Lorg/apache/http/client/config/RequestConfig;
astore 3
start local 3 3: aload 0
aload 3
invokevirtual org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.mergeRequestConfig:(Lorg/apache/http/client/config/RequestConfig;)Lorg/apache/http/client/config/RequestConfig;
areturn
end local 3 4: StackMap locals: org.apache.http.client.HttpClient
StackMap stack:
aload 0
getfield org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.requestConfig:Lorg/apache/http/client/config/RequestConfig;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor;
0 5 1 config Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;
1 5 2 client Lorg/apache/http/client/HttpClient;
3 4 3 clientRequestConfig Lorg/apache/http/client/config/RequestConfig;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
config
private org.apache.http.client.config.RequestConfig mergeRequestConfig(org.apache.http.client.config.RequestConfig);
descriptor: (Lorg/apache/http/client/config/RequestConfig;)Lorg/apache/http/client/config/RequestConfig;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.requestConfig:Lorg/apache/http/client/config/RequestConfig;
ifnonnull 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic org.apache.http.client.config.RequestConfig.copy:(Lorg/apache/http/client/config/RequestConfig;)Lorg/apache/http/client/config/RequestConfig$Builder;
astore 2
start local 2 3: aload 0
getfield org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.requestConfig:Lorg/apache/http/client/config/RequestConfig;
invokevirtual org.apache.http.client.config.RequestConfig.getConnectTimeout:()I
istore 3
start local 3 4: iload 3
iflt 6
5: aload 2
iload 3
invokevirtual org.apache.http.client.config.RequestConfig$Builder.setConnectTimeout:(I)Lorg/apache/http/client/config/RequestConfig$Builder;
pop
6: StackMap locals: org.apache.http.client.config.RequestConfig$Builder int
StackMap stack:
aload 0
getfield org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.requestConfig:Lorg/apache/http/client/config/RequestConfig;
invokevirtual org.apache.http.client.config.RequestConfig.getConnectionRequestTimeout:()I
istore 4
start local 4 7: iload 4
iflt 9
8: aload 2
iload 4
invokevirtual org.apache.http.client.config.RequestConfig$Builder.setConnectionRequestTimeout:(I)Lorg/apache/http/client/config/RequestConfig$Builder;
pop
9: StackMap locals: int
StackMap stack:
aload 0
getfield org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.requestConfig:Lorg/apache/http/client/config/RequestConfig;
invokevirtual org.apache.http.client.config.RequestConfig.getSocketTimeout:()I
istore 5
start local 5 10: iload 5
iflt 12
11: aload 2
iload 5
invokevirtual org.apache.http.client.config.RequestConfig$Builder.setSocketTimeout:(I)Lorg/apache/http/client/config/RequestConfig$Builder;
pop
12: StackMap locals: int
StackMap stack:
aload 2
invokevirtual org.apache.http.client.config.RequestConfig$Builder.build:()Lorg/apache/http/client/config/RequestConfig;
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 13 0 this Lorg/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor;
0 13 1 defaultRequestConfig Lorg/apache/http/client/config/RequestConfig;
3 13 2 builder Lorg/apache/http/client/config/RequestConfig$Builder;
4 13 3 connectTimeout I
7 13 4 connectionRequestTimeout I
10 13 5 socketTimeout I
MethodParameters:
Name Flags
defaultRequestConfig
protected void setRequestBody(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration, org.apache.http.client.methods.HttpPost, java.io.ByteArrayOutputStream);
descriptor: (Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;Lorg/apache/http/client/methods/HttpPost;Ljava/io/ByteArrayOutputStream;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.apache.http.entity.ByteArrayEntity
dup
aload 3
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
invokespecial org.apache.http.entity.ByteArrayEntity.<init>:([B)V
astore 4
start local 4 1: aload 4
aload 0
invokevirtual org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.getContentType:()Ljava/lang/String;
invokevirtual org.apache.http.entity.ByteArrayEntity.setContentType:(Ljava/lang/String;)V
2: aload 2
aload 4
invokevirtual org.apache.http.client.methods.HttpPost.setEntity:(Lorg/apache/http/HttpEntity;)V
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor;
0 4 1 config Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;
0 4 2 httpPost Lorg/apache/http/client/methods/HttpPost;
0 4 3 baos Ljava/io/ByteArrayOutputStream;
1 4 4 entity Lorg/apache/http/entity/ByteArrayEntity;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
config
httpPost
baos
protected org.apache.http.HttpResponse executeHttpPost(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration, org.apache.http.client.HttpClient, org.apache.http.client.methods.HttpPost);
descriptor: (Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;Lorg/apache/http/client/HttpClient;Lorg/apache/http/client/methods/HttpPost;)Lorg/apache/http/HttpResponse;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 3
invokeinterface org.apache.http.client.HttpClient.execute:(Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/HttpResponse;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor;
0 1 1 config Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;
0 1 2 httpClient Lorg/apache/http/client/HttpClient;
0 1 3 httpPost Lorg/apache/http/client/methods/HttpPost;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
config
httpClient
httpPost
protected void validateResponse(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration, org.apache.http.HttpResponse);
descriptor: (Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;Lorg/apache/http/HttpResponse;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.apache.http.HttpResponse.getStatusLine:()Lorg/apache/http/StatusLine;
astore 3
start local 3 1: aload 3
invokeinterface org.apache.http.StatusLine.getStatusCode:()I
sipush 300
if_icmplt 7
2: new org.apache.http.NoHttpResponseException
dup
3: new java.lang.StringBuilder
dup
ldc "Did not receive successful HTTP response: status code = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokeinterface org.apache.http.StatusLine.getStatusCode:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
4: ldc ", status message = ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokeinterface org.apache.http.StatusLine.getReasonPhrase:()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;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial org.apache.http.NoHttpResponseException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: org.apache.http.StatusLine
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor;
0 8 1 config Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;
0 8 2 response Lorg/apache/http/HttpResponse;
1 8 3 status Lorg/apache/http/StatusLine;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
config
response
protected java.io.InputStream getResponseBody(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration, org.apache.http.HttpResponse);
descriptor: (Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;Lorg/apache/http/HttpResponse;)Ljava/io/InputStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.isGzipResponse:(Lorg/apache/http/HttpResponse;)Z
ifeq 2
1: new java.util.zip.GZIPInputStream
dup
aload 2
invokeinterface org.apache.http.HttpResponse.getEntity:()Lorg/apache/http/HttpEntity;
invokeinterface org.apache.http.HttpEntity.getContent:()Ljava/io/InputStream;
invokespecial java.util.zip.GZIPInputStream.<init>:(Ljava/io/InputStream;)V
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.apache.http.HttpResponse.getEntity:()Lorg/apache/http/HttpEntity;
invokeinterface org.apache.http.HttpEntity.getContent:()Ljava/io/InputStream;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor;
0 3 1 config Lorg/springframework/remoting/httpinvoker/HttpInvokerClientConfiguration;
0 3 2 httpResponse Lorg/apache/http/HttpResponse;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
config
httpResponse
protected boolean isGzipResponse(org.apache.http.HttpResponse);
descriptor: (Lorg/apache/http/HttpResponse;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "Content-Encoding"
invokeinterface org.apache.http.HttpResponse.getFirstHeader:(Ljava/lang/String;)Lorg/apache/http/Header;
astore 2
start local 2 1: aload 2
ifnull 4
aload 2
invokeinterface org.apache.http.Header.getValue:()Ljava/lang/String;
ifnull 4
2: aload 2
invokeinterface org.apache.http.Header.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
ldc "gzip"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 4
3: iconst_1
ireturn
StackMap locals: org.apache.http.Header
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/remoting/httpinvoker/HttpComponentsHttpInvokerRequestExecutor;
0 5 1 httpResponse Lorg/apache/http/HttpResponse;
1 5 2 encodingHeader Lorg/apache/http/Header;
MethodParameters:
Name Flags
httpResponse
}
SourceFile: "HttpComponentsHttpInvokerRequestExecutor.java"
InnerClasses:
public Builder = org.apache.http.client.config.RequestConfig$Builder of org.apache.http.client.config.RequestConfig