Class LocationContext

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

public class LocationContext extends Object implements org.jboss.modcluster.container.Context
A simulated context, for use by Jakarta Enterprise Beans/HTTP and static locations.
Author:
Stuart Douglas, Radoslav Husar
  • Constructor Details

  • 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