Class JettyServer

    • Constructor Summary

      Constructors 
      Constructor Description
      JettyServer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.jetty.server.Server create​(int maxThreads, int minThreads, int threadTimeoutMillis)
      Creates a Jetty server.
      org.eclipse.jetty.server.Server create​(org.eclipse.jetty.util.thread.ThreadPool threadPool)
      Creates a Jetty server with supplied thread pool
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JettyServer

        JettyServer()
    • Method Detail

      • create

        public org.eclipse.jetty.server.Server create​(int maxThreads,
                                                      int minThreads,
                                                      int threadTimeoutMillis)
        Creates a Jetty server.
        Specified by:
        create in interface JettyServerFactory
        Parameters:
        maxThreads - maxThreads
        minThreads - minThreads
        threadTimeoutMillis - threadTimeoutMillis
        Returns:
        a new jetty server instance
      • create

        public org.eclipse.jetty.server.Server create​(org.eclipse.jetty.util.thread.ThreadPool threadPool)
        Creates a Jetty server with supplied thread pool
        Specified by:
        create in interface JettyServerFactory
        Parameters:
        threadPool - thread pool
        Returns:
        a new jetty server instance