net.sf.urlchecker.commands
Class CheckUrlsProcess
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckUrlsProcess
public CheckUrlsProcess(org.apache.commons.httpclient.HttpClient aClient,
Result res)
throws org.apache.commons.configuration.ConfigurationException
- Instantiates a new process.
- Parameters:
aClient
- the clientres
- the res
- Throws:
org.apache.commons.configuration.ConfigurationException
- the configuration exception
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.