public class org.apache.http.impl.execchain.BackoffStrategyExec implements org.apache.http.impl.execchain.ClientExecChain
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.http.impl.execchain.BackoffStrategyExec
super_class: java.lang.Object
{
private final org.apache.http.impl.execchain.ClientExecChain requestExecutor;
descriptor: Lorg/apache/http/impl/execchain/ClientExecChain;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.http.client.ConnectionBackoffStrategy connectionBackoffStrategy;
descriptor: Lorg/apache/http/client/ConnectionBackoffStrategy;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.http.client.BackoffManager backoffManager;
descriptor: Lorg/apache/http/client/BackoffManager;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.apache.http.impl.execchain.ClientExecChain, org.apache.http.client.ConnectionBackoffStrategy, org.apache.http.client.BackoffManager);
descriptor: (Lorg/apache/http/impl/execchain/ClientExecChain;Lorg/apache/http/client/ConnectionBackoffStrategy;Lorg/apache/http/client/BackoffManager;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "HTTP client request executor"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 2
ldc "Connection backoff strategy"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
3: aload 3
ldc "Backoff manager"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
4: aload 0
aload 1
putfield org.apache.http.impl.execchain.BackoffStrategyExec.requestExecutor:Lorg/apache/http/impl/execchain/ClientExecChain;
5: aload 0
aload 2
putfield org.apache.http.impl.execchain.BackoffStrategyExec.connectionBackoffStrategy:Lorg/apache/http/client/ConnectionBackoffStrategy;
6: aload 0
aload 3
putfield org.apache.http.impl.execchain.BackoffStrategyExec.backoffManager:Lorg/apache/http/client/BackoffManager;
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/http/impl/execchain/BackoffStrategyExec;
0 8 1 requestExecutor Lorg/apache/http/impl/execchain/ClientExecChain;
0 8 2 connectionBackoffStrategy Lorg/apache/http/client/ConnectionBackoffStrategy;
0 8 3 backoffManager Lorg/apache/http/client/BackoffManager;
MethodParameters:
Name Flags
requestExecutor final
connectionBackoffStrategy final
backoffManager final
public org.apache.http.client.methods.CloseableHttpResponse execute(org.apache.http.conn.routing.HttpRoute, org.apache.http.client.methods.HttpRequestWrapper, org.apache.http.client.protocol.HttpClientContext, org.apache.http.client.methods.HttpExecutionAware);
descriptor: (Lorg/apache/http/conn/routing/HttpRoute;Lorg/apache/http/client/methods/HttpRequestWrapper;Lorg/apache/http/client/protocol/HttpClientContext;Lorg/apache/http/client/methods/HttpExecutionAware;)Lorg/apache/http/client/methods/CloseableHttpResponse;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
ldc "HTTP route"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 2
ldc "HTTP request"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 3
ldc "HTTP context"
invokestatic org.apache.http.util.Args.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
3: aconst_null
astore 5
start local 5 4: aload 0
getfield org.apache.http.impl.execchain.BackoffStrategyExec.requestExecutor:Lorg/apache/http/impl/execchain/ClientExecChain;
aload 1
aload 2
aload 3
aload 4
invokeinterface org.apache.http.impl.execchain.ClientExecChain.execute:(Lorg/apache/http/conn/routing/HttpRoute;Lorg/apache/http/client/methods/HttpRequestWrapper;Lorg/apache/http/client/protocol/HttpClientContext;Lorg/apache/http/client/methods/HttpExecutionAware;)Lorg/apache/http/client/methods/CloseableHttpResponse;
astore 5
5: goto 18
StackMap locals: org.apache.http.impl.execchain.BackoffStrategyExec org.apache.http.conn.routing.HttpRoute org.apache.http.client.methods.HttpRequestWrapper org.apache.http.client.protocol.HttpClientContext org.apache.http.client.methods.HttpExecutionAware org.apache.http.client.methods.CloseableHttpResponse
StackMap stack: java.lang.Exception
6: astore 6
start local 6 7: aload 5
ifnull 9
8: aload 5
invokeinterface org.apache.http.client.methods.CloseableHttpResponse.close:()V
9: StackMap locals: java.lang.Exception
StackMap stack:
aload 0
getfield org.apache.http.impl.execchain.BackoffStrategyExec.connectionBackoffStrategy:Lorg/apache/http/client/ConnectionBackoffStrategy;
aload 6
invokeinterface org.apache.http.client.ConnectionBackoffStrategy.shouldBackoff:(Ljava/lang/Throwable;)Z
ifeq 11
10: aload 0
getfield org.apache.http.impl.execchain.BackoffStrategyExec.backoffManager:Lorg/apache/http/client/BackoffManager;
aload 1
invokeinterface org.apache.http.client.BackoffManager.backOff:(Lorg/apache/http/conn/routing/HttpRoute;)V
11: StackMap locals:
StackMap stack:
aload 6
instanceof java.lang.RuntimeException
ifeq 13
12: aload 6
checkcast java.lang.RuntimeException
athrow
13: StackMap locals:
StackMap stack:
aload 6
instanceof org.apache.http.HttpException
ifeq 15
14: aload 6
checkcast org.apache.http.HttpException
athrow
15: StackMap locals:
StackMap stack:
aload 6
instanceof java.io.IOException
ifeq 17
16: aload 6
checkcast java.io.IOException
athrow
17: StackMap locals:
StackMap stack:
new java.lang.reflect.UndeclaredThrowableException
dup
aload 6
invokespecial java.lang.reflect.UndeclaredThrowableException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 6 18: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.http.impl.execchain.BackoffStrategyExec.connectionBackoffStrategy:Lorg/apache/http/client/ConnectionBackoffStrategy;
aload 5
invokeinterface org.apache.http.client.ConnectionBackoffStrategy.shouldBackoff:(Lorg/apache/http/HttpResponse;)Z
ifeq 21
19: aload 0
getfield org.apache.http.impl.execchain.BackoffStrategyExec.backoffManager:Lorg/apache/http/client/BackoffManager;
aload 1
invokeinterface org.apache.http.client.BackoffManager.backOff:(Lorg/apache/http/conn/routing/HttpRoute;)V
20: goto 22
21: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.http.impl.execchain.BackoffStrategyExec.backoffManager:Lorg/apache/http/client/BackoffManager;
aload 1
invokeinterface org.apache.http.client.BackoffManager.probe:(Lorg/apache/http/conn/routing/HttpRoute;)V
22: StackMap locals:
StackMap stack:
aload 5
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 23 0 this Lorg/apache/http/impl/execchain/BackoffStrategyExec;
0 23 1 route Lorg/apache/http/conn/routing/HttpRoute;
0 23 2 request Lorg/apache/http/client/methods/HttpRequestWrapper;
0 23 3 context Lorg/apache/http/client/protocol/HttpClientContext;
0 23 4 execAware Lorg/apache/http/client/methods/HttpExecutionAware;
4 23 5 out Lorg/apache/http/client/methods/CloseableHttpResponse;
7 18 6 ex Ljava/lang/Exception;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
Exceptions:
throws java.io.IOException, org.apache.http.HttpException
MethodParameters:
Name Flags
route final
request final
context final
execAware final
}
SourceFile: "BackoffStrategyExec.java"
RuntimeInvisibleAnnotations:
org.apache.http.annotation.Contract(threading = org.apache.http.annotation.ThreadingBehavior.IMMUTABLE_CONDITIONAL:Lorg/apache/http/annotation/ThreadingBehavior;)