IOEventDispatchDefaultHttpServerIODispatch@Deprecated public class SSLServerIOEventDispatch extends DefaultServerIOEventDispatch
IOEventDispatch
interface for SSL (encrypted) server-side HTTP connections.allocator, handler, paramsCONNECTION_KEY| Constructor | Description |
|---|---|
SSLServerIOEventDispatch(NHttpServiceHandler handler,
javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler,
org.apache.http.params.HttpParams params) |
Deprecated.
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler using the given
SSLContext. |
SSLServerIOEventDispatch(NHttpServiceHandler handler,
javax.net.ssl.SSLContext sslContext,
org.apache.http.params.HttpParams params) |
Deprecated.
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler using the given
SSLContext. |
| Modifier and Type | Method | Description |
|---|---|---|
protected NHttpServerIOTarget |
createConnection(IOSession session) |
Deprecated.
Creates an instance of
DefaultNHttpServerConnection based on the
given IOSession. |
protected NHttpServerIOTarget |
createSSLConnection(SSLIOSession ssliosession) |
Deprecated.
|
protected SSLIOSession |
createSSLIOSession(IOSession session,
javax.net.ssl.SSLContext sslContext,
SSLSetupHandler sslHandler) |
Deprecated.
Creates an instance of
SSLIOSession decorating the given
IOSession. |
void |
onConnected(NHttpServerIOTarget conn) |
Deprecated.
|
connected, disconnected, inputReady, outputReady, timeoutcreateByteBufferAllocator, createHttpRequestFactory, onClosed, onException, onInputReady, onOutputReady, onTimeoutpublic SSLServerIOEventDispatch(NHttpServiceHandler handler, javax.net.ssl.SSLContext sslContext, SSLSetupHandler sslHandler, org.apache.http.params.HttpParams params)
SSLContext. This I/O dispatcher will transparently handle SSL
protocol aspects for HTTP connections.handler - the server protocol handler.sslContext - the SSL context.sslHandler - the SSL setup handler.params - HTTP parameters.public SSLServerIOEventDispatch(NHttpServiceHandler handler, javax.net.ssl.SSLContext sslContext, org.apache.http.params.HttpParams params)
SSLContext. This I/O dispatcher will transparently handle SSL
protocol aspects for HTTP connections.handler - the server protocol handler.sslContext - the SSL context.params - HTTP parameters.protected SSLIOSession createSSLIOSession(IOSession session, javax.net.ssl.SSLContext sslContext, SSLSetupHandler sslHandler)
SSLIOSession decorating the given
IOSession.
This method can be overridden in a super class in order to provide a different implementation of SSL I/O session.
session - the underlying I/O session.sslContext - the SSL context.sslHandler - the SSL setup handler.protected NHttpServerIOTarget createSSLConnection(SSLIOSession ssliosession)
protected NHttpServerIOTarget createConnection(IOSession session)
DefaultServerIOEventDispatchDefaultNHttpServerConnection based on the
given IOSession.
This method can be overridden in a super class in order to provide
a different implementation of the NHttpServerIOTarget interface.
createConnection in class DefaultServerIOEventDispatchsession - the underlying I/O session.public void onConnected(NHttpServerIOTarget conn)
onConnected in class DefaultServerIOEventDispatch