org.apache.http.impl.execchain
Class RetryExec

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

@Immutable
public class RetryExec
extends Object
implements ClientExecChain

Since:
4.3

Constructor Summary
RetryExec(ClientExecChain requestExecutor, HttpRequestRetryHandler retryHandler)
           
 
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

RetryExec

public RetryExec(ClientExecChain requestExecutor,
                 HttpRequestRetryHandler retryHandler)
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.