Class RomeAdapterRetryHandler

java.lang.Object
org.apache.http.impl.client.DefaultHttpRequestRetryHandler
org.jasig.portlet.newsreader.adapter.RomeAdapterRetryHandler
All Implemented Interfaces:
org.apache.http.client.HttpRequestRetryHandler

public class RomeAdapterRetryHandler extends org.apache.http.impl.client.DefaultHttpRequestRetryHandler

RomeAdapterRetryHandler class.

Since:
5.1.1
Author:
bgonzalez
  • Field Summary

    Fields inherited from class org.apache.http.impl.client.DefaultHttpRequestRetryHandler

    INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    RomeAdapterRetryHandler(int timesToRetry)
    Constructor for RomeAdapterRetryHandler.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    retryRequest(IOException exception, int executionCount, org.apache.http.protocol.HttpContext context)

    Methods inherited from class org.apache.http.impl.client.DefaultHttpRequestRetryHandler

    getRetryCount, handleAsIdempotent, isRequestSentRetryEnabled, requestIsAborted

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RomeAdapterRetryHandler

      public RomeAdapterRetryHandler(int timesToRetry)

      Constructor for RomeAdapterRetryHandler.

      Parameters:
      timesToRetry - a int
  • Method Details

    • retryRequest

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