public interface WebMonitor
Modifier and Type | Method and Description |
---|---|
String |
getRestAddress()
Returns the REST address of this WebMonitor.
|
int |
getServerPort()
Gets the port that the web server actually binds to.
|
void |
start()
Starts the web monitor.
|
void |
stop()
Stops the web server.
|
void start() throws Exception
Exception
- This method may forward exceptions, if it cannot bring up the web monitor.void stop() throws Exception
Exception
- This method may forward exceptions, if it cannot properly stop the web monitor.int getServerPort()
String getRestAddress()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.