Class ApplicationFilterConfig

  • All Implemented Interfaces:
    Serializable, FilterConfig

    public final class ApplicationFilterConfig
    extends Object
    implements FilterConfig, Serializable
    Implementation of a javax.servlet.FilterConfig useful in managing the filter instances instantiated when a web application is first started.
    Craig R. McClanahan
    See Also:
    Serialized Form
    • Method Detail

      • getFilterName

        public String getFilterName()
        Return the name of the filter we are configuring.
        Specified by:
        getFilterName in interface FilterConfig
        The filter-name of this filter as defined in the deployment descriptor.
      • getFilterClass

        public String getFilterClass()
        The class of the filter we are configuring.
      • getInitParameter

        public String getInitParameter​(String name)
        Return a String containing the value of the named initialization parameter, or null if the parameter does not exist.
        Specified by:
        getInitParameter in interface FilterConfig
        name - Name of the requested initialization parameter
        String containing the value of the initialization parameter
      • getInitParameterNames

        public Enumeration<String> getInitParameterNames()
        Return an Enumeration of the names of the initialization parameters for this Filter.
        Specified by:
        getInitParameterNames in interface FilterConfig
        Enumeration of String objects containing the names of the filter's initialization parameters
      • toString

        public String toString()
        Return a String representation of this object.
        toString in class Object
      • getFilterInitParameterMap

        public Map<String,​String> getFilterInitParameterMap()