Home » HttpComponents-Core-4.0.1 » org.apache.http.io » [javadoc | source]
org.apache.http.io
public interface: SecureSocketFactory [javadoc | source]

All Implemented Interfaces:
    SocketFactory

All Known Implementing Classes:
    SSLSocketFactory

A SocketFactory for secure sockets (SSL/TLS). See there for things to consider when implementing a socket factory.
Method from org.apache.http.io.SecureSocketFactory Summary:
createSocket
Method from org.apache.http.io.SecureSocketFactory Detail:
 public Socket createSocket(Socket socket,
    String host,
    int port,
    boolean autoClose) throws IOException, UnknownHostException
    Returns a socket connected to the given host that is layered over an existing socket. Used primarily for creating secure sockets through proxies.