public class FilterMapping extends Object
| Constructor and Description |
|---|
FilterMapping() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDispatches() |
String |
getFilterName() |
String[] |
getPathSpecs() |
String[] |
getServletNames() |
void |
setDispatches(int dispatches) |
void |
setFilterName(String filterName) |
void |
setPathSpec(String pathSpec) |
void |
setPathSpecs(String[] pathSpecs) |
void |
setServletName(String servletName) |
void |
setServletNames(String[] servletNames) |
String |
toString() |
public int getDispatches()
public String getFilterName()
public String[] getPathSpecs()
public void setDispatches(int dispatches)
dispatches - The dispatches to set.Handler.DEFAULT,
Handler.REQUEST,
Handler.ERROR,
Handler.FORWARD,
Handler.INCLUDEpublic void setFilterName(String filterName)
filterName - The filterName to set.public void setPathSpecs(String[] pathSpecs)
pathSpecs - The Path specifications to which this filter should be mapped.public void setPathSpec(String pathSpec)
pathSpec - The pathSpec to set.public String[] getServletNames()
public void setServletNames(String[] servletNames)
servletNames - Maps the named filter to multiple servletssetServletName(java.lang.String)public void setServletName(String servletName)
servletName - Maps the named filter to a single servletsetServletNames(java.lang.String[])Copyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.