Interface DeviceDetectionFacade
-
- All Known Implementing Classes:
DefaultDeviceDetectionFacade
public interface DeviceDetectionFacadeFacade that handles device detection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeviceDatagetCurrentDetectedDevice()Get the Device that was detected for the current request.voidinitializeRequest(javax.servlet.http.HttpServletRequest request)Initialise the device detection for the specified request.
-
-
-
Method Detail
-
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
-
-