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.Exception
public void stop() throws Exception
Exception
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public 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.