Interface FilterConfig


  • public interface FilterConfig
    Legacy filter config. Prefer to use a regular stringly typed config class for new filters.
    Author:
    tejalk
    • Method Detail

      • getFilterName

        String getFilterName()
        Returns the filter-name of this filter
      • getFilterClass

        String getFilterClass()
        Returns the filter-class of this filter
      • getInitParameter

        String getInitParameter​(String name)
        Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.
        Parameters:
        name - a String specifying the name of the initialization parameter
        Returns:
        a String containing the value of the initialization parameter
      • getBooleanInitParameter

        boolean getBooleanInitParameter​(String name,
                                        boolean defaultValue)
        Returns the boolean value of the init parameter. If not present returns default value
        Returns:
        boolean value of init parameter
      • getInitParameterNames

        Collection<String> getInitParameterNames()
        Returns the names of the filter's initialization parameters as an Collection of String objects, or an empty Collection if the filter has no initialization parameters.