Class MiniServer

java.lang.Object
ortus.boxlang.web.MiniServer

public class MiniServer extends Object
The BoxLang MiniServer is a simple web server that serves BoxLang files and static files. The following command line arguments are supported: --port - The port to listen on. Default is 8080. --webroot - The path to the webroot. Default is BOXLANG_HOME/www --debug - Enable debug mode or not. Default is false. --host - The host to listen on. Default is localhost. Examples:
 java -jar boxlang-miniserver.jar --webroot /path/to/webroot --debug
 java -jar boxlang-miniserver.jar --port 80 --webroot /var/www
 
This will start the BoxLang MiniServer on port 8080, serving files from /path/to/webroot, and enable debug mode.
  • Constructor Details

    • MiniServer

      public MiniServer()
  • Method Details

    • main

      public static void main(String[] args)