com.atlassian.core.util
Class WebRequestUtils
java.lang.Object
com.atlassian.core.util.WebRequestUtils
public class WebRequestUtils
- extends Object
This was taken from atlassian-webwork1 and placed into its now rightful home of JIRA.
- Since:
- 4.3
Method Summary |
static int |
getBrowser(javax.servlet.http.HttpServletRequest request)
|
static int |
getBrowserOperationSystem(javax.servlet.http.HttpServletRequest request)
|
static String |
getModifierKey()
Returns the modifier key appropriate for this request (used for access keys) |
static boolean |
isGoodBrowser(javax.servlet.http.HttpServletRequest request)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OTHER
public static final int OTHER
- See Also:
- Constant Field Values
OPERA
public static final int OPERA
- See Also:
- Constant Field Values
WINDOWS
public static final int WINDOWS
- See Also:
- Constant Field Values
MACOSX
public static final int MACOSX
- See Also:
- Constant Field Values
LINUX
public static final int LINUX
- See Also:
- Constant Field Values
WebRequestUtils
public WebRequestUtils()
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
public static String getModifierKey()
- Returns the modifier key appropriate for this request (used for access keys)
- Returns:
- Key or key combinations e.g. "Alt" or "Ctrl"
Copyright © 2002-2011 Atlassian. All Rights Reserved.