@Immutable 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<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 |
|---|---|
protected DefaultNHttpServerConnection |
createConnection(IOSession session) |
protected void |
onClosed(DefaultNHttpServerConnection conn) |
protected void |
onConnected(DefaultNHttpServerConnection conn) |
protected void |
onException(DefaultNHttpServerConnection conn,
IOException ex) |
protected void |
onInputReady(DefaultNHttpServerConnection conn) |
protected void |
onOutputReady(DefaultNHttpServerConnection conn) |
protected void |
onTimeout(DefaultNHttpServerConnection conn) |
connected, disconnected, inputReady, outputReady, timeoutpublic DefaultHttpServerIODispatch(NHttpServerEventHandler handler, NHttpConnectionFactory<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)
protected DefaultNHttpServerConnection createConnection(IOSession session)
createConnection in class AbstractIODispatch<DefaultNHttpServerConnection>protected void onConnected(DefaultNHttpServerConnection conn)
onConnected in class AbstractIODispatch<DefaultNHttpServerConnection>protected void onClosed(DefaultNHttpServerConnection conn)
onClosed in class AbstractIODispatch<DefaultNHttpServerConnection>protected void onException(DefaultNHttpServerConnection conn, IOException ex)
onException in class AbstractIODispatch<DefaultNHttpServerConnection>protected void onInputReady(DefaultNHttpServerConnection conn)
onInputReady in class AbstractIODispatch<DefaultNHttpServerConnection>protected void onOutputReady(DefaultNHttpServerConnection conn)
onOutputReady in class AbstractIODispatch<DefaultNHttpServerConnection>protected void onTimeout(DefaultNHttpServerConnection conn)
onTimeout in class AbstractIODispatch<DefaultNHttpServerConnection>Copyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.