com.zeroturnaround.liverebel.api.http
Class LiveRebelSSLProtocolSocketFactory

java.lang.Object
  extended by org.apache.http.conn.ssl.SSLSocketFactory
      extended by com.zeroturnaround.liverebel.api.http.LiveRebelSSLProtocolSocketFactory
All Implemented Interfaces:
org.apache.http.conn.scheme.LayeredSchemeSocketFactory, org.apache.http.conn.scheme.LayeredSocketFactory, org.apache.http.conn.scheme.SchemeSocketFactory, org.apache.http.conn.scheme.SocketFactory

public class LiveRebelSSLProtocolSocketFactory
extends org.apache.http.conn.ssl.SSLSocketFactory


Field Summary
 
Fields inherited from class org.apache.http.conn.ssl.SSLSocketFactory
ALLOW_ALL_HOSTNAME_VERIFIER, BROWSER_COMPATIBLE_HOSTNAME_VERIFIER, SSL, SSLV2, STRICT_HOSTNAME_VERIFIER, TLS
 
Constructor Summary
LiveRebelSSLProtocolSocketFactory()
           
 
Method Summary
 Socket createSocket(Socket socket, String host, int port, boolean autoClose)
           
 Socket createSocket(String host, int port, InetAddress clientHost, int clientPort)
           
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class org.apache.http.conn.ssl.SSLSocketFactory
connectSocket, connectSocket, createLayeredSocket, createSocket, createSocket, getHostnameVerifier, getSocketFactory, isSecure, setHostnameVerifier
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiveRebelSSLProtocolSocketFactory

public LiveRebelSSLProtocolSocketFactory()
Method Detail

createSocket

public Socket createSocket(String host,
                           int port,
                           InetAddress clientHost,
                           int clientPort)
                    throws IOException,
                           UnknownHostException
Throws:
IOException
UnknownHostException

createSocket

public Socket createSocket(Socket socket,
                           String host,
                           int port,
                           boolean autoClose)
                    throws IOException,
                           UnknownHostException
Specified by:
createSocket in interface org.apache.http.conn.scheme.LayeredSocketFactory
Overrides:
createSocket in class org.apache.http.conn.ssl.SSLSocketFactory
Throws:
IOException
UnknownHostException

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012. All Rights Reserved.