public class ProtocolTimedSocketFactory extends Object implements org.apache.commons.httpclient.protocol.ProtocolSocketFactory
Constructor and Description |
---|
ProtocolTimedSocketFactory() |
Modifier and Type | Method and Description |
---|---|
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) |
boolean |
equals(Object obj)
All instances of ProtocolTimedSocketFactory are the same.
|
int |
hashCode()
All instances of ProtocolTimedSocketFactory have the same hash code.
|
public Socket createSocket(String host, int port, InetAddress localAddress, int localPort) throws IOException
createSocket
in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
IOException
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.ProtocolSocketFactory
IOException
public Socket createSocket(String host, int port) throws IOException
createSocket
in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
IOException
public boolean equals(Object obj)