Modifier and Type | Class and Description |
---|---|
static class |
DevMode.DEVMODE
Enumerator for the dev mode value
|
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 DevMode.DEVMODE |
getDeveloperMode()
Check if the current config is in developer mode.
|
static DevMode.DEVMODE |
getDeveloperMode(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 DevMode.DEVMODE getDeveloperMode()
public static DevMode.DEVMODE getDeveloperMode(Request request)
request
- The current request. Can be null.