@Contract(threading=IMMUTABLE_CONDITIONAL) public class DefaultHttpServerIODispatch extends AbstractIODispatch<DefaultNHttpServerConnection>
IOEventDispatch implementation
that supports both plain (non-encrypted) and SSL encrypted server side HTTP
connections.CONNECTION_KEY| Constructor and Description |
|---|
DefaultHttpServerIODispatch(NHttpServerEventHandler handler,
ConnectionConfig config) |
DefaultHttpServerIODispatch(NHttpServerEventHandler handler,
HttpParams params)
Deprecated.
|
DefaultHttpServerIODispatch(NHttpServerEventHandler handler,
NHttpConnectionFactory<? extends DefaultNHttpServerConnection> connFactory) |
DefaultHttpServerIODispatch(NHttpServerEventHandler handler,
SSLContext sslContext,
ConnectionConfig config) |
DefaultHttpServerIODispatch(NHttpServerEventHandler handler,
SSLContext sslContext,
HttpParams params)
Deprecated.
|
DefaultHttpServerIODispatch(NHttpServerEventHandler handler,
SSLContext sslContext,
SSLSetupHandler sslHandler,
ConnectionConfig config) |
DefaultHttpServerIODispatch(NHttpServerEventHandler handler,
SSLContext sslContext,
SSLSetupHandler sslHandler,
HttpParams params)
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultHttpServerIODispatch |
create(NHttpServerEventHandler handler,
SSLContext sslContext,
ConnectionConfig config)
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler.
|
static DefaultHttpServerIODispatch |
create(NHttpServerEventHandler handler,
SSLContext sslContext,
SSLSetupHandler sslHandler,
ConnectionConfig config)
Creates a new instance of this class to be used for dispatching I/O event
notifications to the given protocol handler.
|
connected, disconnected, inputReady, outputReady, timeoutpublic DefaultHttpServerIODispatch(NHttpServerEventHandler handler, NHttpConnectionFactory<? extends DefaultNHttpServerConnection> connFactory)
@Deprecated public DefaultHttpServerIODispatch(NHttpServerEventHandler handler, HttpParams params)
DefaultHttpServerIODispatch(
NHttpServerEventHandler, ConnectionConfig)@Deprecated public DefaultHttpServerIODispatch(NHttpServerEventHandler handler, SSLContext sslContext, SSLSetupHandler sslHandler, HttpParams params)
@Deprecated public DefaultHttpServerIODispatch(NHttpServerEventHandler handler, SSLContext sslContext, HttpParams params)
DefaultHttpServerIODispatch(
NHttpServerEventHandler, SSLContext, ConnectionConfig)public DefaultHttpServerIODispatch(NHttpServerEventHandler handler, ConnectionConfig config)
public DefaultHttpServerIODispatch(NHttpServerEventHandler handler, SSLContext sslContext, SSLSetupHandler sslHandler, ConnectionConfig config)
public DefaultHttpServerIODispatch(NHttpServerEventHandler handler, SSLContext sslContext, ConnectionConfig config)
public static DefaultHttpServerIODispatch create(NHttpServerEventHandler handler, SSLContext sslContext, ConnectionConfig config)
handler - the client protocol handler.sslContext - an SSLContext or null (for a plain text connection.)config - a connection configurationpublic static DefaultHttpServerIODispatch create(NHttpServerEventHandler handler, SSLContext sslContext, SSLSetupHandler sslHandler, ConnectionConfig config)
handler - the client protocol handler.sslContext - an SSLContext or null (for a plain text connection.)sslHandler - customizes various aspects of the TLS/SSL protocol.config - a connection configurationCopyright © 2010 - 2020 Adobe. All Rights Reserved