Class FilterConfigImpl

  • All Implemented Interfaces:
    jakarta.servlet.FilterConfig

    public final class FilterConfigImpl
    extends java.lang.Object
    implements jakarta.servlet.FilterConfig
    FilterConfig implementation.
    Author:
    Jeanfrancois Arcand
    • Constructor Summary

      Constructors 
      Constructor Description
      FilterConfigImpl​(jakarta.servlet.ServletConfig sc)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.servlet.Filter getFilter()
      Return the application Filter we are configured for.
      java.lang.String getFilterName()  
      java.lang.String getInitParameter​(java.lang.String name)  
      java.util.Enumeration getInitParameterNames()  
      jakarta.servlet.ServletContext getServletContext()  
      void recycle()
      Release the Filter instance associated with this FilterConfig, if there is one.
      void setFilter​(jakarta.servlet.Filter filter)
      Set the Filter associated with this object.
      void setFilterName​(java.lang.String filterName)
      Set the Filter's name associated with this object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FilterConfigImpl

        public FilterConfigImpl​(jakarta.servlet.ServletConfig sc)
    • Method Detail

      • getInitParameter

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

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

        public java.util.Enumeration 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

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

        public void setFilter​(jakarta.servlet.Filter filter)
        Set the Filter associated with this object.
        Parameters:
        filter -
      • setFilterName

        public void setFilterName​(java.lang.String filterName)
        Set the Filter's name associated with this object.
        Parameters:
        filterName -