Class UndertowContext

java.lang.Object
org.wildfly.mod_cluster.undertow.UndertowContext
All Implemented Interfaces:
org.jboss.modcluster.container.Context

public class UndertowContext extends Object implements org.jboss.modcluster.container.Context
Adapts Deployment to an Context.
Since:
8.0
Author:
Radoslav Husar, Paul Ferraro
  • Constructor Details

    • UndertowContext

      public UndertowContext(io.undertow.servlet.api.Deployment deployment, UndertowHost host)
  • Method Details

    • getHost

      public org.jboss.modcluster.container.Host getHost()
      Specified by:
      getHost in interface org.jboss.modcluster.container.Context
    • getPath

      public String getPath()
      Specified by:
      getPath in interface org.jboss.modcluster.container.Context
    • isStarted

      public boolean isStarted()
      Specified by:
      isStarted in interface org.jboss.modcluster.container.Context
    • addRequestListener

      public void addRequestListener(org.jboss.modcluster.container.listeners.ServletRequestListener requestListener)
      Specified by:
      addRequestListener in interface org.jboss.modcluster.container.Context
    • removeRequestListener

      public void removeRequestListener(org.jboss.modcluster.container.listeners.ServletRequestListener requestListener)
      Specified by:
      removeRequestListener in interface org.jboss.modcluster.container.Context
    • addSessionListener

      public void addSessionListener(org.jboss.modcluster.container.listeners.HttpSessionListener sessionListener)
      Specified by:
      addSessionListener in interface org.jboss.modcluster.container.Context
    • removeSessionListener

      public void removeSessionListener(org.jboss.modcluster.container.listeners.HttpSessionListener sessionListener)
      Specified by:
      removeSessionListener in interface org.jboss.modcluster.container.Context
    • getActiveSessionCount

      public int getActiveSessionCount()
      Specified by:
      getActiveSessionCount in interface org.jboss.modcluster.container.Context
    • isDistributable

      public boolean isDistributable()
      Specified by:
      isDistributable in interface org.jboss.modcluster.container.Context
    • 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