Class UndertowEngine

java.lang.Object
org.wildfly.mod_cluster.undertow.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 Details

    • UndertowEngine

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

    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object