org.mortbay.jetty.servlet
Class FilterMapping
java.lang.Object
org.mortbay.jetty.servlet.FilterMapping
public class FilterMapping
- extends Object
FilterMapping
public FilterMapping()
getDispatches
public int getDispatches()
- Returns:
- Returns the dispatches.
getFilterName
public String getFilterName()
- Returns:
- Returns the filterName.
getPathSpecs
public String[] getPathSpecs()
- Returns:
- Returns the pathSpec.
setDispatches
public void setDispatches(int dispatches)
- Parameters:
dispatches
- The dispatches to set.- See Also:
Handler.DEFAULT
,
Handler.REQUEST
,
Handler.ERROR
,
Handler.FORWARD
,
Handler.INCLUDE
setFilterName
public void setFilterName(String filterName)
- Parameters:
filterName
- The filterName to set.
setPathSpecs
public void setPathSpecs(String[] pathSpecs)
- Parameters:
pathSpecs
- The Path specifications to which this filter should be mapped.
setPathSpec
public void setPathSpec(String pathSpec)
- Parameters:
pathSpec
- The pathSpec to set.
getServletNames
public String[] getServletNames()
- Returns:
- Returns the servletName.
setServletNames
public void setServletNames(String[] servletNames)
- Parameters:
servletNames
- Maps the named filter
to multiple servlets- See Also:
setServletName(java.lang.String)
setServletName
public void setServletName(String servletName)
- Parameters:
servletName
- Maps the named filter
to a single servlet- See Also:
setServletNames(java.lang.String[])
toString
public String toString()
- Overrides:
toString
in class Object