com.meterware.httpunit
Class HttpsProtocolSupport
java.lang.Object
com.meterware.httpunit.HttpsProtocolSupport
- public abstract class HttpsProtocolSupport
- extends java.lang.Object
Encapsulates support for the HTTPS protocol.
- Author:
- Russell Gold
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 |
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
HttpsProtocolSupport
public HttpsProtocolSupport()
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