Class EmbeddedJettyFactory

    • Field Detail

      • threadPool

        private org.eclipse.jetty.util.thread.ThreadPool threadPool
      • httpOnly

        private boolean httpOnly
    • Constructor Detail

      • EmbeddedJettyFactory

        public EmbeddedJettyFactory()
    • Method Detail

      • withThreadPool

        public EmbeddedJettyFactory withThreadPool​(org.eclipse.jetty.util.thread.ThreadPool threadPool)
        Sets optional thread pool for jetty server. This is useful for overriding the default thread pool behaviour for example io.dropwizard.metrics.jetty9.InstrumentedQueuedThreadPool.
        Parameters:
        threadPool - thread pool
        Returns:
        Builder pattern - returns this instance