Class JettyRunner

    • Constructor Summary

      Constructors 
      Constructor Description
      JettyRunner()  
       webappFolder,  contextPath, int port, int sslPort)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      JettyRunner  webappFolder,  contextPath, int port, int sslPort)  
      protected  moduleLocalPath)
      Needed inside Maven multi-projects to expand a path relative to the module to a complete path.
      org.eclipse.jetty.server.Server getServer()  
      static void [] args)
      Main entrypoint used to run the Jetty instance from the command line.
      void start()  
      void stop()
      Immediately shuts down the server instance.
      toString()  
      • Methods inherited from class java.lang.

        , , , , , , , , ,
    • Constructor Detail

      • JettyRunner

        public  webappFolder,
                            contextPath,
                           int port,
                           int sslPort)
                    throws 
        Throws:
    • Method Detail

      • configure

        public  webappFolder,
                                      contextPath,
                                     int port,
                                     int sslPort)
                              throws 
        Throws:
      • start

        public void start()
                   throws 
        Throws:
      • getServer

        public org.eclipse.jetty.server.Server getServer()
      • toString

        public  toString()
        Overrides:
         in class 
      • expand

        protected   moduleLocalPath)
        Needed inside Maven multi-projects to expand a path relative to the module to a complete path. If the path already is absolute and points to an existing directory, it will be used unchanged.
        Parameters:
        moduleLocalPath -
        Returns:
        expanded path
        See Also:
        TapestryRunnerConstants.MODULE_BASE_DIR
      • main

        public static void [] args)
                         throws 
        Main entrypoint used to run the Jetty instance from the command line.
        Throws:
        Since:
        5.4