|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.chwf.servlet.filter.AllFilterConfig
Class with configuration data for an entire set of filters. It retrieves filter configuration from the specified XML file.
| Constructor Summary | |
AllFilterConfig(javax.servlet.ServletContext context,
org.xml.sax.InputSource xml)
Constructor. |
|
| Method Summary | |
javax.servlet.ServletContext |
getContext()
The servlet context. |
java.lang.String |
getFilterClass(java.lang.String name)
The filter class for the named filter. |
java.util.Iterator |
getFilterNames()
The list of filter names, in the order that the filters appear in the configuration file. |
java.util.Map |
getInitParameters(java.lang.String name)
A map containing init parameters for the named filter. |
java.util.Map |
getResourceMapping()
Get the file-extension mapping for resources. |
java.lang.String[] |
getURIPatterns(java.lang.String name)
An array of URI patterns for the named filter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AllFilterConfig(javax.servlet.ServletContext context,
org.xml.sax.InputSource xml)
throws javax.servlet.ServletException
context - The servlet context.xml - The XML input source.javax.servlet.ServletException - If there is a flaw in the configuration file.| Method Detail |
public javax.servlet.ServletContext getContext()
public java.util.Iterator getFilterNames()
public java.util.Map getInitParameters(java.lang.String name)
name - The filter name.public java.lang.String[] getURIPatterns(java.lang.String name)
name - The filter name.public java.lang.String getFilterClass(java.lang.String name)
name - The filter name.public java.util.Map getResourceMapping()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||