|
|||||||||
| Home >> All >> org >> apache >> http >> [ io overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.http.io
Interface SocketFactory

- All Known Subinterfaces:
- SecureSocketFactory
- public interface SocketFactory
A factory for creating Sockets.
Both Object.equals() 55 and
Object.hashCode() 55 should be overridden appropriately.
Protocol socket factories are used to uniquely identify Protocols and
HostConfigurations, and equals() and hashCode() are
required for the correct operation of some connection managers.
- Since:
- 2.0
| Method Summary | |
java.net.Socket |
createSocket(java.lang.String host,
int port,
java.net.InetAddress localAddress,
int localPort,
org.apache.http.params.HttpParams params)
Gets a new socket connection to the given host. |
| Method Detail |
createSocket
public java.net.Socket createSocket(java.lang.String host, int port, java.net.InetAddress localAddress, int localPort, org.apache.http.params.HttpParams params) throws java.io.IOException, java.net.UnknownHostException, org.apache.http.ConnectTimeoutException
- Gets a new socket connection to the given host.
- Since:
- 3.0
|
|||||||||
| Home >> All >> org >> apache >> http >> [ io overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC