|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.oroad.stxx.util.RequestAttributeSelector
Tries to match the passed value with a given request attribute
Constructor Summary | |
RequestAttributeSelector()
|
Method Summary | |
java.util.ArrayList |
findSelector(javax.servlet.http.HttpServletRequest request)
Finds selectors matching the request |
void |
initialize(StxxProperties props)
Initializes the selector from the properties |
boolean |
matches(java.lang.String value,
javax.servlet.http.HttpServletRequest request)
Determines if the value is a match or not. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RequestAttributeSelector()
Method Detail |
public void initialize(StxxProperties props)
initialize
in interface Selector
props
- The stxx propertiespublic java.util.ArrayList findSelector(javax.servlet.http.HttpServletRequest request)
findSelector
in interface Selector
request
- The request object
public boolean matches(java.lang.String value, javax.servlet.http.HttpServletRequest request)
matches
in interface Selector
value
- The value to checkrequest
- The request to match
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |