Class FilterConfigImpl

  • All Implemented Interfaces:
    jakarta.servlet.FilterConfig

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

      • FilterConfigImpl

        public FilterConfigImpl​(WebappContext servletContext)
    • Method Detail

      • getInitParameter

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

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

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

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

        public jakarta.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​(jakarta.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