org.springframework.boot.context.embedded.undertow

Class UndertowEmbeddedServletContainer

  • java.lang.Object
    • org.springframework.boot.context.embedded.undertow.UndertowEmbeddedServletContainer
    • Constructor Detail

      • UndertowEmbeddedServletContainer

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

        public UndertowEmbeddedServletContainer(io.undertow.Undertow.Builder builder,
                                                io.undertow.servlet.api.DeploymentManager manager,
                                                String contextPath,
                                                boolean useForwardHeaders,
                                                boolean autoStart,
                                                Compression compression)
        Create a new UndertowEmbeddedServletContainer 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
      • UndertowEmbeddedServletContainer

        public UndertowEmbeddedServletContainer(io.undertow.Undertow.Builder builder,
                                                io.undertow.servlet.api.DeploymentManager manager,
                                                String contextPath,
                                                boolean useForwardHeaders,
                                                boolean autoStart,
                                                Compression compression,
                                                String serverHeader)
        Create a new UndertowEmbeddedServletContainer 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

Copyright © 2019 Pivotal Software, Inc.. All rights reserved.