Package org.apache.http.impl.nio
Class SSLNHttpClientConnectionFactory
- java.lang.Object
-
- org.apache.http.impl.nio.SSLNHttpClientConnectionFactory
-
- All Implemented Interfaces:
NHttpConnectionFactory<DefaultNHttpClientConnection>
@Contract(threading=IMMUTABLE_CONDITIONAL) public class SSLNHttpClientConnectionFactory extends java.lang.Object implements NHttpConnectionFactory<DefaultNHttpClientConnection>
Default factory for SSL encrypted, non-blockingNHttpClientConnection
s.- Since:
- 4.2
-
-
Field Summary
Fields Modifier and Type Field Description static SSLNHttpClientConnectionFactory
INSTANCE
-
Constructor Summary
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultNHttpClientConnection
createConnection(IOSession iosession)
-
-
-
Field Detail
-
INSTANCE
public static final SSLNHttpClientConnectionFactory INSTANCE
-
-
Constructor Detail
-
SSLNHttpClientConnectionFactory
@Deprecated public SSLNHttpClientConnectionFactory(javax.net.ssl.SSLContext sslContext, SSLSetupHandler sslHandler, HttpResponseFactory responseFactory, ByteBufferAllocator allocator, HttpParams params)
-
SSLNHttpClientConnectionFactory
@Deprecated public SSLNHttpClientConnectionFactory(javax.net.ssl.SSLContext sslContext, SSLSetupHandler sslHandler, HttpParams params)
Deprecated.
-
SSLNHttpClientConnectionFactory
@Deprecated public SSLNHttpClientConnectionFactory(HttpParams params)
Deprecated.
-
SSLNHttpClientConnectionFactory
public SSLNHttpClientConnectionFactory(javax.net.ssl.SSLContext sslContext, SSLSetupHandler sslHandler, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig)
- Since:
- 4.3
-
SSLNHttpClientConnectionFactory
public SSLNHttpClientConnectionFactory(javax.net.ssl.SSLContext sslContext, SSLSetupHandler sslHandler, NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig)
- Since:
- 4.3
-
SSLNHttpClientConnectionFactory
public SSLNHttpClientConnectionFactory(javax.net.ssl.SSLContext sslContext, SSLSetupHandler sslHandler, NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, ConnectionConfig cconfig)
- Since:
- 4.3
-
SSLNHttpClientConnectionFactory
public SSLNHttpClientConnectionFactory(javax.net.ssl.SSLContext sslContext, SSLSetupHandler sslHandler, ConnectionConfig config)
- Since:
- 4.3
-
SSLNHttpClientConnectionFactory
public SSLNHttpClientConnectionFactory(ConnectionConfig config)
- Since:
- 4.3
-
SSLNHttpClientConnectionFactory
public SSLNHttpClientConnectionFactory()
- Since:
- 4.3
-
-
Method Detail
-
createConnection
public DefaultNHttpClientConnection createConnection(IOSession iosession)
- Specified by:
createConnection
in interfaceNHttpConnectionFactory<DefaultNHttpClientConnection>
-
-