Class FilterConfigImpl

java.lang.Object
org.glassfish.grizzly.servlet.FilterConfigImpl
All Implemented Interfaces:
javax.servlet.FilterConfig

public class FilterConfigImpl extends Object implements javax.servlet.FilterConfig
FilterConfig implementation.
Author:
Jeanfrancois Arcand
  • Constructor Details

    • FilterConfigImpl

      public FilterConfigImpl(WebappContext servletContext)
  • Method Details

    • getInitParameter

      public String getInitParameter(String name)
      Specified by:
      getInitParameter in interface javax.servlet.FilterConfig
    • getFilterName

      public String getFilterName()
      Specified by:
      getFilterName in interface javax.servlet.FilterConfig
    • getInitParameterNames

      public Enumeration<String> getInitParameterNames()
      Specified by:
      getInitParameterNames in interface javax.servlet.FilterConfig
    • getServletContext

      public javax.servlet.ServletContext getServletContext()
      Specified by:
      getServletContext in interface javax.servlet.FilterConfig
    • getFilter

      public javax.servlet.Filter getFilter()
      Return the application Filter we are configured for.
    • recycle

      protected void recycle()
      Release the Filter instance associated with this FilterConfig, if there is one.
    • setFilter

      protected void setFilter(javax.servlet.Filter filter)
      Set the Filter associated with this object.
      Parameters:
      filter -
    • setFilterName

      protected void setFilterName(String filterName)
      Set the Filter's name associated with this object.
      Parameters:
      filterName - the name of this Filter.
    • setInitParameters

      protected void setInitParameters(Map<String,String> initParameters)
      Set the init parameters associated with this associated Filter.
      Parameters:
      initParameters - the configuration parameters for this Filter