Interface FilterConfig


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

    Modifier and Type
    Method
    Description
    boolean
    getBooleanInitParameter(String name, boolean defaultValue)
    Returns the boolean value of the init parameter.
    Returns the filter-class of this filter
    Returns the filter-name of this filter
    Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.
    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.
  • Method Details

    • 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.