org.jdiagnose.library
Class HttpsUrlDiagnostic
java.lang.Object
org.jdiagnose.DiagnosticUnit
org.jdiagnose.library.HttpsUrlDiagnostic
- All Implemented Interfaces:
- Diagnostic, DiagnosticContainer, DiagnosticUnitLifeCycle
- public class HttpsUrlDiagnostic
- extends DiagnosticUnit
Check a Https Url. Given the pain involved in getting Https working
under Java 1.3, Java 1.4+ is recommended.
- Author:
- jmccrindle
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 |
HttpsUrlDiagnostic
public HttpsUrlDiagnostic(java.lang.String name)
- Parameters:
name
-
HttpsUrlDiagnostic
public HttpsUrlDiagnostic()
- Creates a default https url diagnostic. URL is a required property
diagnoseUrl
public void diagnoseUrl()
throws java.io.IOException
- Diagnose a particular url
- Throws:
java.io.IOException
- if there was a problem connecting
getUrl
public java.lang.String getUrl()
- Returns:
setUrl
public void setUrl(java.lang.String string)
- Parameters:
string
-
getProtocolHandler
public java.lang.String getProtocolHandler()
- Returns:
getProxyConfig
public HttpProxyConfig getProxyConfig()
- Returns:
setProtocolHandler
public void setProtocolHandler(java.lang.String string)
- Parameters:
string
-
setProxyConfig
public void setProxyConfig(HttpProxyConfig config)
- Parameters:
config
-
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)
Copyright © 2004-2005 Grape Design Limited. All Rights Reserved.