public class SSLProtocolSocketFactory extends Object implements org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
TrustAllTrustManager| Constructor and Description |
|---|
SSLProtocolSocketFactory(SSLContext ctx) |
| 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 clientHost,
int clientPort) |
Socket |
createSocket(String host,
int port,
InetAddress localAddress,
int localPort,
org.apache.commons.httpclient.params.HttpConnectionParams params) |
public SSLProtocolSocketFactory(SSLContext ctx)
public Socket createSocket(String host, int port, InetAddress localAddress, int localPort, org.apache.commons.httpclient.params.HttpConnectionParams params) throws IOException
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactoryIOExceptionpublic Socket createSocket(String host, int port, InetAddress clientHost, int clientPort) throws IOException
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactoryIOExceptionProtocolSocketFactory.createSocket(java.lang.String, int, java.net.InetAddress, int)public Socket createSocket(String host, int port) throws IOException
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactoryIOExceptionProtocolSocketFactory.createSocket(java.lang.String, int)public Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException
createSocket in interface org.apache.commons.httpclient.protocol.SecureProtocolSocketFactoryIOExceptionSecureProtocolSocketFactory.createSocket(java.net.Socket, java.lang.String, int, boolean)Copyright © The Apache Software Foundation. All Rights Reserved.