lumis.portal.device
Class DummyDeviceManager
java.lang.Object
lumis.portal.device.DummyDeviceManager
- All Implemented Interfaces:
- IDeviceManager
public class DummyDeviceManager
- extends Object
- implements IDeviceManager
A device manager implementation that does not performs any detection, always
returning a dummy device that has no capability.
- Since:
- 6.2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyDeviceManager
public DummyDeviceManager()
discoverDevice
public IDevice discoverDevice(HttpServletRequest request)
- Description copied from interface:
IDeviceManager
- Detects the device from the request and returns its capabilities.
- Specified by:
discoverDevice
in interface IDeviceManager
- Parameters:
request
- the http request.
- Returns:
- the device informations.
discoverDevice
public IDevice discoverDevice(String userAgent)
- Description copied from interface:
IDeviceManager
- Returns one Device according with the lumUserAgent informed on parameter.
- Specified by:
discoverDevice
in interface IDeviceManager
- Parameters:
userAgent
- the user agent of the device.
- Returns:
- the device informations.
Lumisportal 6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.