MCPcopy Create free account
hub / github.com/BaseXdb/basex / start

Method start

basex-api/src/main/java/org/basex/BaseXHTTP.java:333–337  ·  view source on GitHub ↗

Starts the HTTP server in a separate process. @param args command-line arguments @throws BaseXException database exception

(final String... args)

Source from the content-addressed store, hash-verified

331 * @throws BaseXException database exception
332 */
333 public static void start(final String... args) throws BaseXException {
334 // start server and check if it caused an error message
335 final String error = Util.error(Util.start(BaseXHTTP.class, args), 2000);
336 if(error != null) throw new BaseXException(error.trim());
337 }
338
339 /**
340 * Stops the server.

Callers 2

BaseXHTTPMethod · 0.95
valuesMethod · 0.45

Calls 3

errorMethod · 0.95
startMethod · 0.95
trimMethod · 0.45

Tested by

no test coverage detected