net.sf.urlchecker.v2.exception.handling
Class AlwaysTrue

Package class diagram package AlwaysTrue
java.lang.Object
  extended by 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

Constructor Summary
AlwaysTrue()
           
 
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
 

Constructor Detail

AlwaysTrue

public AlwaysTrue()
Method Detail

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 method
exception - the exception
retryCount - the retry count
Returns:
true, if successful


Copyright © 2010 Nikolaos Georgosopoulos. All Rights Reserved.