org.apache.http.nio.conn.ssl
Class SSLIOSessionFactory

java.lang.Object
  extended by org.apache.http.nio.conn.ssl.SSLIOSessionFactory
All Implemented Interfaces:
SchemeIOSessionFactory

public class SSLIOSessionFactory
extends Object
implements SchemeIOSessionFactory


Constructor Summary
SSLIOSessionFactory(SSLContext sslcontext)
           
SSLIOSessionFactory(SSLContext sslContext, X509HostnameVerifier hostnameVerifier)
           
 
Method Summary
 org.apache.http.nio.reactor.ssl.SSLIOSession create(HttpHost host, org.apache.http.nio.reactor.IOSession iosession)
           
static SSLIOSessionFactory getDefaultStrategy()
           
static SSLIOSessionFactory getSystemDefaultStrategy()
           
protected  void initializeEngine(SSLEngine engine)
           
 boolean isLayering()
           
protected  void verifySession(HttpHost host, org.apache.http.nio.reactor.IOSession iosession, SSLSession sslsession)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLIOSessionFactory

public SSLIOSessionFactory(SSLContext sslContext,
                           X509HostnameVerifier hostnameVerifier)

SSLIOSessionFactory

public SSLIOSessionFactory(SSLContext sslcontext)
Method Detail

getDefaultStrategy

public static SSLIOSessionFactory getDefaultStrategy()

getSystemDefaultStrategy

public static SSLIOSessionFactory getSystemDefaultStrategy()

create

public org.apache.http.nio.reactor.ssl.SSLIOSession create(HttpHost host,
                                                           org.apache.http.nio.reactor.IOSession iosession)
Specified by:
create in interface SchemeIOSessionFactory

initializeEngine

protected void initializeEngine(SSLEngine engine)

verifySession

protected void verifySession(HttpHost host,
                             org.apache.http.nio.reactor.IOSession iosession,
                             SSLSession sslsession)
                      throws SSLException
Throws:
SSLException

isLayering

public boolean isLayering()
Specified by:
isLayering in interface SchemeIOSessionFactory


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.