org.springframework.boot.web.embedded.undertow

Class UndertowServletWebServer

    • Constructor Detail

      • UndertowServletWebServer

        @Deprecated
        public UndertowServletWebServer(io.undertow.Undertow.Builder builder,
                                                    io.undertow.servlet.api.DeploymentManager manager,
                                                    java.lang.String contextPath,
                                                    boolean autoStart,
                                                    Compression compression)
        Create a new UndertowServletWebServer instance.
        Parameters:
        builder - the builder
        manager - the deployment manager
        contextPath - the root context path
        autoStart - if the server should be started
        compression - compression configuration
      • UndertowServletWebServer

        @Deprecated
        public UndertowServletWebServer(io.undertow.Undertow.Builder builder,
                                                    io.undertow.servlet.api.DeploymentManager manager,
                                                    java.lang.String contextPath,
                                                    boolean useForwardHeaders,
                                                    boolean autoStart,
                                                    Compression compression)
        Create a new UndertowServletWebServer instance.
        Parameters:
        builder - the builder
        manager - the deployment manager
        contextPath - the root context path
        useForwardHeaders - if x-forward headers should be used
        autoStart - if the server should be started
        compression - compression configuration
      • UndertowServletWebServer

        @Deprecated
        public UndertowServletWebServer(io.undertow.Undertow.Builder builder,
                                                    io.undertow.servlet.api.DeploymentManager manager,
                                                    java.lang.String contextPath,
                                                    boolean useForwardHeaders,
                                                    boolean autoStart,
                                                    Compression compression,
                                                    java.lang.String serverHeader)
        Create a new UndertowServletWebServer instance.
        Parameters:
        builder - the builder
        manager - the deployment manager
        contextPath - the root context path
        useForwardHeaders - if x-forward headers should be used
        autoStart - if the server should be started
        compression - compression configuration
        serverHeader - string to be used in HTTP header
      • UndertowServletWebServer

        public UndertowServletWebServer(io.undertow.Undertow.Builder builder,
                                        java.lang.Iterable<HttpHandlerFactory> httpHandlerFactories,
                                        java.lang.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 Detail

      • getDeploymentManager

        public io.undertow.servlet.api.DeploymentManager getDeploymentManager()