net.sf.urlchecker.commands
Class CheckUrlsProcess

Package class diagram package CheckUrlsProcess
java.lang.Object
  extended by net.sf.urlchecker.commands.CheckUrlsProcess
All Implemented Interfaces:
Runnable

public class CheckUrlsProcess
extends Object
implements Runnable

The Class CheckUrlsProcess executes an Internet check for a given result using a configured client. This implementation uses the old httpClient from jakarta.

$Id: CheckUrlsProcess.java 181 2010-12-12 23:39:00Z georgosn $

Version:
$LastChangedRevision: 181 $
Author:
$LastChangedBy: georgosn $

Constructor Summary
CheckUrlsProcess(org.apache.commons.httpclient.HttpClient aClient, Result res)
          Instantiates a new process.
 
Method Summary
 Result getResult()
          Gets the result.
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckUrlsProcess

public CheckUrlsProcess(org.apache.commons.httpclient.HttpClient aClient,
                        Result res)
                 throws org.apache.commons.configuration.ConfigurationException
Instantiates a new process.

Parameters:
aClient - the client
res - the res
Throws:
org.apache.commons.configuration.ConfigurationException - the configuration exception
Method Detail

getResult

public Result getResult()
Gets the result.

Returns:
the result

run

public void run()
Specified by:
run in interface Runnable


Copyright © 2010 Nikolaos Georgosopoulos. All Rights Reserved.