public class UndertowServletWebServer extends UndertowWebServer
WebServer that can be used to control an embedded Undertow server. Typically this class should be created using UndertowServletWebServerFactory and not directly.
| Constructor and description |
|---|
UndertowServletWebServer(io.undertow.Undertow$Builder builder, java.lang.Iterable<HttpHandlerFactory> httpHandlerFactories, java.lang.String contextPath, boolean autoStart)Create a new UndertowServletWebServer instance. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected io.undertow.server.HttpHandler |
createHttpHandler() |
|
public io.undertow.servlet.api.DeploymentManager |
getDeploymentManager() |
|
protected java.lang.String |
getStartedLogMessage() |
| Methods inherited from class | Name |
|---|---|
class UndertowWebServer |
createHttpHandler, getPort, getStartedLogMessage, getUndertow, shutDownGracefully, start, stop |
Create a new UndertowServletWebServer instance.
builder - the builderhttpHandlerFactories - the handler factoriescontextPath - the root context pathautoStart - if the server should be started