Package org.opencms.jsp.util
Interface I_CmsJspDeviceSelector
- All Known Implementing Classes:
CmsJspDeviceSelector
,CmsJspDeviceSelectorDesktopMobileTablet
,CmsJspDeviceSelectorTablet
public interface I_CmsJspDeviceSelector
This interface supports the basic functionality for the device detection.
- Since:
- 8.0.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Request parameter to force device selection. -
Method Summary
Modifier and TypeMethodDescriptiongetDeviceType
(javax.servlet.http.HttpServletRequest req) Returns the name of the device type.Returns an array of device types that can be detected.
-
Field Details
-
REQUEST_ATTRIBUTE_DEVICE
Request parameter to force device selection.- See Also:
-
-
Method Details
-
getDeviceType
Returns the name of the device type.This will be one option in
getDeviceTypes()
.- Parameters:
req
- the HTTP servlet request to process- Returns:
- the name of the device type
-
getDeviceTypes
Returns an array of device types that can be detected.- Returns:
- an array of device types that can be detected
-