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 TypeMethodDescriptionGet the name of the filter.getInitParameter
(String name) Returns aString
containing the value of the named initialization parameter, ornull
if the parameter does not exist.Returns the names of the filter's initialization parameters as anEnumeration
ofString
objects, or an emptyEnumeration
if the filter has no initialization parameters.Returns a reference to theServletContext
in which the caller is executing.toString()
-
Method Details
-
getFilterName
Description copied from interface:javax.servlet.FilterConfig
Get the name of the filter.- Specified by:
getFilterName
in 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
Description copied from interface:javax.servlet.FilterConfig
Returns aString
containing the value of the named initialization parameter, ornull
if the parameter does not exist.- Specified by:
getInitParameter
in interfaceFilterConfig
- Parameters:
name
-String
specifying the name of the initialization parameter- Returns:
String
containing the value of the initialization parameter
-
getInitParameterNames
Description copied from interface:javax.servlet.FilterConfig
Returns the names of the filter's initialization parameters as anEnumeration
ofString
objects, or an emptyEnumeration
if the filter has no initialization parameters.- Specified by:
getInitParameterNames
in interfaceFilterConfig
- Returns:
Enumeration
ofString
objects containing the names of the filter's initialization parameters
-
getServletContext
Description copied from interface:javax.servlet.FilterConfig
Returns a reference to theServletContext
in which the caller is executing.- Specified by:
getServletContext
in interfaceFilterConfig
- Returns:
ServletContext
object, used by the caller to interact with its servlet container- See Also:
-
toString
-
getFilterInitParameterMap
-