public class DummyDeviceManager extends Object implements IDeviceManager
Constructor and Description |
---|
DummyDeviceManager() |
Modifier and Type | Method and Description |
---|---|
IDevice |
discoverDevice(HttpServletRequest request)
Detects the device from the request and returns its capabilities.
|
IDevice |
discoverDevice(String userAgent)
Returns one Device according with the lumUserAgent informed on parameter.
|
public IDevice discoverDevice(HttpServletRequest request)
IDeviceManager
discoverDevice
in interface IDeviceManager
request
- the http request.public IDevice discoverDevice(String userAgent)
IDeviceManager
discoverDevice
in interface IDeviceManager
userAgent
- the user agent of the device.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.