com.meterware.httpunit
Class HttpsProtocolSupport

java.lang.Object
  extended bycom.meterware.httpunit.HttpsProtocolSupport

public abstract class HttpsProtocolSupport
extends java.lang.Object

Encapsulates support for the HTTPS protocol.

Author:
Russell Gold

Field Summary
static java.lang.String IBMJSSE_PROVIDER_CLASS
           
static java.lang.String IBMSSL_PROTOCOL_HANDLER
           
static java.lang.String SunJSSE_PROVIDER_CLASS
           
static java.lang.String SunJSSE_PROVIDER_CLASS2
           
static java.lang.String SunSSL_PROTOCOL_HANDLER
           
 
Constructor Summary
HttpsProtocolSupport()
           
 
Method Summary
static java.lang.Class getHttpsProviderClass()
          get the Https Provider Class if it's been set already return it - otherwise check with the Security package and take the first available provider if all fails take the default provider class
static void useIBM()
          use the IBM WebShpere handlers
static void useProvider(java.lang.String className, java.lang.String handlerName)
          use the given SSL providers - reset the one used so far
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SunJSSE_PROVIDER_CLASS

public static final java.lang.String SunJSSE_PROVIDER_CLASS
See Also:
Constant Field Values

SunJSSE_PROVIDER_CLASS2

public static final java.lang.String SunJSSE_PROVIDER_CLASS2
See Also:
Constant Field Values

SunSSL_PROTOCOL_HANDLER

public static final java.lang.String SunSSL_PROTOCOL_HANDLER
See Also:
Constant Field Values

IBMJSSE_PROVIDER_CLASS

public static final java.lang.String IBMJSSE_PROVIDER_CLASS
See Also:
Constant Field Values

IBMSSL_PROTOCOL_HANDLER

public static final java.lang.String IBMSSL_PROTOCOL_HANDLER
See Also:
Constant Field Values
Constructor Detail

HttpsProtocolSupport

public HttpsProtocolSupport()
Method Detail

useProvider

public static void useProvider(java.lang.String className,
                               java.lang.String handlerName)
use the given SSL providers - reset the one used so far

Parameters:
className -
handlerName -

useIBM

public static void useIBM()
use the IBM WebShpere handlers


getHttpsProviderClass

public static java.lang.Class getHttpsProviderClass()
                                             throws java.lang.ClassNotFoundException
get the Https Provider Class if it's been set already return it - otherwise check with the Security package and take the first available provider if all fails take the default provider class

Returns:
the HttpsProviderClass
Throws:
java.lang.ClassNotFoundException

Copyright © 2000-2008 Russell Gold. See license agreement for rights granted.