The following parameters can be used to customize the behavior of this class:
108109110111112113114
protected IOEventDispatch createIOEventDispatch( final NHttpServiceHandler serviceHandler, final SSLContext sslcontext, final HttpParams params) { return new SSLServerIOEventDispatch(serviceHandler, sslcontext, params); }
133134135136137138139140141142143
handler.setHandlerResolver(reqistry); // Provide an event logger handler.setEventListener(new EventLogger()); IOEventDispatch ioEventDispatch = new SSLServerIOEventDispatch( handler, sslcontext, params); ListeningIOReactor ioReactor = new DefaultListeningIOReactor(2, params);
131132133134135136137138139140141
handler.setHandlerResolver(reqistry); // Provide an event logger handler.setEventListener(new EventLogger()); IOEventDispatch ioEventDispatch = new SSLServerIOEventDispatch( handler, sslcontext, params); ListeningIOReactor ioReactor = new DefaultListeningIOReactor();