Oracle Application Server Wireless Java API Reference
B10400-01

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()
           

 

Method Detail

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()

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.