de.geomobile.joined.api.service
Class JOSSLSocketFactory
java.lang.Object
org.apache.http.conn.ssl.SSLSocketFactory
de.geomobile.joined.api.service.JOSSLSocketFactory
- All Implemented Interfaces:
- org.apache.http.conn.scheme.LayeredSchemeSocketFactory, org.apache.http.conn.scheme.LayeredSocketFactory, org.apache.http.conn.scheme.SchemeSocketFactory, org.apache.http.conn.scheme.SocketFactory
public class JOSSLSocketFactory
- extends org.apache.http.conn.ssl.SSLSocketFactory
| Fields inherited from class org.apache.http.conn.ssl.SSLSocketFactory |
ALLOW_ALL_HOSTNAME_VERIFIER, BROWSER_COMPATIBLE_HOSTNAME_VERIFIER, SSL, SSLV2, STRICT_HOSTNAME_VERIFIER, TLS |
| Methods inherited from class org.apache.http.conn.ssl.SSLSocketFactory |
connectSocket, connectSocket, createLayeredSocket, createSocket, getHostnameVerifier, getSocketFactory, isSecure, setHostnameVerifier |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOSSLSocketFactory
public JOSSLSocketFactory(KeyStore truststore)
throws NoSuchAlgorithmException,
KeyManagementException,
KeyStoreException,
UnrecoverableKeyException
- Throws:
NoSuchAlgorithmException
KeyManagementException
KeyStoreException
UnrecoverableKeyException
createSocket
public Socket createSocket(Socket socket,
String host,
int port,
boolean autoClose)
throws IOException,
UnknownHostException
- Specified by:
createSocket in interface org.apache.http.conn.scheme.LayeredSocketFactory- Overrides:
createSocket in class org.apache.http.conn.ssl.SSLSocketFactory
- Throws:
IOException
UnknownHostException
createSocket
public Socket createSocket()
throws IOException
- Specified by:
createSocket in interface org.apache.http.conn.scheme.SocketFactory- Overrides:
createSocket in class org.apache.http.conn.ssl.SSLSocketFactory
- Throws:
IOException
Copyright © 2012 GeoMobile GmbH. All Rights Reserved.