public class SSLSocketFactorySSLProtocolSocketFactory
extends org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
Constructor and Description |
---|
SSLSocketFactorySSLProtocolSocketFactory(SSLSocketFactory factory) |
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket(Socket socket,
String host,
int port,
boolean autoClose) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress localAddress,
int localPort) |
Socket |
createSocket(String host,
int port,
InetAddress localAddress,
int localPort,
org.apache.commons.httpclient.params.HttpConnectionParams params) |
public SSLSocketFactorySSLProtocolSocketFactory(SSLSocketFactory factory)
public Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket
in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
createSocket
in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
IOException
UnknownHostException
public Socket createSocket(String host, int port, InetAddress localAddress, int localPort) throws IOException, UnknownHostException
createSocket
in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
createSocket
in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
IOException
UnknownHostException
public Socket createSocket(String host, int port, InetAddress localAddress, int localPort, org.apache.commons.httpclient.params.HttpConnectionParams params) throws IOException, UnknownHostException, org.apache.commons.httpclient.ConnectTimeoutException
createSocket
in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
createSocket
in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
IOException
UnknownHostException
org.apache.commons.httpclient.ConnectTimeoutException
public Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException, UnknownHostException
createSocket
in interface org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
createSocket
in class org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory
IOException
UnknownHostException