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 |
ASYNC |
static int |
ERROR
The name of this filter to be executed when this mapping matches
a particular request.
|
static int |
FORWARD |
static int |
INCLUDE |
static int |
REQUEST |
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[] |
getDispatcherNames() |
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.
|
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 INCLUDE
public static final int REQUEST
public static final int ASYNC
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[] getDispatcherNames()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.