|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.millstone.webadapter.Theme.AgentRequirement
HTTP user agent requirement This requirements is used to ensure that the User-Agent string provided in HTTP request headers contains given substring.
Constructor Summary | |
Theme.AgentRequirement(java.lang.String agentSubString)
|
Method Summary | |
boolean |
isMet(WebBrowser terminal)
Check that this requirement is met by given type of browser. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Theme.AgentRequirement(java.lang.String agentSubString)
Method Detail |
public boolean isMet(WebBrowser terminal)
Theme.Requirement
isMet
in interface Theme.Requirement
terminal
- type of the web browser.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |