public class

WebRequestUtils

extends Object
java.lang.Object
   ↳ com.atlassian.core.util.WebRequestUtils

Class Overview

This was taken from atlassian-webwork1 and placed into its now rightful home of JIRA.

Summary

Constants
int LINUX
int MACOSX
int OPERA
int OTHER
int WINDOWS
Public Constructors
WebRequestUtils()
Public Methods
static int getBrowser(HttpServletRequest request)
static int getBrowserOperationSystem(HttpServletRequest request)
static String getModifierKey()
Returns the modifier key appropriate for this request (used for access keys)
static boolean isGoodBrowser(HttpServletRequest request)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int LINUX

Constant Value: 30 (0x0000001e)

public static final int MACOSX

Constant Value: 20 (0x00000014)

public static final int OPERA

Constant Value: 10 (0x0000000a)

public static final int OTHER

Constant Value: 0 (0x00000000)

public static final int WINDOWS

Constant Value: 10 (0x0000000a)

Public Constructors

public WebRequestUtils ()

Public Methods

public static int getBrowser (HttpServletRequest request)

public static int getBrowserOperationSystem (HttpServletRequest request)

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"

public static boolean isGoodBrowser (HttpServletRequest request)