public class CustomSSLSocketFactory
extends org.apache.http.conn.ssl.SSLSocketFactory
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
log |
Constructor and Description |
---|
CustomSSLSocketFactory(javax.net.ssl.SSLContext sslContext,
boolean useOnlySSLv3) |
Modifier and Type | Method and Description |
---|---|
java.net.Socket |
createSocket() |
java.net.Socket |
createSocket(java.net.Socket socket,
java.lang.String host,
int port,
boolean autoClose) |
connectSocket, connectSocket, connectSocket, createLayeredSocket, createLayeredSocket, createLayeredSocket, createSocket, createSocket, getHostnameVerifier, getSocketFactory, getSystemSocketFactory, isSecure, prepareSocket, setHostnameVerifier
public CustomSSLSocketFactory(javax.net.ssl.SSLContext sslContext, boolean useOnlySSLv3) throws java.lang.Exception
java.lang.Exception
public java.net.Socket createSocket(java.net.Socket socket, java.lang.String host, int port, boolean autoClose) throws java.io.IOException, java.net.UnknownHostException
createSocket
in interface org.apache.http.conn.scheme.LayeredSocketFactory
createSocket
in class org.apache.http.conn.ssl.SSLSocketFactory
java.io.IOException
java.net.UnknownHostException
public java.net.Socket createSocket() throws java.io.IOException
createSocket
in interface org.apache.http.conn.scheme.SocketFactory
createSocket
in class org.apache.http.conn.ssl.SSLSocketFactory
java.io.IOException