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)
WebApiServer
Starts the server on the specified port.
start
in interface WebApiServer
port
- The port at which the server is to be started.public void stop()
WebApiServer
Stops the server and releases the port.
stop
in interface WebApiServer
Copyright © 2018. All rights reserved.