return createServer(port, DEFAULT_THREAD_POOL_SIZE, transportDispatcher);
}
public HttpServer createServer(int port, int threadPoolSize, TransportDispatcher transportDispatcher)
{
final TransportDispatcher filterDispatcher = new FilterChainDispatcher(transportDispatcher, _filters);
final HttpDispatcher dispatcher = new HttpDispatcher(filterDispatcher);
return new HttpNettyServer(port, threadPoolSize, dispatcher);
}