Interface DeviceDetectionFacade

All Known Implementing Classes:
DefaultDeviceDetectionFacade

public interface DeviceDetectionFacade
Facade that handles device detection
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the Device that was detected for the current request.
    void
    initializeRequest(javax.servlet.http.HttpServletRequest request)
    Initialise the device detection for the specified request.
  • Method Details

    • initializeRequest

      void initializeRequest(javax.servlet.http.HttpServletRequest request)
      Initialise the device detection for the specified request.
      Parameters:
      request - the request
    • getCurrentDetectedDevice

      DeviceData getCurrentDetectedDevice()
      Get the Device that was detected for the current request. Must be called within a request context.
      Returns:
      the detected device data