private Server configureJettyServer ( ) { LinkedBlockingQueue < Runnable > taskQueue = new LinkedBlockingQueue < Runnable > ( m_maxTaskQueue ) ; QueuedThreadPool threadPool = new QueuedThreadPool ( m_maxconns , m_defaultMinThreads , m_defaultIdleTimeout , taskQueue ) ; Server server = new Server ( threadPool ) ; server . setStopAtShutdown ( true ) ; return server ; }
Create configure and return the Jetty Server object .