Package ortus.boxlang.web
Class MiniServer
java.lang.Object
ortus.boxlang.web.MiniServer
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 - The host to listen on. Default is
BOXLANG_HOME/www
--debug - Enable debug mode or not. Default is false.
--host localhost.
Examples:
java -jar boxlang-miniserver.jar --webroot /path/to/webroot --debug java -jar boxlang-miniserver.jar --port 80 --webroot /var/wwwThis will start the BoxLang MiniServer on port 8080, serving files from
/path/to/webroot, and enable debug mode.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MiniServer
public MiniServer()
-
-
Method Details
-
main
-