public final class ApplicationFilterConfig extends java.lang.Object implements FilterConfig, java.io.Serializable
javax.servlet.FilterConfig useful in managing the filter instances instantiated when
a web application is first started.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFilterClass() |
java.util.Map<java.lang.String,java.lang.String> |
getFilterInitParameterMap() |
java.lang.String |
getFilterName()
Return the name of the filter we are configuring.
|
java.lang.String |
getInitParameter(java.lang.String name)
Return a
String containing the value of the named initialization parameter, or null if
the parameter does not exist. |
java.util.Enumeration<java.lang.String> |
getInitParameterNames()
Return an
Enumeration of the names of the initialization parameters for this Filter. |
ServletContext |
getServletContext()
Return the ServletContext of our associated web application.
|
java.lang.String |
toString()
Return a String representation of this object.
|
public java.lang.String getFilterName()
getFilterName in interface FilterConfigpublic java.lang.String getFilterClass()
public java.lang.String getInitParameter(java.lang.String name)
String containing the value of the named initialization parameter, or null if
the parameter does not exist.getInitParameter in interface FilterConfigname - Name of the requested initialization parameterString containing the value of the initialization parameterpublic java.util.Enumeration<java.lang.String> getInitParameterNames()
Enumeration of the names of the initialization parameters for this Filter.getInitParameterNames in interface FilterConfigEnumeration of String objects containing the names of the filter's
initialization parameterspublic ServletContext getServletContext()
getServletContext in interface FilterConfigServletContext object, used by the caller to interact with its servlet containerServletContextpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Map<java.lang.String,java.lang.String> getFilterInitParameterMap()
Copyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.