A filter configuration object used by a servlet container used to pass information to a filter during initialization.
Filter
getFilterName() Returns the filter-name of this filter as defined in the deployment descriptor. | |
getInitParameter(java.lang.String name) Returns a String containing the value of the named initialization parameter, ornull if the parameter does not exist. | |
getInitParameterNames() Returns the names of the servlet's initialization parameters as an Enumeration ofString objects, or an emptyEnumeration if the servlet has no initialization parameters. | |
getServletContext() Returns a reference to the ServletContext in which the caller is executing. |
public java.lang.StringgetFilterName()
publicServletContextgetServletContext()
ServletContext
in which the caller is executing.ServletContext
object, usedby the caller to interact with its servlet containerServletContext
public java.lang.StringgetInitParameter(java.lang.String name)
String
containing the value of the named initialization parameter, ornull
if the parameter does not exist.name
- aString
specifying the nameof the initialization parameterString
containing the value of the initialization parameterpublic java.util.EnumerationgetInitParameterNames()
Enumeration
ofString
objects, or an emptyEnumeration
if the servlet has no initialization parameters.Enumeration
ofString
objects containing the names of the servlet's initialization parameters