Class HttpSocketFactory
java.lang.Object
org.sblim.cimclient.internal.http.HttpSocketFactory
Class HttpSocketFactory manages socket factories
-
Method Summary
Modifier and TypeMethodDescriptiongetClientSocketFactory(SSLContext pContext) Returns a client socket factorygetClientSSLContext(WBEMConfiguration pProperties) Returns a SSLContext for client sockets corresponding to a given set of configuration propertiesstatic HttpSocketFactoryReturns the singleton instancegetServerSocketFactory(SSLContext pContext) Returns a server socket factorygetServerSSLContext(WBEMConfiguration pProperties) Returns a SSLContext for server sockets corresponding to a given set of configuration properties
-
Method Details
-
getInstance
-
getServerSocketFactory
Returns a server socket factory- Parameters:
pContext- The corresponding SSL context ornullfor insecure connections- Returns:
- The factory
-
getClientSocketFactory
Returns a client socket factory- Parameters:
pContext- The SSL context ornullfor insecure connections- Returns:
- The factory
-
getClientSSLContext
Returns a SSLContext for client sockets corresponding to a given set of configuration properties- Parameters:
pProperties- The configuration to apply- Returns:
- The SSL context
-
getServerSSLContext
Returns a SSLContext for server sockets corresponding to a given set of configuration properties- Parameters:
pProperties- The configuration to apply- Returns:
- The SSL context
-