public class WurflDeviceManager extends Object implements IDeviceManager
Constructor and Description |
---|
WurflDeviceManager()
Constructor that initialize the Wrufl holder based on deviceDetectionNode
defined on lumisportalconfig.
|
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 WurflDeviceManager()
public IDevice discoverDevice(HttpServletRequest request)
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.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.