Package org.apache.catalina.core
Class ApplicationFilterConfig
java.lang.Object
org.apache.catalina.core.ApplicationFilterConfig
- All Implemented Interfaces:
Serializable,FilterConfig
Implementation of a
javax.servlet.FilterConfig useful in managing the filter instances instantiated when
a web application is first started.- Author:
- Craig R. McClanahan
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturn the name of the filter we are configuring.getInitParameter(String name) Return aStringcontaining the value of the named initialization parameter, ornullif the parameter does not exist.Return anEnumerationof the names of the initialization parameters for this Filter.Return the ServletContext of our associated web application.toString()Return a String representation of this object.
-
Method Details
-
getFilterName
Return the name of the filter we are configuring.- Specified by:
getFilterNamein interfaceFilterConfig- Returns:
- The filter-name of this filter as defined in the deployment descriptor.
-
getFilterClass
- Returns:
- The class of the filter we are configuring.
-
getInitParameter
Return aStringcontaining the value of the named initialization parameter, ornullif the parameter does not exist.- Specified by:
getInitParameterin interfaceFilterConfig- Parameters:
name- Name of the requested initialization parameter- Returns:
Stringcontaining the value of the initialization parameter
-
getInitParameterNames
Return anEnumerationof the names of the initialization parameters for this Filter.- Specified by:
getInitParameterNamesin interfaceFilterConfig- Returns:
EnumerationofStringobjects containing the names of the filter's initialization parameters
-
getServletContext
Return the ServletContext of our associated web application.- Specified by:
getServletContextin interfaceFilterConfig- Returns:
ServletContextobject, used by the caller to interact with its servlet container- See Also:
-
toString
Return a String representation of this object. -
getFilterInitParameterMap
-