Class HttpSocketFactory
- java.lang.Object
-
- org.sblim.cimclient.internal.http.HttpSocketFactory
-
public class HttpSocketFactory extends java.lang.ObjectClass HttpSocketFactory manages socket factories
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.net.SocketFactorygetClientSocketFactory(javax.net.ssl.SSLContext pContext)Returns a client socket factoryjavax.net.ssl.SSLContextgetClientSSLContext(WBEMConfiguration pProperties)Returns a SSLContext for client sockets corresponding to a given set of configuration propertiesstatic HttpSocketFactorygetInstance()Returns the singleton instancejavax.net.ServerSocketFactorygetServerSocketFactory(javax.net.ssl.SSLContext pContext)Returns a server socket factoryjavax.net.ssl.SSLContextgetServerSSLContext(WBEMConfiguration pProperties)Returns a SSLContext for server sockets corresponding to a given set of configuration properties
-
-
-
Method Detail
-
getInstance
public static HttpSocketFactory getInstance()
Returns the singleton instance- Returns:
- The instance
-
getServerSocketFactory
public javax.net.ServerSocketFactory getServerSocketFactory(javax.net.ssl.SSLContext pContext)
Returns a server socket factory- Parameters:
pContext- The corresponding SSL context ornullfor insecure connections- Returns:
- The factory
-
getClientSocketFactory
public javax.net.SocketFactory getClientSocketFactory(javax.net.ssl.SSLContext pContext)
Returns a client socket factory- Parameters:
pContext- The SSL context ornullfor insecure connections- Returns:
- The factory
-
getClientSSLContext
public javax.net.ssl.SSLContext getClientSSLContext(WBEMConfiguration pProperties)
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
public javax.net.ssl.SSLContext getServerSSLContext(WBEMConfiguration pProperties)
Returns a SSLContext for server sockets corresponding to a given set of configuration properties- Parameters:
pProperties- The configuration to apply- Returns:
- The SSL context
-
-