use of org.eclipse.jetty.server.handler.HandlerCollection in project athenz by yahoo.
the class AthenzJettyContainer method createServer.
public void createServer(int maxThreads) {
// Setup Thread pool
QueuedThreadPool threadPool = new QueuedThreadPool();
threadPool.setMaxThreads(maxThreads);
server = new Server(threadPool);
handlers = new HandlerCollection();
server.setHandler(handlers);
}
Aggregations