public final class UndertowServer extends AbstractEmbeddedServer
EmbeddedServer.ServletDesc
maxConn, nThreads, port
Constructor and Description |
---|
UndertowServer() |
Modifier and Type | Method and Description |
---|---|
EmbeddedServer.ServletDesc |
addServlet(String name,
Class<? extends Servlet> servletClass,
String mapping) |
void |
addServletContextListener(Class<? extends ServletContextListener> scl) |
void |
enableWebsockets() |
void |
setResourceBase(String resourceBaseUrl) |
void |
start() |
void |
stop() |
setMaxConnections, setNumThreads, setPort, waitUrlAvailable
public final EmbeddedServer.ServletDesc addServlet(String name, Class<? extends Servlet> servletClass, String mapping)
public final void addServletContextListener(Class<? extends ServletContextListener> scl)
public final void setResourceBase(String resourceBaseUrl)