Class JettyServer

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class JettyServer
    extends java.lang.Object
    implements java.io.Closeable
    Provides Jetty server related functions
    • Constructor Summary

      Constructors 
      Constructor Description
      JettyServer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void close()  
      boolean isStarted()  
      void run​(java.lang.String resourceBase, java.lang.String port)
      Deprecated.
      void run​(java.lang.String resourceBase, JBakeConfiguration configuration)  
      • Methods inherited from class java.lang.Object

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

      • JettyServer

        public JettyServer()
    • Method Detail

      • run

        @Deprecated
        public void run​(java.lang.String resourceBase,
                        java.lang.String port)
        Deprecated.
      • run

        public void run​(java.lang.String resourceBase,
                        JBakeConfiguration configuration)
      • isStarted

        public boolean isStarted()
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException