public class AcceptAllTrustFactory extends Object implements org.apache.commons.httpclient.protocol.ProtocolSocketFactory
| Constructor and Description |
|---|
AcceptAllTrustFactory() |
| 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 Socket createSocket(String host, int port, InetAddress clientHost, int clientPort) throws IOException
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactoryIOExceptionpublic 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) throws IOException
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactoryIOExceptionpublic Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException
IOExceptionCopyright © 2015 Denim Group, Ltd.. All rights reserved.