|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.device.WurflDeviceManager
public class WurflDeviceManager
Manages Device informations
Constructor Summary | |
---|---|
WurflDeviceManager()
Constructor that initialize the Wrufl holder based on deviceDetectionNode defined on lumisportalconfig. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WurflDeviceManager()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |