org.jdiagnose.library
Class HttpUrlDiagnostic
java.lang.Object
org.jdiagnose.DiagnosticUnit
org.jdiagnose.library.HttpUrlDiagnostic
- All Implemented Interfaces:
- Diagnostic, DiagnosticContainer, DiagnosticUnitLifeCycle
- public class HttpUrlDiagnostic
- extends DiagnosticUnit
Check a Http URL.
- Author:
- jmccrindle
- See Also:
HttpProxyConfig
Constructor Summary |
HttpUrlDiagnostic()
Create an empty HttpUrlDiagnostic. |
HttpUrlDiagnostic(java.lang.String name)
Creates an HttpUrlDiagnostic with a fully qualified
name. |
Methods inherited from class org.jdiagnose.DiagnosticUnit |
assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertTrue, assertTrue, diagnose, getDiagnosticContainers, getDiagnostics, getName, setUp, tearDown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpUrlDiagnostic
public HttpUrlDiagnostic()
- Create an empty HttpUrlDiagnostic. Url property
must be set.
HttpUrlDiagnostic
public HttpUrlDiagnostic(java.lang.String name)
- Creates an HttpUrlDiagnostic with a fully qualified
name. The url property must be set for this class
- Parameters:
name
- the fqn for this diagnostic
diagnoseUrl
public void diagnoseUrl()
throws java.io.IOException
- Diagnose a particular URL
- Throws:
java.io.IOException
getUrl
public java.lang.String getUrl()
setUrl
public void setUrl(java.lang.String string)
getMethod
public java.lang.String getMethod()
setMethod
public void setMethod(java.lang.String method)
getParameters
public java.util.Properties getParameters()
setParameters
public void setParameters(java.util.Properties parameters)
getProxyConfig
public HttpProxyConfig getProxyConfig()
setProxyConfig
public void setProxyConfig(HttpProxyConfig proxyConfig)
Copyright © 2004-2005 Grape Design Limited. All Rights Reserved.