net.sourceforge.wurfl.core
Interface WURFLManager

All Known Implementing Classes:
DefaultWURFLManager

public interface WURFLManager

This is the WURFL interface used to do commons users operations as getting Device instance from HTTP request or user-agent string.

Version:
$Id: WURFLManager.java 432 2010-05-06 12:12:53Z filippo.deluca $
Author:
Fantayeneh Asres Gizaw, Filippo De Luca

Method Summary
 Device getDeviceForRequest(javax.servlet.http.HttpServletRequest request)
          Return a Device instance from HttpServletRequest instance.
 Device getDeviceForRequest(String userAgent)
          Return a Device instance from user-agent String.
 Device getDeviceForRequest(WURFLRequest request)
          Return a Device instance from WURFLRequest instance.
 

Method Detail

getDeviceForRequest

Device getDeviceForRequest(javax.servlet.http.HttpServletRequest request)
Return a Device instance from HttpServletRequest instance.

Parameters:
request - The HttpServletRequest to match.

getDeviceForRequest

Device getDeviceForRequest(WURFLRequest request)
Return a Device instance from WURFLRequest instance.

Parameters:
request - The WURFLRequest to match.

getDeviceForRequest

Device getDeviceForRequest(String userAgent)
Return a Device instance from user-agent String.

Parameters:
userAgent - The user-agent String to match.


Copyright © 2008-2010 WURFL-Pro srl. All Rights Reserved.