Class FilterConfigWrapper

java.lang.Object
com.tangosol.util.Base
com.tangosol.coherence.servlet.api23.FilterConfigWrapper
All Implemented Interfaces:
javax.servlet.FilterConfig

public class FilterConfigWrapper extends Base implements javax.servlet.FilterConfig
An implementation of the FilterConfig interface that provides for a clustered ServletContext.
Version:
Coherence 2.3
Author:
cp 2003.09.24
  • Constructor Details

    • FilterConfigWrapper

      public FilterConfigWrapper(SessionHelper helper, javax.servlet.FilterConfig cfg)
      Construct a Coherence FilterConfig that wraps the app server's FilterConfig object.
      Parameters:
      helper - the application's session helper
      cfg - the appliation server's FilterConfig object
  • Method Details

    • getFilterName

      public String getFilterName()
      Returns the filter-name of this filter as defined in the deployment descriptor.
      Specified by:
      getFilterName in interface javax.servlet.FilterConfig
      Returns:
      the filter-name of this filter as defined in the deployment descriptor
    • getServletContext

      public javax.servlet.ServletContext getServletContext()
      Returns a reference to the ServletContext in which the caller is executing.
      Specified by:
      getServletContext in interface javax.servlet.FilterConfig
      Returns:
      a ServletContext object, used by the caller to interact with its servlet container
    • getInitParameter

      public String getInitParameter(String sName)
      Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.
      Specified by:
      getInitParameter in interface javax.servlet.FilterConfig
      Parameters:
      sName - a String specifying the name of the initialization parameter
      Returns:
      a String containing the value of the initialization parameter
    • getInitParameterNames

      public Enumeration getInitParameterNames()
      Returns the names of the filter's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the filter has no initialization parameters.
      Specified by:
      getInitParameterNames in interface javax.servlet.FilterConfig
      Returns:
      an Enumeration of String objects containing the names of the filter's initialization parameters
    • toString

      public String toString()
      Returns a string representation of the object.
      Overrides:
      toString in class Object
      Returns:
      a string representation of the object
    • getDescription

      protected String getDescription()
      Returns a string representation of this object's attributes.
      Returns:
      a string representation of this object's attributes
    • getSessionHelper

      protected SessionHelper getSessionHelper()
      Get the SessionHelper for this FilterConfig wrapper.
      Returns:
      the SessionHelper for this FilterConfig wrapper
    • getFilterConfig

      protected javax.servlet.FilterConfig getFilterConfig()
      Get the wrapped FilterConfig.
      Returns:
      the wrapped FilterConfig