public class OpenSSLSocketFactory
extends org.apache.http.conn.ssl.SSLSocketFactory
| Constructor and Description |
|---|
OpenSSLSocketFactory(KeyStore truststore) |
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket() |
Socket |
createSocket(Socket socket,
String host,
int port,
boolean autoClose) |
public OpenSSLSocketFactory(KeyStore truststore) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
public Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException, UnknownHostException
createSocket in interface org.apache.http.conn.scheme.LayeredSocketFactorycreateSocket in class org.apache.http.conn.ssl.SSLSocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket() throws IOException
createSocket in interface org.apache.http.conn.scheme.SocketFactorycreateSocket in class org.apache.http.conn.ssl.SSLSocketFactoryIOExceptionCopyright © 2011–2015 eXo Platform SAS. All rights reserved.