Package org.basex
Class BaseXHTTP
java.lang.Object
org.basex.util.Main
org.basex.core.CLI
org.basex.BaseXHTTP
This is the main class for the starting the database HTTP services.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen, Dirk Kirsten
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BaseXHTTP
Constructor.- Parameters:
args- command-line arguments- Throws:
Exception- exception
-
-
Method Details
-
main
Main method, launching the HTTP services. Command-line arguments are listed with the-hargument.- Parameters:
args- command-line arguments
-
stop
Stops the server.- Throws:
IOException- I/O exception
-
parseArgs
- Specified by:
parseArgsin classMain- Throws:
IOException
-
start
Starts the HTTP server in a separate process.- Parameters:
args- command-line arguments- Throws:
BaseXException- database exception
-
stop
Stops the server.- Parameters:
host- server hostport- server port- Throws:
IOException- I/O exception
-
header
-
usage
-