public class UserAgentViewHelperImpl extends Object implements IViewHelper
| Constructor and Description |
|---|
UserAgentViewHelperImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMobile(javax.portlet.PortletRequest request) |
void |
setMobileDeviceRegexes(List<String> patterns)
Set a list of regex patterns for user agents which should be considered
to be mobile devices.
|
public void setMobileDeviceRegexes(List<String> patterns)
patterns - public boolean isMobile(javax.portlet.PortletRequest request)
isMobile in interface IViewHelperCopyright © 2016 Jasig. All Rights Reserved.