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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FilterDef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInitParameter(String name, String value)
Add an initialization parameter to the set of parameters associated with this filter.String
getAsyncSupported()
String
getDescription()
String
getDisplayName()
Filter
getFilter()
String
getFilterClass()
String
getFilterName()
String
getLargeIcon()
Map<String,String>
getParameterMap()
String
getSmallIcon()
void
setAsyncSupported(String asyncSupported)
void
setDescription(String description)
void
setDisplayName(String displayName)
void
setFilter(Filter filter)
void
setFilterClass(String filterClass)
void
setFilterName(String filterName)
void
setLargeIcon(String largeIcon)
void
setSmallIcon(String smallIcon)
String
toString()
Render a String representation of this object.
-
-
-
Method Detail
-
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)
-
getSmallIcon
public String getSmallIcon()
-
setSmallIcon
public void setSmallIcon(String smallIcon)
-
getAsyncSupported
public String getAsyncSupported()
-
setAsyncSupported
public void setAsyncSupported(String asyncSupported)
-
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 namevalue
- The initialization parameter value
-
-