|
rewrite-config-servlet 2.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ocpsoft.rewrite.config.DefaultConditionBuilder
org.ocpsoft.rewrite.servlet.config.HttpCondition
org.ocpsoft.rewrite.servlet.config.UserAgent
public abstract class UserAgent
A Condition that inspects the value of ServletRequest.getScheme()
| Constructor Summary | |
|---|---|
UserAgent()
|
|
| Method Summary | |
|---|---|
static org.ocpsoft.rewrite.servlet.config.UserAgent.ClassificationUserAgent |
isDesktop()
Condition asserting that the user-agent is a non-mobile device. |
static org.ocpsoft.rewrite.servlet.config.UserAgent.ClassificationUserAgent |
isMobile()
Condition asserting that the user-agent is a mobile device. |
static org.ocpsoft.rewrite.servlet.config.UserAgent.ClassificationUserAgent |
isTablet()
Condition asserting that the user-agent is a tablet device. |
static UserAgent |
matches(String pattern)
Condition asserting that the user-agent matches the given pattern. |
| Methods inherited from class org.ocpsoft.rewrite.servlet.config.HttpCondition |
|---|
evaluate, evaluateHttp |
| Methods inherited from class org.ocpsoft.rewrite.config.DefaultConditionBuilder |
|---|
and, andNot, create, or, orNot, wrap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserAgent()
| Method Detail |
|---|
public static UserAgent matches(String pattern)
public static org.ocpsoft.rewrite.servlet.config.UserAgent.ClassificationUserAgent isMobile()
public static org.ocpsoft.rewrite.servlet.config.UserAgent.ClassificationUserAgent isTablet()
public static org.ocpsoft.rewrite.servlet.config.UserAgent.ClassificationUserAgent isDesktop()
|
rewrite-config-servlet 2.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||