com.github.ignition.support.http
Class IgnitedHttpRequestRetryHandler

java.lang.Object
  extended by com.github.ignition.support.http.IgnitedHttpRequestRetryHandler
All Implemented Interfaces:
org.apache.http.client.HttpRequestRetryHandler

public class IgnitedHttpRequestRetryHandler
extends Object
implements org.apache.http.client.HttpRequestRetryHandler


Constructor Summary
IgnitedHttpRequestRetryHandler(int maxRetries)
           
 
Method Summary
 int getTimesRetried()
           
 boolean retryRequest(IOException exception, int executionCount, org.apache.http.protocol.HttpContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IgnitedHttpRequestRetryHandler

public IgnitedHttpRequestRetryHandler(int maxRetries)
Method Detail

retryRequest

public boolean retryRequest(IOException exception,
                            int executionCount,
                            org.apache.http.protocol.HttpContext context)
Specified by:
retryRequest in interface org.apache.http.client.HttpRequestRetryHandler

getTimesRetried

public int getTimesRetried()


Copyright © 2012. All Rights Reserved.