提交 89695a09 authored 作者: Thomas Mueller's avatar Thomas Mueller

Improved documentation.

上级 deeee7ea
...@@ -406,6 +406,10 @@ public class Server extends Tool implements Runnable, ShutdownHandler { ...@@ -406,6 +406,10 @@ public class Server extends Tool implements Runnable, ShutdownHandler {
* Server server = Server.createWebServer( * Server server = Server.createWebServer(
* new String[] { "-trace" }).start(); * new String[] { "-trace" }).start();
* </pre> * </pre>
* Supported options are:
* -webPort, -webSSL, -webAllowOthers, -webDaemon,
* -trace, -ifExists, -baseDir, -properties.
* See the main method for details.
* *
* @param args the argument list * @param args the argument list
* @return the server * @return the server
...@@ -424,6 +428,10 @@ public class Server extends Tool implements Runnable, ShutdownHandler { ...@@ -424,6 +428,10 @@ public class Server extends Tool implements Runnable, ShutdownHandler {
* Server server = Server.createTcpServer( * Server server = Server.createTcpServer(
* new String[] { "-tcpPort", "9123", "-tcpAllowOthers" }).start(); * new String[] { "-tcpPort", "9123", "-tcpAllowOthers" }).start();
* </pre> * </pre>
* Supported options are:
* -tcpPort, -tcpSSL, -tcpPassword, -tcpAllowOthers, -tcpDaemon,
* -trace, -ifExists, -baseDir, -key.
* See the main method for details.
* *
* @param args the argument list * @param args the argument list
* @return the server * @return the server
...@@ -442,6 +450,10 @@ public class Server extends Tool implements Runnable, ShutdownHandler { ...@@ -442,6 +450,10 @@ public class Server extends Tool implements Runnable, ShutdownHandler {
* Server server = * Server server =
* Server.createPgServer("-pgAllowOthers").start(); * Server.createPgServer("-pgAllowOthers").start();
* </pre> * </pre>
* Supported options are:
* -pgPort, -pgAllowOthers, -pgDaemon,
* -trace, -ifExists, -baseDir, -key.
* See the main method for details.
* *
* @param args the argument list * @param args the argument list
* @return the server * @return the server
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论