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 FilterConfigpublic 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 FilterConfigname - 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 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 String toString()
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.