org.apache.http.impl.execchain
Class BackoffStrategyExec

java.lang.Object
  extended by org.apache.http.impl.execchain.BackoffStrategyExec
All Implemented Interfaces:
ClientExecChain

@Immutable
public class BackoffStrategyExec
extends Object
implements ClientExecChain

Since:
4.3

Constructor Summary
BackoffStrategyExec(ClientExecChain requestExecutor, ConnectionBackoffStrategy connectionBackoffStrategy, BackoffManager backoffManager)
           
 
Method Summary
 CloseableHttpResponse execute(HttpRoute route, HttpRequestWrapper request, HttpClientContext context, HttpExecutionAware execAware)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackoffStrategyExec

public BackoffStrategyExec(ClientExecChain requestExecutor,
                           ConnectionBackoffStrategy connectionBackoffStrategy,
                           BackoffManager backoffManager)
Method Detail

execute

public CloseableHttpResponse execute(HttpRoute route,
                                     HttpRequestWrapper request,
                                     HttpClientContext context,
                                     HttpExecutionAware execAware)
                              throws IOException,
                                     HttpException
Specified by:
execute in interface ClientExecChain
Throws:
IOException
HttpException


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.