@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,
HttpParams params) |
DefaultHttpServerIODispatch(NHttpServerEventHandler handler,
NHttpConnectionFactory<DefaultNHttpServerConnection> connFactory) |
DefaultHttpServerIODispatch(NHttpServerEventHandler handler,
SSLContext sslcontext,
HttpParams params) |
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)
public DefaultHttpServerIODispatch(NHttpServerEventHandler handler, HttpParams params)
public DefaultHttpServerIODispatch(NHttpServerEventHandler handler, SSLContext sslcontext, SSLSetupHandler sslHandler, HttpParams params)
public DefaultHttpServerIODispatch(NHttpServerEventHandler handler, SSLContext sslcontext, HttpParams params)
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–2013 The Apache Software Foundation. All rights reserved.