Both
java.lang.Object.equals(java.lang.Object) Object.equals() and
java.lang.Object.hashCode Object.hashCode() 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.
Gets a new socket connection to the given host.
Parameters: host - the host name/IP Parameters: port - the port on the host Parameters: localAddress - the local host name/IP to bind the socket to Parameters: localPort - the port on the local machine Socket a new socket throws: IOException - if an I/O error occurs while creating the socket throws: UnknownHostException - if the IP address of the host cannot bedetermined
Gets a new socket connection to the given host.
Parameters: host - the host name/IP Parameters: port - the port on the host Parameters: localAddress - the local host name/IP to bind the socket to Parameters: localPort - the port on the local machine Parameters: params - HttpConnectionParams Http connection parameters Socket a new socket throws: IOException - if an I/O error occurs while creating the socket throws: UnknownHostException - if the IP address of the host cannot bedetermined throws: ConnectTimeoutException - if socket cannot be connected within thegiven time limit since: 3.0
Gets a new socket connection to the given host.
Parameters: host - the host name/IP Parameters: port - the port on the host Socket a new socket throws: IOException - if an I/O error occurs while creating the socket throws: UnknownHostException - if the IP address of the host cannot bedetermined