public class JmxWebServer extends Object implements Closeable
| Constructor and Description |
|---|
JmxWebServer() |
JmxWebServer(InetAddress inetAddress,
int serverPort) |
JmxWebServer(int serverPort) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
setMaxNumThreads(int maxNumThreads)
Ignored.
|
void |
setMinNumThreads(int minNumThreads)
Ignored.
|
void |
setServerAddress(InetAddress serverAddress)
Optional address that the Jetty web server will be running on.
|
void |
setServerPort(int serverPort)
Required port that the Jetty web server will be running on.
|
void |
start()
Start the internal Jetty web server and configure the
JmxWebHandler to handle the requests. |
void |
stop()
Stop the internal web server and associated classes.
|
public JmxWebServer()
public JmxWebServer(InetAddress inetAddress, int serverPort)
public JmxWebServer(int serverPort)
public void start()
throws Exception
JmxWebHandler to handle the requests.Exceptionpublic void stop()
throws Exception
Exceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void setServerAddress(InetAddress serverAddress)
public void setServerPort(int serverPort)
public void setMinNumThreads(int minNumThreads)
public void setMaxNumThreads(int maxNumThreads)
This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.