com.atlassian.core.util
Class WebRequestUtils

java.lang.Object
  extended by 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

Field Summary
static int LINUX
           
static int MACOSX
           
static int OPERA
           
static int OTHER
           
static int WINDOWS
           
 
Constructor Summary
WebRequestUtils()
           
 
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
 

Field Detail

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
Constructor Detail

WebRequestUtils

public WebRequestUtils()
Method Detail

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-2014 Atlassian. All Rights Reserved.