Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.http.io
Interface SecureSocketFactory  view SecureSocketFactory download SecureSocketFactory.java

All Superinterfaces:
SocketFactory

public interface SecureSocketFactory
extends SocketFactory

A SocketFactory for secure sockets (SSL/TLS). See there for things to consider when implementing a socket factory.

Since:
2.0

Method Summary
 java.net.Socket createSocket(java.net.Socket socket, java.lang.String host, int port, boolean autoClose)
          Returns a socket connected to the given host that is layered over an existing socket.
 
Methods inherited from interface org.apache.http.io.SocketFactory
createSocket
 

Method Detail

createSocket

public java.net.Socket createSocket(java.net.Socket socket,
                                    java.lang.String host,
                                    int port,
                                    boolean autoClose)
                             throws java.io.IOException,
                                    java.net.UnknownHostException
Returns a socket connected to the given host that is layered over an existing socket. Used primarily for creating secure sockets through proxies.