Class UndertowServletWebServer

java.lang.Object
org.springframework.boot.web.embedded.undertow.UndertowWebServer
org.springframework.boot.web.embedded.undertow.UndertowServletWebServer
All Implemented Interfaces:
WebServer

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.
Since:
2.0.0
See Also:
  • Constructor Details

    • UndertowServletWebServer

      public UndertowServletWebServer(io.undertow.Undertow.Builder builder, Iterable<HttpHandlerFactory> httpHandlerFactories, String contextPath, boolean autoStart)
      Create a new UndertowServletWebServer instance.
      Parameters:
      builder - the builder
      httpHandlerFactories - the handler factories
      contextPath - the root context path
      autoStart - if the server should be started
      Since:
      2.3.0
  • Method Details