org.apache.catalina.deploy
public class FilterMap extends Object implements Serializable
<filter-mapping> element in the deployment
descriptor. Each filter mapping must contain a filter name plus either
a URL pattern or a servlet name.
Version: $Revision: 504726 $ $Date: 2007-02-07 23:53:07 +0100 (Wed, 07 Feb 2007) $
| Field Summary | |
|---|---|
| static int | ERROR
The name of this filter to be executed when this mapping matches
a particular request. |
| static int | FORWARD |
| static int | FORWARD_ERROR |
| static int | INCLUDE |
| static int | INCLUDE_ERROR |
| static int | INCLUDE_ERROR_FORWARD |
| static int | INCLUDE_FORWARD |
| static int | REQUEST |
| static int | REQUEST_ERROR |
| static int | REQUEST_ERROR_FORWARD |
| static int | REQUEST_ERROR_FORWARD_INCLUDE |
| static int | REQUEST_ERROR_INCLUDE |
| static int | REQUEST_FORWARD |
| static int | REQUEST_FORWARD_INCLUDE |
| static int | REQUEST_INCLUDE |
| Method Summary | |
|---|---|
| void | addServletName(String servletName) |
| void | addURLPattern(String urlPattern) |
| int | getDispatcherMapping() |
| String | getFilterName() |
| boolean | getMatchAllServletNames() |
| boolean | getMatchAllUrlPatterns() |
| String[] | getServletNames() |
| String[] | getURLPatterns() |
| void | setDispatcher(String dispatcherString)
This method will be used to set the current state of the FilterMap
representing the state of when filters should be applied:
ERROR
FORWARD
FORWARD_ERROR
INCLUDE
INCLUDE_ERROR
INCLUDE_ERROR_FORWARD
REQUEST
REQUEST_ERROR
REQUEST_ERROR_INCLUDE
REQUEST_ERROR_FORWARD_INCLUDE
REQUEST_INCLUDE
REQUEST_FORWARD,
REQUEST_FORWARD_INCLUDE
|
| void | setFilterName(String filterName) |
| String | toString()
Render a String representation of this object. |