Package ch.autumo.beetroot.transport
Class SecureSocketFactory
java.lang.Object
ch.autumo.beetroot.transport.SecureSocketFactory
- All Implemented Interfaces:
SocketFactory
Secure Socket Factory.
-
Constructor Summary
ConstructorsConstructorDescriptionSecureSocketFactory(SSLSocketFactory sslSocketFactory, String[] sslProtocols) -
Method Summary
Modifier and TypeMethodDescriptionCreate client socket.Return the base (java.net) SSL socket factory.
-
Constructor Details
-
SecureSocketFactory
-
-
Method Details
-
create
Description copied from interface:SocketFactoryCreate client socket.- Specified by:
createin interfaceSocketFactory- Parameters:
host- hostport- port- Returns:
- client socket
- Throws:
IOException- IO exception
-
getBaseSocketFactory
Return the base (java.net) SSL socket factory.- Returns:
- base (java.net) SSL socket factory
-