lumis.portal.device
Class WurflDeviceManager

Package class diagram package WurflDeviceManager
java.lang.Object
  extended by lumis.portal.device.WurflDeviceManager
All Implemented Interfaces:
IDeviceManager

public class WurflDeviceManager
extends Object
implements IDeviceManager

Manages Device informations

Since:
6.0.0

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

WurflDeviceManager

public WurflDeviceManager()
Constructor that initialize the Wrufl holder based on deviceDetectionNode defined on lumisportalconfig.

Since:
6.0.0
Method Detail

discoverDevice

public IDevice discoverDevice(HttpServletRequest request)
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.