public class WebApi extends Object
This class provides the facade for creating and starting servers.
| Constructor and Description |
|---|
WebApi() |
| Modifier and Type | Method and Description |
|---|---|
static WebApiServer |
createServer()
This method allows creating a new web server.
|
static void |
main(String[] args)
This main method will be called upon running the executable jar assembled by the build.
|
public static void main(String[] args)
args - The arguments for starting this applicationpublic static WebApiServer createServer()
WebApiServer instance which can be used to start and stop the server.Copyright © 2018. All rights reserved.