public abstract class HttpsProtocolSupport extends Object
Modifier and Type | Field and Description |
---|---|
static String |
IBMJSSE_PROVIDER_CLASS |
static String |
IBMSSL_PROTOCOL_HANDLER |
static String |
SunJSSE_PROVIDER_CLASS |
static String |
SunJSSE_PROVIDER_CLASS2 |
static String |
SunSSL_PROTOCOL_HANDLER |
Constructor and Description |
---|
HttpsProtocolSupport() |
Modifier and Type | Method and Description |
---|---|
static 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(String className,
String handlerName)
use the given SSL providers - reset the one used so far
|
public static final String SunJSSE_PROVIDER_CLASS
public static final String SunJSSE_PROVIDER_CLASS2
public static final String SunSSL_PROTOCOL_HANDLER
public static final String IBMJSSE_PROVIDER_CLASS
public static final String IBMSSL_PROTOCOL_HANDLER
public static void useProvider(String className, String handlerName)
className
- handlerName
- public static void useIBM()
public static Class getHttpsProviderClass() throws ClassNotFoundException
ClassNotFoundException
Copyright © 2012. All Rights Reserved.