public interface WebServer
started
and stopped
.Modifier and Type | Method and Description |
---|---|
int |
getPort()
Return the port this server is listening on.
|
void |
start()
Starts the web server.
|
void |
stop()
Stops the web server.
|
void start() throws WebServerException
WebServerException
- if the server cannot be startedvoid stop() throws WebServerException
WebServerException
- if the server cannot be stoppedint getPort()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.