| org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
All known Subclasses: org.apache.commons.httpclient.ssl.SimpleSSLTestProtocolSocketFactory, org.apache.commons.httpclient.contrib.ssl.SocketFactoryWrapper, org.apache.commons.httpclient.contrib.ssl.EasySSLProtocolSocketFactory, org.apache.commons.httpclient.contrib.ssl.StrictSSLProtocolSocketFactory, org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory, org.apache.commons.httpclient.contrib.ssl.AuthSSLProtocolSocketFactory,
Method Summary | |
Socket | createSocket(Socket socket, String host, int port, boolean autoClose) Returns a socket connected to the given host that is layered over an
existing socket. |
createSocket | Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException, UnknownHostException(Code) | | Returns a socket connected to the given host that is layered over an
existing socket. Used primarily for creating secure sockets through
proxies.
Parameters: socket - the existing socket Parameters: host - the host name/IP Parameters: port - the port on the host Parameters: autoClose - a flag for closing the underling socket when the createdsocket is closed 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 |
|
|