public class WebApiServerImpl extends Object implements WebApiServer
The implementation of the main server API.
| Constructor and Description |
|---|
WebApiServerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
start(int port)
Starts the server on the specified port.
|
void |
stop()
Stops the server and releases the port.
|
public void start(int port)
WebApiServerStarts the server on the specified port.
start in interface WebApiServerport - The port at which the server is to be started.public void stop()
WebApiServerStops the server and releases the port.
stop in interface WebApiServerCopyright © 2018. All rights reserved.