I\'m using jetty 9.1.0, embedded, and would like to set both port and ThreadPool. I see a constructor for each, but don\'t see how to use one of those, and then any way to set t
QueuedThreadPool threadPool = new QueuedThreadPool();
threadPool.setMaxThreads(500);
Server server = new Server(threadPool);
ServerConnector http = new ServerConnector(server, new HttpConnectionFactory(http_config));
http.setPort(81);
server.addConnector(http);