public class ControllerInternalRestServer extends Object
| Constructor and Description |
|---|
ControllerInternalRestServer(int port,
BeginShutdownControllerHandle beginShutdownControllerHandle) |
| Modifier and Type | Method and Description |
|---|---|
void |
start()
Bind the RestServer to the provided port.
|
void |
stop() |
public ControllerInternalRestServer(int port,
BeginShutdownControllerHandle beginShutdownControllerHandle)
port - the port at which to star the Rest ServerbeginShutdownControllerHandle - A non-null implementation of BeginShutdownControllerHandle.
This instance will invoke close() on the handle; the creator should not do so