uk.org.iscream.cms.server.filter.plugins
Class HTTP__ServiceCheck
java.lang.Object
uk.org.iscream.cms.server.filter.plugins.HTTP__ServiceCheck
- All Implemented Interfaces:
- PluginServiceCheck
- public class HTTP__ServiceCheck
- extends Object
- implements PluginServiceCheck
Tests whether a webserver is responding on port 80.
Connects on port 80 and performs a simple HTTP HEAD request.
Currently it sends back 200 for OK, anything else indicates a failure.
- Version:
- $Id: HTTP__ServiceCheck.java,v 1.12 2004/08/01 10:41:02 tdb Exp $
- Author:
- $Author: tdb $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REVISION
public final String REVISION
- The current CVS revision of this class
- See Also:
- Constant Field Values
DESC
public final String DESC
- See Also:
- Constant Field Values
HTTP__ServiceCheck
public HTTP__ServiceCheck()
runServiceCheck
public String runServiceCheck(String hostname)
- Performs the service check on a given host.
- Specified by:
runServiceCheck
in interface PluginServiceCheck
- Parameters:
hostname
- the host to check
- Returns:
- XML data representing the result of the test
getDescription
public String getDescription()
- return the String representation of what the filter does
- Specified by:
getDescription
in interface PluginServiceCheck
- Returns:
- the description
Copyright © 2000-2003 i-scream. All Rights Reserved.