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

Package class diagram package AlwaysFalse
java.lang.Object
  extended by net.sf.urlchecker.v2.exception.handling.AlwaysFalse
All Implemented Interfaces:
Serializable, ExceptionHandler<org.apache.http.protocol.HttpContext>

public class AlwaysFalse
extends Object
implements ExceptionHandler<org.apache.http.protocol.HttpContext>, Serializable

The AlwaysFalse Exception Handler for the new version of the HttpClient.

$Id: AlwaysFalse.java 183 2010-12-17 19:10:21Z georgosn $

Version:
$LastChangedRevision: 183 $
Author:
$LastChangedBy: georgosn $
See Also:
Serialized Form

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

AlwaysFalse

public AlwaysFalse()
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.