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, wait
addServlet, addServletContextListener, enableWebsockets, setResourceBase, start, stop
public final EmbeddedServer setPort(int port)
setPort
in interface EmbeddedServer
public final EmbeddedServer setNumThreads(int nThreads)
setNumThreads
in interface EmbeddedServer
public final EmbeddedServer setMaxConnections(int maxConn)
setMaxConnections
in interface EmbeddedServer
public static void waitUrlAvailable(String url) throws InterruptedException, IOException
InterruptedException
IOException