oracle.panama.rt.hook
Interface DeviceIdentificationHook
- public interface DeviceIdentificationHook
This interface represents the plug-in modules that determine the type of the device.
- Since:
- Oracle9i Application Server Wireless Edition
Method Summary |
java.lang.String |
findDeviceType(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Delegate the device determination operation to an external module. |
java.lang.String |
findDeviceType(java.lang.String userAgent)
|
java.lang.String[] |
findUserAgents(java.lang.String deviceType)
|
void |
reInitialize()
|
findDeviceType
public java.lang.String findDeviceType(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws DeviceNotFoundException
- Delegate the device determination operation to an external module.
-
- Returns:
- the name of the device, null is device type is undetermined
DeviceNotFoundException
findDeviceType
public java.lang.String findDeviceType(java.lang.String userAgent)
throws DeviceNotFoundException
-
DeviceNotFoundException
findUserAgents
public java.lang.String[] findUserAgents(java.lang.String deviceType)
reInitialize
public void reInitialize()
Copyright © 2003 Oracle Corporation. All Rights Reserved.