org.apache.http.impl.nio
Class SSLNHttpClientConnectionFactory

java.lang.Object
  extended by org.apache.http.impl.nio.SSLNHttpClientConnectionFactory
All Implemented Interfaces:
NHttpConnectionFactory<NHttpClientIOTarget>

@Immutable
public class SSLNHttpClientConnectionFactory
extends Object
implements NHttpConnectionFactory<NHttpClientIOTarget>

SSL encrypted non-blocking NHttpClientConnection factory.

The following parameters can be used to customize the behavior of this class:

Since:
4.2

Constructor Summary
SSLNHttpClientConnectionFactory(HttpParams params)
           
SSLNHttpClientConnectionFactory(SSLContext sslcontext, SSLSetupHandler sslHandler, HttpParams params)
           
SSLNHttpClientConnectionFactory(SSLContext sslcontext, SSLSetupHandler sslHandler, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params)
           
 
Method Summary
 NHttpClientIOTarget createConnection(IOSession session)
           
protected  NHttpClientIOTarget createConnection(IOSession session, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLNHttpClientConnectionFactory

public SSLNHttpClientConnectionFactory(SSLContext sslcontext,
                                       SSLSetupHandler sslHandler,
                                       HttpResponseFactory responseFactory,
                                       ByteBufferAllocator allocator,
                                       HttpParams params)

SSLNHttpClientConnectionFactory

public SSLNHttpClientConnectionFactory(SSLContext sslcontext,
                                       SSLSetupHandler sslHandler,
                                       HttpParams params)

SSLNHttpClientConnectionFactory

public SSLNHttpClientConnectionFactory(HttpParams params)
Method Detail

createConnection

protected NHttpClientIOTarget createConnection(IOSession session,
                                               HttpResponseFactory responseFactory,
                                               ByteBufferAllocator allocator,
                                               HttpParams params)

createConnection

public NHttpClientIOTarget createConnection(IOSession session)
Specified by:
createConnection in interface NHttpConnectionFactory<NHttpClientIOTarget>


Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.