org.jdiagnose.library
Class HttpsUrlDiagnostic

java.lang.Object
  extended byorg.jdiagnose.DiagnosticUnit
      extended byorg.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

Constructor Summary
HttpsUrlDiagnostic()
          Creates a default https url diagnostic.
HttpsUrlDiagnostic(java.lang.String name)
           
 
Method Summary
 void diagnoseUrl()
          Diagnose a particular url
 java.lang.String getMethod()
           
 java.util.Properties getParameters()
           
 java.lang.String getProtocolHandler()
           
 HttpProxyConfig getProxyConfig()
           
 java.lang.String getUrl()
           
 void setMethod(java.lang.String method)
           
 void setParameters(java.util.Properties parameters)
           
 void setProtocolHandler(java.lang.String string)
           
 void setProxyConfig(HttpProxyConfig config)
           
 void setUrl(java.lang.String string)
           
 
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
 

Constructor Detail

HttpsUrlDiagnostic

public HttpsUrlDiagnostic(java.lang.String name)
Parameters:
name -

HttpsUrlDiagnostic

public HttpsUrlDiagnostic()
Creates a default https url diagnostic. URL is a required property

Method Detail

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.