Package com.atlassian.confluence.util
Class MobileUtils
java.lang.Object
com.atlassian.confluence.util.MobileUtils
Mobile utility class.
- Since:
- 6.8.0
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MobileUtils.MobileOS
getMobileOS
(javax.servlet.http.HttpServletRequest request) Get mobile os typestatic String
Get confluence mobile plugin keystatic boolean
shouldShowBanner
(javax.servlet.http.HttpServletRequest request) Checking mobile os support app banner or not
-
Constructor Details
-
MobileUtils
public MobileUtils()
-
-
Method Details
-
getMobileOS
Get mobile os type- Parameters:
request
- http servlet request- Returns:
- mobile os type
-
shouldShowBanner
public static boolean shouldShowBanner(javax.servlet.http.HttpServletRequest request) Checking mobile os support app banner or not- Parameters:
request
- http servlet request- Returns:
- true/false
-
getMobilePluginKey
Get confluence mobile plugin key- Returns:
- key
-