org.apache.catalina.deploy
Class FilterMap
java.lang.Object
org.apache.catalina.deploy.FilterMap
- Serializable
public class FilterMap
extends java.lang.Object
implements Serializable
Representation of a filter mapping for a web application, as represented
in a <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:
- Craig R. McClanahan
int | getDispatcherMapping()
|
String | getFilterName()
|
String | getServletName()
|
String | getURLPattern()
|
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)
|
void | setServletName(String servletName)
|
void | setURLPattern(String urlPattern)
|
String | toString() - Render a String representation of this object.
|
ERROR
public static final int ERROR
The name of this filter to be executed when this mapping matches
a particular request.
- 1
FORWARD
public static final int FORWARD
- 2
FORWARD_ERROR
public static final int FORWARD_ERROR
- 3
INCLUDE
public static final int INCLUDE
- 4
INCLUDE_ERROR
public static final int INCLUDE_ERROR
- 5
INCLUDE_ERROR_FORWARD
public static final int INCLUDE_ERROR_FORWARD
- 6
INCLUDE_FORWARD
public static final int INCLUDE_FORWARD
- 7
REQUEST
public static final int REQUEST
- 8
REQUEST_ERROR
public static final int REQUEST_ERROR
- 9
REQUEST_ERROR_FORWARD
public static final int REQUEST_ERROR_FORWARD
- 10
REQUEST_ERROR_FORWARD_INCLUDE
public static final int REQUEST_ERROR_FORWARD_INCLUDE
- 11
REQUEST_ERROR_INCLUDE
public static final int REQUEST_ERROR_INCLUDE
- 12
REQUEST_FORWARD
public static final int REQUEST_FORWARD
- 13
REQUEST_FORWARD_INCLUDE
public static final int REQUEST_FORWARD_INCLUDE
- 15
REQUEST_INCLUDE
public static final int REQUEST_INCLUDE
- 14
getDispatcherMapping
public int getDispatcherMapping()
getFilterName
public String getFilterName()
getServletName
public String getServletName()
getURLPattern
public String getURLPattern()
setDispatcher
public 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
setFilterName
public void setFilterName(String filterName)
setServletName
public void setServletName(String servletName)
setURLPattern
public void setURLPattern(String urlPattern)
toString
public String toString()
Render a String representation of this object.
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.