Class UndertowEngine

  • All Implemented Interfaces:
    org.jboss.modcluster.container.Engine

    public class UndertowEngine
    extends Object
    implements org.jboss.modcluster.container.Engine
    Adapts Server to an Engine.
    Since:
    8.0
    Author:
    Radoslav Husar
    • Constructor Detail

      • UndertowEngine

        public UndertowEngine​(String serverName,
                              Server server,
                              UndertowService service,
                              org.jboss.modcluster.container.Connector connector)
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface org.jboss.modcluster.container.Engine
      • getServer

        public org.jboss.modcluster.container.Server getServer()
        Specified by:
        getServer in interface org.jboss.modcluster.container.Engine
      • getHosts

        public Iterable<org.jboss.modcluster.container.Host> getHosts()
        Specified by:
        getHosts in interface org.jboss.modcluster.container.Engine
      • getProxyConnector

        public org.jboss.modcluster.container.Connector getProxyConnector()
        Specified by:
        getProxyConnector in interface org.jboss.modcluster.container.Engine
      • getConnectors

        public Iterable<org.jboss.modcluster.container.Connector> getConnectors()
        Specified by:
        getConnectors in interface org.jboss.modcluster.container.Engine
      • getJvmRoute

        public String getJvmRoute()
        Specified by:
        getJvmRoute in interface org.jboss.modcluster.container.Engine
      • setJvmRoute

        public void setJvmRoute​(String jvmRoute)
        Specified by:
        setJvmRoute in interface org.jboss.modcluster.container.Engine
      • findHost

        public org.jboss.modcluster.container.Host findHost​(String name)
        Specified by:
        findHost in interface org.jboss.modcluster.container.Engine
      • getSessionCookieName

        public String getSessionCookieName()
        Specified by:
        getSessionCookieName in interface org.jboss.modcluster.container.Engine
        Returns:
        overridden session cookie name if defined, otherwise SessionCookieConfig.DEFAULT_SESSION_ID
      • getSessionParameterName

        public String getSessionParameterName()
        Specified by:
        getSessionParameterName in interface org.jboss.modcluster.container.Engine
        Returns:
        lowercase value of getSessionCookieName()
      • getDefaultHost

        public String getDefaultHost()
        Specified by:
        getDefaultHost in interface org.jboss.modcluster.container.Engine
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object