public final class Main extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Main method to start server.
|
static int |
serverPort()
Once the server is started (e.g.
|
public static void main(String[] args)
ApplicationScoped).args - command line arguments, currently ignoredpublic static int serverPort()
main(String[]) method.
Otherwise use Server.port().Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.