public abstract class org.apache.http.impl.client.CloseableHttpClient implements org.apache.http.client.HttpClient, java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.http.impl.client.CloseableHttpClient
super_class: java.lang.Object
{
private final org.apache.commons.logging.Log log;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putfield org.apache.http.impl.client.CloseableHttpClient.log:Lorg/apache/commons/logging/Log;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/http/impl/client/CloseableHttpClient;
protected abstract org.apache.http.client.methods.CloseableHttpResponse doExecute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext);
descriptor: (Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/client/methods/CloseableHttpResponse;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, org.apache.http.client.ClientProtocolException
MethodParameters:
Name Flags
target
request
context
public org.apache.http.client.methods.CloseableHttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext);
descriptor: (Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/client/methods/CloseableHttpResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual org.apache.http.impl.client.CloseableHttpClient.doExecute:(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/client/methods/CloseableHttpResponse;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/impl/client/CloseableHttpClient;
0 1 1 target Lorg/apache/http/HttpHost;
0 1 2 request Lorg/apache/http/HttpRequest;
0 1 3 context Lorg/apache/http/protocol/HttpContext;
Exceptions:
throws java.io.IOException, org.apache.http.client.ClientProtocolException
MethodParameters:
Name Flags
target final
request final
context final
public org.apache.http.client.methods.CloseableHttpResponse execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.protocol.HttpContext);
descriptor: (Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/client/methods/CloseableHttpResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "HTTP request"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
aload 1
invokestatic org.apache.http.impl.client.CloseableHttpClient.determineTarget:(Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/HttpHost;
aload 1
aload 2
invokevirtual org.apache.http.impl.client.CloseableHttpClient.doExecute:(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/client/methods/CloseableHttpResponse;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/impl/client/CloseableHttpClient;
0 2 1 request Lorg/apache/http/client/methods/HttpUriRequest;
0 2 2 context Lorg/apache/http/protocol/HttpContext;
Exceptions:
throws java.io.IOException, org.apache.http.client.ClientProtocolException
MethodParameters:
Name Flags
request final
context final
private static org.apache.http.HttpHost determineTarget(org.apache.http.client.methods.HttpUriRequest);
descriptor: (Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/HttpHost;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokeinterface org.apache.http.client.methods.HttpUriRequest.getURI:()Ljava/net/URI;
astore 2
start local 2 2: aload 2
invokevirtual java.net.URI.isAbsolute:()Z
ifeq 8
3: aload 2
invokestatic org.apache.http.client.utils.URIUtils.extractHost:(Ljava/net/URI;)Lorg/apache/http/HttpHost;
astore 1
4: aload 1
ifnonnull 8
5: new org.apache.http.client.ClientProtocolException
dup
new java.lang.StringBuilder
dup
ldc "URI does not specify a valid host name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial org.apache.http.client.ClientProtocolException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: org.apache.http.HttpHost java.net.URI
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 request Lorg/apache/http/client/methods/HttpUriRequest;
1 9 1 target Lorg/apache/http/HttpHost;
2 9 2 requestURI Ljava/net/URI;
Exceptions:
throws org.apache.http.client.ClientProtocolException
MethodParameters:
Name Flags
request final
public org.apache.http.client.methods.CloseableHttpResponse execute(org.apache.http.client.methods.HttpUriRequest);
descriptor: (Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/client/methods/CloseableHttpResponse;
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
invokevirtual org.apache.http.impl.client.CloseableHttpClient.execute:(Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/client/methods/CloseableHttpResponse;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/impl/client/CloseableHttpClient;
0 1 1 request Lorg/apache/http/client/methods/HttpUriRequest;
Exceptions:
throws java.io.IOException, org.apache.http.client.ClientProtocolException
MethodParameters:
Name Flags
request final
public org.apache.http.client.methods.CloseableHttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest);
descriptor: (Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;)Lorg/apache/http/client/methods/CloseableHttpResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokevirtual org.apache.http.impl.client.CloseableHttpClient.doExecute:(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/client/methods/CloseableHttpResponse;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/impl/client/CloseableHttpClient;
0 1 1 target Lorg/apache/http/HttpHost;
0 1 2 request Lorg/apache/http/HttpRequest;
Exceptions:
throws java.io.IOException, org.apache.http.client.ClientProtocolException
MethodParameters:
Name Flags
target final
request final
public <T> T execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler<? extends T>);
descriptor: (Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/client/ResponseHandler;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokevirtual org.apache.http.impl.client.CloseableHttpClient.execute:(Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/client/ResponseHandler;Lorg/apache/http/protocol/HttpContext;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/impl/client/CloseableHttpClient;
0 1 1 request Lorg/apache/http/client/methods/HttpUriRequest;
0 1 2 responseHandler Lorg/apache/http/client/ResponseHandler<+TT;>;
Exceptions:
throws java.io.IOException, org.apache.http.client.ClientProtocolException
Signature: <T:Ljava/lang/Object;>(Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/client/ResponseHandler<+TT;>;)TT;
MethodParameters:
Name Flags
request final
responseHandler final
public <T> T execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler<? extends T>, org.apache.http.protocol.HttpContext);
descriptor: (Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/client/ResponseHandler;Lorg/apache/http/protocol/HttpContext;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic org.apache.http.impl.client.CloseableHttpClient.determineTarget:(Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/HttpHost;
astore 4
start local 4 1: aload 0
aload 4
aload 1
aload 2
aload 3
invokevirtual org.apache.http.impl.client.CloseableHttpClient.execute:(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/client/ResponseHandler;Lorg/apache/http/protocol/HttpContext;)Ljava/lang/Object;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/http/impl/client/CloseableHttpClient;
0 2 1 request Lorg/apache/http/client/methods/HttpUriRequest;
0 2 2 responseHandler Lorg/apache/http/client/ResponseHandler<+TT;>;
0 2 3 context Lorg/apache/http/protocol/HttpContext;
1 2 4 target Lorg/apache/http/HttpHost;
Exceptions:
throws java.io.IOException, org.apache.http.client.ClientProtocolException
Signature: <T:Ljava/lang/Object;>(Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/client/ResponseHandler<+TT;>;Lorg/apache/http/protocol/HttpContext;)TT;
MethodParameters:
Name Flags
request final
responseHandler final
context final
public <T> T execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler<? extends T>);
descriptor: (Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/client/ResponseHandler;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aconst_null
invokevirtual org.apache.http.impl.client.CloseableHttpClient.execute:(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/client/ResponseHandler;Lorg/apache/http/protocol/HttpContext;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/http/impl/client/CloseableHttpClient;
0 1 1 target Lorg/apache/http/HttpHost;
0 1 2 request Lorg/apache/http/HttpRequest;
0 1 3 responseHandler Lorg/apache/http/client/ResponseHandler<+TT;>;
Exceptions:
throws java.io.IOException, org.apache.http.client.ClientProtocolException
Signature: <T:Ljava/lang/Object;>(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/client/ResponseHandler<+TT;>;)TT;
MethodParameters:
Name Flags
target final
request final
responseHandler final
public <T> T execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler<? extends T>, org.apache.http.protocol.HttpContext);
descriptor: (Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/client/ResponseHandler;Lorg/apache/http/protocol/HttpContext;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
ldc "Response handler"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
aload 1
aload 2
aload 4
invokevirtual org.apache.http.impl.client.CloseableHttpClient.execute:(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/client/methods/CloseableHttpResponse;
astore 5
start local 5 2: aload 3
aload 5
invokeinterface org.apache.http.client.ResponseHandler.handleResponse:(Lorg/apache/http/HttpResponse;)Ljava/lang/Object;
astore 6
start local 6 3: aload 5
invokeinterface org.apache.http.client.methods.CloseableHttpResponse.getEntity:()Lorg/apache/http/HttpEntity;
astore 7
start local 7 4: aload 7
invokestatic org.apache.http.util.EntityUtils.consume:(Lorg/apache/http/HttpEntity;)V
5: aload 6
astore 10
6: aload 5
invokeinterface org.apache.http.client.methods.CloseableHttpResponse.close:()V
7: aload 10
areturn
end local 7 end local 6 8: StackMap locals: org.apache.http.impl.client.CloseableHttpClient org.apache.http.HttpHost org.apache.http.HttpRequest org.apache.http.client.ResponseHandler org.apache.http.protocol.HttpContext org.apache.http.client.methods.CloseableHttpResponse
StackMap stack: org.apache.http.client.ClientProtocolException
astore 6
start local 6 9: aload 5
invokeinterface org.apache.http.client.methods.CloseableHttpResponse.getEntity:()Lorg/apache/http/HttpEntity;
astore 7
start local 7 10: aload 7
invokestatic org.apache.http.util.EntityUtils.consume:(Lorg/apache/http/HttpEntity;)V
11: goto 14
StackMap locals: org.apache.http.impl.client.CloseableHttpClient org.apache.http.HttpHost org.apache.http.HttpRequest org.apache.http.client.ResponseHandler org.apache.http.protocol.HttpContext org.apache.http.client.methods.CloseableHttpResponse org.apache.http.client.ClientProtocolException org.apache.http.HttpEntity
StackMap stack: java.lang.Exception
12: astore 8
start local 8 13: aload 0
getfield org.apache.http.impl.client.CloseableHttpClient.log:Lorg/apache/commons/logging/Log;
ldc "Error consuming content after an exception."
aload 8
invokeinterface org.apache.commons.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 8 14: StackMap locals:
StackMap stack:
aload 6
athrow
end local 7 end local 6 15: StackMap locals: org.apache.http.impl.client.CloseableHttpClient org.apache.http.HttpHost org.apache.http.HttpRequest org.apache.http.client.ResponseHandler org.apache.http.protocol.HttpContext org.apache.http.client.methods.CloseableHttpResponse
StackMap stack: java.lang.Throwable
astore 9
16: aload 5
invokeinterface org.apache.http.client.methods.CloseableHttpResponse.close:()V
17: aload 9
athrow
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 18 0 this Lorg/apache/http/impl/client/CloseableHttpClient;
0 18 1 target Lorg/apache/http/HttpHost;
0 18 2 request Lorg/apache/http/HttpRequest;
0 18 3 responseHandler Lorg/apache/http/client/ResponseHandler<+TT;>;
0 18 4 context Lorg/apache/http/protocol/HttpContext;
2 18 5 response Lorg/apache/http/client/methods/CloseableHttpResponse;
3 8 6 result TT;
4 8 7 entity Lorg/apache/http/HttpEntity;
9 15 6 t Lorg/apache/http/client/ClientProtocolException;
10 15 7 entity Lorg/apache/http/HttpEntity;
13 14 8 t2 Ljava/lang/Exception;
Exception table:
from to target type
2 6 8 Class org.apache.http.client.ClientProtocolException
10 11 12 Class java.lang.Exception
2 6 15 any
8 15 15 any
Exceptions:
throws java.io.IOException, org.apache.http.client.ClientProtocolException
Signature: <T:Ljava/lang/Object;>(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/client/ResponseHandler<+TT;>;Lorg/apache/http/protocol/HttpContext;)TT;
MethodParameters:
Name Flags
target final
request final
responseHandler final
context final
public org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest);
descriptor: (Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;)Lorg/apache/http/HttpResponse;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual org.apache.http.impl.client.CloseableHttpClient.execute:(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;)Lorg/apache/http/client/methods/CloseableHttpResponse;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException, org.apache.http.client.ClientProtocolException
public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest);
descriptor: (Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/HttpResponse;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.apache.http.impl.client.CloseableHttpClient.execute:(Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/client/methods/CloseableHttpResponse;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException, org.apache.http.client.ClientProtocolException
public org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.protocol.HttpContext);
descriptor: (Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/HttpResponse;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual org.apache.http.impl.client.CloseableHttpClient.execute:(Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/client/methods/CloseableHttpResponse;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException, org.apache.http.client.ClientProtocolException
public org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext);
descriptor: (Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/HttpResponse;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
aload 3
invokevirtual org.apache.http.impl.client.CloseableHttpClient.execute:(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/client/methods/CloseableHttpResponse;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException, org.apache.http.client.ClientProtocolException
}
SourceFile: "CloseableHttpClient.java"
RuntimeInvisibleAnnotations:
org.apache.http.annotation.Contract(threading = org.apache.http.annotation.ThreadingBehavior.SAFE:Lorg/apache/http/annotation/ThreadingBehavior;)