public void setExceptionHandler(final IOReactorExceptionHandler exceptionHandler) {
this.ioReactor.setExceptionHandler(exceptionHandler);
}
private void execute(final NHttpServerEventHandler serviceHandler) throws IOException {
final IOEventDispatch ioEventDispatch = new DefaultHttpServerIODispatch(serviceHandler, this.connFactory) {
@Override
protected DefaultNHttpServerConnection createConnection(final IOSession session) {
final DefaultNHttpServerConnection conn = super.createConnection(session);
conn.setSocketTimeout(timeout);