Package com.atlassian.core.util
Class WebRequestUtils
java.lang.Object
com.atlassian.core.util.WebRequestUtils
This was taken from atlassian-webwork1 and placed into its now rightful home of JIRA.
- Since:
- 4.3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
getBrowser
(javax.servlet.http.HttpServletRequest request) static int
getBrowserOperationSystem
(javax.servlet.http.HttpServletRequest request) static String
Returns the modifier key appropriate for this request (used for access keys)static boolean
isGoodBrowser
(javax.servlet.http.HttpServletRequest request)
-
Field Details
-
OTHER
public static final int OTHER- See Also:
-
OPERA
public static final int OPERA- See Also:
-
WINDOWS
public static final int WINDOWS- See Also:
-
MACOSX
public static final int MACOSX- See Also:
-
LINUX
public static final int LINUX- See Also:
-
-
Constructor Details
-
WebRequestUtils
public WebRequestUtils()
-
-
Method Details
-
isGoodBrowser
public static boolean isGoodBrowser(javax.servlet.http.HttpServletRequest request) -
getBrowser
public static int getBrowser(javax.servlet.http.HttpServletRequest request) -
getBrowserOperationSystem
public static int getBrowserOperationSystem(javax.servlet.http.HttpServletRequest request) -
getModifierKey
Returns the modifier key appropriate for this request (used for access keys)- Returns:
- Key or key combinations e.g. "Alt" or "Ctrl"
-