Package org.apache.catalina.core
Class ApplicationFilterConfig
- java.lang.Object
- 
- org.apache.catalina.core.ApplicationFilterConfig
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- FilterConfig
 
 public final class ApplicationFilterConfig extends java.lang.Object implements FilterConfig, java.io.Serializable Implementation of ajavax.servlet.FilterConfiguseful in managing the filter instances instantiated when a web application is first started.- Author:
- Craig R. McClanahan
- See Also:
- Serialized Form
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFilterClass()java.util.Map<java.lang.String,java.lang.String>getFilterInitParameterMap()java.lang.StringgetFilterName()Return the name of the filter we are configuring.java.lang.StringgetInitParameter(java.lang.String name)Return aStringcontaining the value of the named initialization parameter, ornullif the parameter does not exist.java.util.Enumeration<java.lang.String>getInitParameterNames()Return anEnumerationof the names of the initialization parameters for this Filter.ServletContextgetServletContext()Return the ServletContext of our associated web application.java.lang.StringtoString()Return a String representation of this object.
 
- 
- 
- 
Method Detail- 
getFilterNamepublic java.lang.String getFilterName() Return the name of the filter we are configuring.- Specified by:
- getFilterNamein interface- FilterConfig
- Returns:
- The filter-name of this filter as defined in the deployment descriptor.
 
 - 
getFilterClasspublic java.lang.String getFilterClass() - Returns:
- The class of the filter we are configuring.
 
 - 
getInitParameterpublic java.lang.String getInitParameter(java.lang.String name) Return aStringcontaining the value of the named initialization parameter, ornullif the parameter does not exist.- Specified by:
- getInitParameterin interface- FilterConfig
- Parameters:
- name- Name of the requested initialization parameter
- Returns:
- Stringcontaining the value of the initialization parameter
 
 - 
getInitParameterNamespublic java.util.Enumeration<java.lang.String> getInitParameterNames() Return anEnumerationof the names of the initialization parameters for this Filter.- Specified by:
- getInitParameterNamesin interface- FilterConfig
- Returns:
- Enumerationof- Stringobjects containing the names of the filter's initialization parameters
 
 - 
getServletContextpublic ServletContext getServletContext() Return the ServletContext of our associated web application.- Specified by:
- getServletContextin interface- FilterConfig
- Returns:
- ServletContextobject, used by the caller to interact with its servlet container
- See Also:
- ServletContext
 
 - 
toStringpublic java.lang.String toString() Return a String representation of this object.- Overrides:
- toStringin class- java.lang.Object
 
 - 
getFilterInitParameterMappublic java.util.Map<java.lang.String,java.lang.String> getFilterInitParameterMap() 
 
- 
 
-