Package com.meterware.httpunit
Class HttpsProtocolSupport
java.lang.Object
com.meterware.httpunit.HttpsProtocolSupport
Encapsulates support for the HTTPS protocol.
- Author:
- Russell Gold
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Class
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 classstatic void
useIBM()
use the IBM WebShpere handlersstatic void
useProvider
(String className, String handlerName) use the given SSL providers - reset the one used so far
-
Field Details
-
SunJSSE_PROVIDER_CLASS
- See Also:
-
SunJSSE_PROVIDER_CLASS2
- See Also:
-
SunSSL_PROTOCOL_HANDLER
- See Also:
-
IBMJSSE_PROVIDER_CLASS
- See Also:
-
IBMSSL_PROTOCOL_HANDLER
- See Also:
-
-
Constructor Details
-
HttpsProtocolSupport
public HttpsProtocolSupport()
-
-
Method Details
-
useProvider
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
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:
ClassNotFoundException
-