de.phleisch.app.itsucks.io.http.impl
Class HttpRetrieverResponseCodeBehaviour.ResponseCodeRange

java.lang.Object
  extended by de.phleisch.app.itsucks.io.http.impl.HttpRetrieverResponseCodeBehaviour.ResponseCodeRange
All Implemented Interfaces:
java.lang.Comparable<HttpRetrieverResponseCodeBehaviour.ResponseCodeRange>
Enclosing class:
HttpRetrieverResponseCodeBehaviour

public static class HttpRetrieverResponseCodeBehaviour.ResponseCodeRange
extends java.lang.Object
implements java.lang.Comparable<HttpRetrieverResponseCodeBehaviour.ResponseCodeRange>


Field Summary
static int HIGH_PRIORITY
           
static int LOW_PRIORITY
           
static int MEDIUM_PRIORITY
           
 
Constructor Summary
HttpRetrieverResponseCodeBehaviour.ResponseCodeRange(int pResponseCodeFrom, int pResponseCodeTo, HttpRetrieverResponseCodeBehaviour.Action pAction)
           
HttpRetrieverResponseCodeBehaviour.ResponseCodeRange(int pResponseCodeFrom, int pResponseCodeTo, HttpRetrieverResponseCodeBehaviour.Action pAction, int pPriority)
           
 
Method Summary
 int compareTo(HttpRetrieverResponseCodeBehaviour.ResponseCodeRange pResponseCodeRange)
           
 boolean equals(java.lang.Object pResponseCodeRange)
           
 HttpRetrieverResponseCodeBehaviour.Action getAction()
           
 int getPriority()
           
 int getResponseCodeFrom()
           
 int getResponseCodeTo()
           
 java.lang.Long getTimeToWaitBetweenRetry()
           
 int hashCode()
           
 void setAction(HttpRetrieverResponseCodeBehaviour.Action pAction)
           
 void setTimeToWaitBetweenRetry(java.lang.Long pTimeToWaitBetweenRetry)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOW_PRIORITY

public static final int LOW_PRIORITY
See Also:
Constant Field Values

MEDIUM_PRIORITY

public static final int MEDIUM_PRIORITY
See Also:
Constant Field Values

HIGH_PRIORITY

public static final int HIGH_PRIORITY
See Also:
Constant Field Values
Constructor Detail

HttpRetrieverResponseCodeBehaviour.ResponseCodeRange

public HttpRetrieverResponseCodeBehaviour.ResponseCodeRange(int pResponseCodeFrom,
                                                            int pResponseCodeTo,
                                                            HttpRetrieverResponseCodeBehaviour.Action pAction)

HttpRetrieverResponseCodeBehaviour.ResponseCodeRange

public HttpRetrieverResponseCodeBehaviour.ResponseCodeRange(int pResponseCodeFrom,
                                                            int pResponseCodeTo,
                                                            HttpRetrieverResponseCodeBehaviour.Action pAction,
                                                            int pPriority)
Method Detail

getResponseCodeFrom

public int getResponseCodeFrom()

getResponseCodeTo

public int getResponseCodeTo()

setAction

public void setAction(HttpRetrieverResponseCodeBehaviour.Action pAction)

getAction

public HttpRetrieverResponseCodeBehaviour.Action getAction()

getPriority

public int getPriority()

getTimeToWaitBetweenRetry

public java.lang.Long getTimeToWaitBetweenRetry()

setTimeToWaitBetweenRetry

public void setTimeToWaitBetweenRetry(java.lang.Long pTimeToWaitBetweenRetry)

compareTo

public int compareTo(HttpRetrieverResponseCodeBehaviour.ResponseCodeRange pResponseCodeRange)
Specified by:
compareTo in interface java.lang.Comparable<HttpRetrieverResponseCodeBehaviour.ResponseCodeRange>

equals

public boolean equals(java.lang.Object pResponseCodeRange)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2010. All Rights Reserved.