|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.catalina.core.ApplicationFilterConfig
public final class ApplicationFilterConfig
Implementation of a javax.servlet.FilterConfig
useful in
managing the filter instances instantiated when a web application
is first started.
Field Summary | |
---|---|
protected static java.util.Properties |
restrictedFilters
Restricted filters (which can only be loaded by a privileged webapp). |
protected static StringManager |
sm
|
Method Summary | |
---|---|
java.lang.String |
getFilterClass()
Return the class of the filter we are configuring. |
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 |
getInitParameterNames()
Return an Enumeration of the names of the initialization
parameters for this Filter. |
javax.servlet.ServletContext |
getServletContext()
Return the ServletContext of our associated web application. |
protected boolean |
isFilterAllowed(java.lang.Class filterClass)
Return true if loading this filter is allowed. |
java.lang.String |
toString()
Return a String representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static StringManager sm
protected static java.util.Properties restrictedFilters
Method Detail |
---|
public java.lang.String getFilterName()
getFilterName
in interface javax.servlet.FilterConfig
public 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 javax.servlet.FilterConfig
name
- Name of the requested initialization parameter
String
containing the value
of the initialization parameterpublic java.util.Enumeration getInitParameterNames()
Enumeration
of the names of the initialization
parameters for this Filter.
getInitParameterNames
in interface javax.servlet.FilterConfig
Enumeration
of String
objects containing the names of the filter's
initialization parameterspublic javax.servlet.ServletContext getServletContext()
getServletContext
in interface javax.servlet.FilterConfig
ServletContext
object, used
by the caller to interact with its servlet
containerServletContext
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.String> getFilterInitParameterMap()
protected boolean isFilterAllowed(java.lang.Class filterClass)
true
if loading this filter is allowed.
|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |