Class DefaultRetryHandler

java.lang.Object
com.fullcontact.apilib.retry.DefaultRetryHandler
All Implemented Interfaces:
RetryHandler

public class DefaultRetryHandler
extends java.lang.Object
implements RetryHandler
  • Constructor Summary

    Constructors 
    Constructor Description
    DefaultRetryHandler()  
  • Method Summary

    Modifier and Type Method Description
    int getRetryAttempts()
    Specifies Number of Retry Attempts allowed
    int getRetryDelayMillis()
    Specifies Delay time in milliseconds before each retry
    boolean shouldRetry​(int responseCode)
    Specifies retry condition based on status code of response

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait