Modifier and Type | Field and Description |
---|---|
static String |
REQUEST_PARAM_FORCE_DEVMODE
The request parameter name for forcing the dev mode for the connected user.
|
static String |
SESSION_ATTRIBUTE_DEVMODE
The session attribute name for storing the dev mode forced by the connected user.
|
Modifier | Constructor and Description |
---|---|
private |
DevMode() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isDeveloperMode()
Check if the current config is in developer mode.
|
static boolean |
isDeveloperMode(Request request)
Check if the current config is in developer mode for the current request.
|
public static final String SESSION_ATTRIBUTE_DEVMODE
public static final String REQUEST_PARAM_FORCE_DEVMODE
private DevMode()
public static boolean isDeveloperMode()
public static boolean isDeveloperMode(Request request)
request
- The current request. Can be null.