net.sf.urlchecker.v2.exception.handling
Class AlwaysTrue
java.lang.Object
net.sf.urlchecker.v2.exception.handling.AlwaysTrue
- All Implemented Interfaces:
- Serializable, ExceptionHandler<org.apache.http.protocol.HttpContext>
public class AlwaysTrue
- extends Object
- implements ExceptionHandler<org.apache.http.protocol.HttpContext>, Serializable
The AlwaysTrue Exception handler for the new HttpClient.
$Id: AlwaysTrue.java 183 2010-12-17 19:10:21Z georgosn $
- Version:
- $LastChangedRevision: 183 $
- Author:
- $LastChangedBy: georgosn $
- See Also:
- Serialized Form
Method Summary |
boolean |
handle(org.apache.http.protocol.HttpContext context,
IOException exception,
int retryCount)
Handle. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlwaysTrue
public AlwaysTrue()
handle
public boolean handle(org.apache.http.protocol.HttpContext context,
IOException exception,
int retryCount)
- Handle.
- Specified by:
handle
in interface ExceptionHandler<org.apache.http.protocol.HttpContext>
- Parameters:
context
- the methodexception
- the exceptionretryCount
- the retry count
- Returns:
- true, if successful
Copyright © 2010 Nikolaos Georgosopoulos. All Rights Reserved.