Package org.apache.catalina.core
Class ApplicationFilterConfig
java.lang.Object
org.apache.catalina.core.ApplicationFilterConfig
- All Implemented Interfaces:
FilterConfig,Serializable
Implementation of a
jakarta.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 aStringcontaining the value of the named initialization parameter, ornullif the parameter does not exist.Returns the names of the filter's initialization parameters as anEnumerationofStringobjects, or an emptyEnumerationif the filter has no initialization parameters.Returns a reference to theServletContextin which the caller is executing.toString()
-
Method Details
-
getFilterName
Description copied from interface:jakarta.servlet.FilterConfigGet the name of the filter.- 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
Description copied from interface:jakarta.servlet.FilterConfigReturns aStringcontaining the value of the named initialization parameter, ornullif the parameter does not exist.- Specified by:
getInitParameterin interfaceFilterConfig- Parameters:
name-Stringspecifying the name of the initialization parameter- Returns:
Stringcontaining the value of the initialization parameter
-
getInitParameterNames
Description copied from interface:jakarta.servlet.FilterConfigReturns the names of the filter's initialization parameters as anEnumerationofStringobjects, or an emptyEnumerationif the filter has no initialization parameters.- Specified by:
getInitParameterNamesin interfaceFilterConfig- Returns:
EnumerationofStringobjects containing the names of the filter's initialization parameters
-
getServletContext
Description copied from interface:jakarta.servlet.FilterConfigReturns a reference to theServletContextin which the caller is executing.- Specified by:
getServletContextin interfaceFilterConfig- Returns:
ServletContextobject, used by the caller to interact with its servlet container- See Also:
-
toString
-
getFilterInitParameterMap
-