Class FilterDef

java.lang.Object
org.apache.tomcat.util.descriptor.web.FilterDef
All Implemented Interfaces:
Serializable

public class FilterDef extends Object implements Serializable
Representation of a filter definition for a web application, as represented in a <filter> element in the deployment descriptor.
Author:
Craig R. McClanahan
See Also:
  • Constructor Details

    • FilterDef

      public FilterDef()
  • Method Details

    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getDisplayName

      public String getDisplayName()
    • setDisplayName

      public void setDisplayName(String displayName)
    • getFilter

      public Filter getFilter()
    • setFilter

      public void setFilter(Filter filter)
    • getFilterClass

      public String getFilterClass()
    • setFilterClass

      public void setFilterClass(String filterClass)
    • getFilterName

      public String getFilterName()
    • setFilterName

      public void setFilterName(String filterName)
    • getLargeIcon

      public String getLargeIcon()
    • setLargeIcon

      public void setLargeIcon(String largeIcon)
    • getParameterMap

      public Map<String,String> getParameterMap()
    • getSmallIcon

      public String getSmallIcon()
    • setSmallIcon

      public void setSmallIcon(String smallIcon)
    • getAsyncSupported

      public String getAsyncSupported()
    • setAsyncSupported

      public void setAsyncSupported(String asyncSupported)
    • getAsyncSupportedBoolean

      public boolean getAsyncSupportedBoolean()
    • addInitParameter

      public void addInitParameter(String name, String value)
      Add an initialization parameter to the set of parameters associated with this filter.
      Parameters:
      name - The initialization parameter name
      value - The initialization parameter value
    • toString

      public String toString()
      Render a String representation of this object.
      Overrides:
      toString in class Object