org.apache.http.nio.conn.ssl
Class SSLIOSessionFactory
java.lang.Object
org.apache.http.nio.conn.ssl.SSLIOSessionFactory
- All Implemented Interfaces:
- SchemeIOSessionFactory
public class SSLIOSessionFactory
- extends Object
- implements SchemeIOSessionFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSLIOSessionFactory
public SSLIOSessionFactory(SSLContext sslContext,
X509HostnameVerifier hostnameVerifier)
SSLIOSessionFactory
public SSLIOSessionFactory(SSLContext sslcontext)
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.