com.fatwire.gst.foundation.mobile.mobiforge
Class MobiForgeDeviceDetector
java.lang.Object
com.fatwire.gst.foundation.mobile.mobiforge.MobiForgeDeviceDetector
- All Implemented Interfaces:
- DeviceDetector
public class MobiForgeDeviceDetector
- extends Object
- implements DeviceDetector
DeviceDecector making use of the MobiForce algorithm. This is a simple
algorithm and takes care of most of the devices based on User-Agent header.
To override the User-Agent algorithm, you can add a parameter d
with a value of mobile, tablet or desktop.
- Since:
- 25 jun. 2012
- Author:
- Dolf Dijkstra
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEVICE_VAR
public static String DEVICE_VAR
MobiForgeDeviceDetector
public MobiForgeDeviceDetector()
detectDeviceType
public DeviceType detectDeviceType(COM.FutureTense.Interfaces.ICS ics)
- Specified by:
detectDeviceType
in interface DeviceDetector
detectDeviceType
protected DeviceType detectDeviceType(javax.servlet.http.HttpServletRequest request)
detectDeviceType
protected DeviceType detectDeviceType(String ua)
Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.