org.apache.catalina.deploy
public class FilterMap extends java.lang.Object implements java.io.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.Modifier and Type | Field and Description |
---|---|
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 |
Constructor and Description |
---|
FilterMap() |
Modifier and Type | Method and Description |
---|---|
void |
addServletName(java.lang.String servletName) |
void |
addURLPattern(java.lang.String urlPattern) |
int |
getDispatcherMapping() |
java.lang.String |
getFilterName() |
boolean |
getMatchAllServletNames() |
boolean |
getMatchAllUrlPatterns() |
java.lang.String[] |
getServletNames() |
java.lang.String[] |
getURLPatterns() |
void |
setDispatcher(java.lang.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(java.lang.String filterName) |
java.lang.String |
toString()
Render a String representation of this object.
|
public static final int ERROR
public static final int FORWARD
public static final int FORWARD_ERROR
public static final int INCLUDE
public static final int INCLUDE_ERROR
public static final int INCLUDE_ERROR_FORWARD
public static final int INCLUDE_FORWARD
public static final int REQUEST
public static final int REQUEST_ERROR
public static final int REQUEST_ERROR_FORWARD
public static final int REQUEST_ERROR_FORWARD_INCLUDE
public static final int REQUEST_ERROR_INCLUDE
public static final int REQUEST_FORWARD
public static final int REQUEST_INCLUDE
public static final int REQUEST_FORWARD_INCLUDE
public java.lang.String getFilterName()
public void setFilterName(java.lang.String filterName)
public java.lang.String[] getServletNames()
public void addServletName(java.lang.String servletName)
public boolean getMatchAllUrlPatterns()
public boolean getMatchAllServletNames()
public java.lang.String[] getURLPatterns()
public void addURLPattern(java.lang.String urlPattern)
public void setDispatcher(java.lang.String dispatcherString)
public int getDispatcherMapping()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.