public abstract class AbstractEmbeddedServer extends Object implements EmbeddedServer
EmbeddedServer.ServletDesc| Modifier and Type | Field and Description |
|---|---|
protected int |
maxConn |
protected int |
nThreads |
protected int |
port |
| Constructor and Description |
|---|
AbstractEmbeddedServer() |
| Modifier and Type | Method and Description |
|---|---|
EmbeddedServer |
setMaxConnections(int maxConn) |
EmbeddedServer |
setNumThreads(int nThreads) |
EmbeddedServer |
setPort(int port) |
static void |
waitUrlAvailable(String url) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddServlet, addServletContextListener, enableWebsockets, setResourceBase, start, stoppublic final EmbeddedServer setPort(int port)
setPort in interface EmbeddedServerpublic final EmbeddedServer setNumThreads(int nThreads)
setNumThreads in interface EmbeddedServerpublic final EmbeddedServer setMaxConnections(int maxConn)
setMaxConnections in interface EmbeddedServerpublic static void waitUrlAvailable(String url) throws InterruptedException, IOException
InterruptedExceptionIOException