public final class ApplicationFilterConfig extends Object implements FilterConfig, Serializable
javax.servlet.FilterConfig
useful in
managing the filter instances instantiated when a web application
is first started.Modifier and Type | Field and Description |
---|---|
protected static StringManager |
sm |
Modifier and Type | Method and Description |
---|---|
String |
getFilterClass()
Return the class of the filter we are configuring.
|
Map<String,String> |
getFilterInitParameterMap() |
String |
getFilterName()
Return the name of the filter we are configuring.
|
String |
getInitParameter(String name)
Return a
String containing the value of the named
initialization parameter, or null if the parameter
does not exist. |
Enumeration<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.
|
String |
toString()
Return a String representation of this object.
|
protected static final StringManager sm
public String getFilterName()
getFilterName
in interface FilterConfig
public String getFilterClass()
public String getInitParameter(String name)
String
containing the value of the named
initialization parameter, or null
if the parameter
does not exist.getInitParameter
in interface FilterConfig
name
- Name of the requested initialization parameterString
containing the value of the initialization
parameterpublic Enumeration<String> getInitParameterNames()
Enumeration
of the names of the initialization
parameters for this Filter.getInitParameterNames
in interface FilterConfig
Enumeration
of String
objects
containing the names of the filter's initialization parameterspublic ServletContext getServletContext()
getServletContext
in interface FilterConfig
ServletContext
object, used by the caller to interact
with its servlet containerServletContext
public String toString()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.