public final class Keys extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Keys.HttpRequest
This class define HTTP request keys.
|
static class |
Keys.Runtime
This class define runtime keys.
|
static class |
Keys.Server
This class define server keys.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
CODE
Key of code.
|
static String |
DATA
Key of data.
|
static String |
EVENTS
Key of event.
|
static String |
EXCLUDES
Key of exclusion.
|
static String |
FREEMARKER_ACTION
Key of FreeMarker render.
|
static String |
LANGUAGE
Key of language.
|
static String |
LOCALE
Key of locale.
|
static String |
MSG
Key of message.
|
static String |
OBJECT_ID
Key of id of an entity json object.
|
static String |
OBJECT_IDS
Key of ids.
|
static String |
REQUEST
Key of request.
|
static String |
RESULTS
Key of results.
|
static String |
SESSION_ID
Key of session id.
|
static DateFormat |
SIMPLE_DATE_FORMAT1
Simple date format.
|
static String |
STATUS_CODE
Key of action status code.
|
static String |
TEMAPLTE_DIR_NAME
Key of template directory name.
|
static String |
TOKEN
Key of token.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
fillRuntime(Map<String,Object> dataModel)
Fills the runtime info into the specified data model.
|
static void |
fillServer(Map<String,Object> dataModel)
Fills the server info into the specified data model.
|
public static final String DATA
public static final String TOKEN
public static final String MSG
public static final String EVENTS
public static final String CODE
public static final String STATUS_CODE
public static final String SESSION_ID
public static final String RESULTS
public static final String OBJECT_ID
public static final String OBJECT_IDS
public static final String LOCALE
public static final String LANGUAGE
public static final DateFormat SIMPLE_DATE_FORMAT1
public static final String TEMAPLTE_DIR_NAME
public static final String EXCLUDES
public static final String REQUEST
public static final String FREEMARKER_ACTION
public static void fillServer(Map<String,Object> dataModel)
dataModel - the specified data modelCopyright © 2009–2019 B3log. All rights reserved.