jrun.servlet
Class FilterMapping
java.lang.Object
|
+--jrun.servlet.FilterMapping
- public class FilterMapping
- extends java.lang.Object
Represents a single Filter mapping
- Author:
- Karl Moss
|
Method Summary |
boolean |
applyMapping(java.lang.String requestPath,
java.lang.String servletName)
Determine if this mapping should be applied to the given
request. |
javax.servlet.Filter |
getFilter()
Gets the Filter object for this mapping |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
URL_MAPPING
public static final int URL_MAPPING
SERVLET_NAME
public static final int SERVLET_NAME
map
protected java.lang.String map
type
protected int type
filter
protected FilterObject filter
FilterMapping
public FilterMapping(java.lang.String map,
int type,
FilterObject filter)
getFilter
public javax.servlet.Filter getFilter()
- Gets the Filter object for this mapping
applyMapping
public boolean applyMapping(java.lang.String requestPath,
java.lang.String servletName)
- Determine if this mapping should be applied to the given
request.
- Parameters:
requestPath - The requested pathservletName - The requested servlet name- Returns:
- true if this mapping should be applied
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright � 2002 Macromedia Corporation. All Rights Reserved.