com.ibm.commerce.foundation.server.services.httpdevice

Interface DeviceServiceSource



  • public interface DeviceServiceSource
    This interface represents the pluggable implementation to the DeviceService. The purpose of this interface is to retrieve a device configuration that matches a http request. The returned device configuration is used for setting the internal device id so that the proper response can be rendered.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      Device getDevice(javax.servlet.http.HttpServletRequest request)
      Retrieve the Device object configuration that matches the given request.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Method Detail

      • getDevice

        Device getDevice(javax.servlet.http.HttpServletRequest request)
        Retrieve the Device object configuration that matches the given request.
        Parameters:
        request - The incoming request for which the Device object configuration is fetched.
        Returns:
        The corresponding Device object configuration, null if none is found.