|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.oroad.stxx.util.UserAgentSelector
Tries to match based on the configured browser types
| Constructor Summary | |
UserAgentSelector()
|
|
| Method Summary | |
java.util.ArrayList |
findSelector(javax.servlet.http.HttpServletRequest request)
Finds all matching selectors |
void |
initialize(StxxProperties props)
Initializes the selector from the properties and builds the list of browser types and substrings to match for each type. |
boolean |
matches(java.lang.String value,
javax.servlet.http.HttpServletRequest request)
Determines if the transform name is a browser type and if so, if the user agent matches the configured user agent substrings. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UserAgentSelector()
| Method Detail |
public void initialize(StxxProperties props)
initialize in interface Selectorprops - The stxx propertiespublic java.util.ArrayList findSelector(javax.servlet.http.HttpServletRequest request)
findSelector in interface Selectorrequest - The request object
public boolean matches(java.lang.String value,
javax.servlet.http.HttpServletRequest request)
matches in interface Selectorvalue - The selector to matchrequest - The request object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||