Package org.apache.http.impl.nio
Class SSLNHttpServerConnectionFactory
java.lang.Object
org.apache.http.impl.nio.SSLNHttpServerConnectionFactory
- All Implemented Interfaces:
NHttpConnectionFactory<DefaultNHttpServerConnection>
@Immutable
public class SSLNHttpServerConnectionFactory
extends Object
implements NHttpConnectionFactory<DefaultNHttpServerConnection>
Default factory for SSL encrypted, non-blocking
NHttpServerConnections.- Since:
- 4.2
-
Constructor Summary
ConstructorsConstructorDescriptionSSLNHttpServerConnectionFactory(SSLContext sslcontext, SSLSetupHandler sslHandler, ConnectionConfig config) SSLNHttpServerConnectionFactory(SSLContext sslcontext, SSLSetupHandler sslHandler, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig) SSLNHttpServerConnectionFactory(SSLContext sslcontext, SSLSetupHandler sslHandler, HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params) Deprecated.SSLNHttpServerConnectionFactory(SSLContext sslcontext, SSLSetupHandler sslHandler, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ConnectionConfig cconfig) SSLNHttpServerConnectionFactory(SSLContext sslcontext, SSLSetupHandler sslHandler, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig) SSLNHttpServerConnectionFactory(SSLContext sslcontext, SSLSetupHandler sslHandler, HttpParams params) Deprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptioncreateConnection(IOSession iosession) protected DefaultNHttpServerConnectioncreateConnection(IOSession session, HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params) Deprecated.(4.3) no longer used.protected SSLIOSessioncreateSSLIOSession(IOSession iosession, SSLContext sslcontext, SSLSetupHandler sslHandler)
-
Constructor Details
-
SSLNHttpServerConnectionFactory
@Deprecated public SSLNHttpServerConnectionFactory(SSLContext sslcontext, SSLSetupHandler sslHandler, HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params) -
SSLNHttpServerConnectionFactory
@Deprecated public SSLNHttpServerConnectionFactory(SSLContext sslcontext, SSLSetupHandler sslHandler, HttpParams params) Deprecated. -
SSLNHttpServerConnectionFactory
Deprecated. -
SSLNHttpServerConnectionFactory
public SSLNHttpServerConnectionFactory(SSLContext sslcontext, SSLSetupHandler sslHandler, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig) - Since:
- 4.3
-
SSLNHttpServerConnectionFactory
public SSLNHttpServerConnectionFactory(SSLContext sslcontext, SSLSetupHandler sslHandler, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig) - Since:
- 4.3
-
SSLNHttpServerConnectionFactory
public SSLNHttpServerConnectionFactory(SSLContext sslcontext, SSLSetupHandler sslHandler, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ConnectionConfig cconfig) - Since:
- 4.3
-
SSLNHttpServerConnectionFactory
public SSLNHttpServerConnectionFactory(SSLContext sslcontext, SSLSetupHandler sslHandler, ConnectionConfig config) - Since:
- 4.3
-
SSLNHttpServerConnectionFactory
- Since:
- 4.3
-
SSLNHttpServerConnectionFactory
public SSLNHttpServerConnectionFactory()- Since:
- 4.3
-
-
Method Details
-
createConnection
@Deprecated protected DefaultNHttpServerConnection createConnection(IOSession session, HttpRequestFactory requestFactory, ByteBufferAllocator allocator, HttpParams params) Deprecated.(4.3) no longer used. -
createSSLIOSession
protected SSLIOSession createSSLIOSession(IOSession iosession, SSLContext sslcontext, SSLSetupHandler sslHandler) - Since:
- 4.3
-
createConnection
- Specified by:
createConnectionin interfaceNHttpConnectionFactory<DefaultNHttpServerConnection>
-
SSLNHttpServerConnectionFactory(SSLContext, SSLSetupHandler, NHttpMessageParserFactory, NHttpMessageWriterFactory, ByteBufferAllocator, ConnectionConfig)