public interface NinjaConstant
Modifier and Type | Field and Description |
---|---|
static String |
APPLICATION_MODULES_BASE_PACKAGE
Used to specify static base package for configuration modules and routes
|
static String |
applicationCookieDomain
Enables session/cookie sharing between subdomains.
|
static String |
applicationCookieEncrypted
Encryption of session cookies.
|
static String |
applicationCookiePrefix
Prefix used for all Ninja cookies.
|
static String |
applicationLanguages
Comma separated list in application.conf.
|
static String |
applicationName
Used to verify client side cookie for instance.
|
static String |
applicationSecret
Used to verify client side cookie for instance.
|
static String |
AUTHENTICITY_TOKEN |
static String |
CACHE_IMPLEMENTATION
Constant used to bind custom cache implementation.
|
static String |
CONTROLLERS_DIR |
static String |
DB_CONNECTION_PASSWORD
Password for db connection
|
static String |
DB_CONNECTION_URL
eg.
|
static String |
DB_CONNECTION_USERNAME
Username for db connection
|
static String |
DIAGNOSTICS_KEY_NAME |
static String |
FLASH_SUFFIX
Suffix used for Ninja cookies.
|
static String |
HTTP_CACHE_CONTROL
Value to set max age in header.
|
static String |
HTTP_CACHE_CONTROL_DEFAULT
Default value for Cache-Control http header when not set in application.conf
|
static String |
HTTP_USE_ETAG
Enable / disable etag E.g.
|
static boolean |
HTTP_USE_ETAG_DEFAULT
Default value / etag enabled by default.
|
static String |
I18N_NINJA_SYSTEM_BAD_REQUEST_TEXT_DEFAULT |
static String |
I18N_NINJA_SYSTEM_BAD_REQUEST_TEXT_KEY |
static String |
I18N_NINJA_SYSTEM_FORBIDDEN_REQUEST_TEXT_DEFAULT |
static String |
I18N_NINJA_SYSTEM_FORBIDDEN_REQUEST_TEXT_KEY |
static String |
I18N_NINJA_SYSTEM_INTERNAL_SERVER_ERROR_TEXT_DEFAULT |
static String |
I18N_NINJA_SYSTEM_INTERNAL_SERVER_ERROR_TEXT_KEY |
static String |
I18N_NINJA_SYSTEM_NOT_FOUND_TEXT_DEFAULT |
static String |
I18N_NINJA_SYSTEM_NOT_FOUND_TEXT_KEY |
static String |
I18N_NINJA_SYSTEM_UNAUTHORIZED_REQUEST_TEXT_DEFAULT |
static String |
I18N_NINJA_SYSTEM_UNAUTHORIZED_REQUEST_TEXT_KEY |
static String |
LANG_COOKIE_SUFFIX
A cookie that helps Ninja to set a default language.
|
static String |
LOCATION_VIEW_FTL_HTML_BAD_REQUEST |
static String |
LOCATION_VIEW_FTL_HTML_FORBIDDEN |
static String |
LOCATION_VIEW_FTL_HTML_INTERNAL_SERVER_ERROR |
static String |
LOCATION_VIEW_FTL_HTML_NOT_FOUND |
static String |
LOCATION_VIEW_FTL_HTML_UNAUTHORIZED |
static String |
LOCATION_VIEW_HTML_BAD_REQUEST_KEY |
static String |
LOCATION_VIEW_HTML_FORBIDDEN_KEY |
static String |
LOCATION_VIEW_HTML_INTERNAL_SERVER_ERROR_KEY |
static String |
LOCATION_VIEW_HTML_NOT_FOUND_KEY |
static String |
LOCATION_VIEW_HTML_UNAUTHORIZED_KEY |
static String |
MEMCACHED_HOST
Either a single host or a list of hosts (space separated)
|
static String |
MEMCACHED_PASSWORD
Password for memcached (OPTIONAL)
|
static String |
MEMCACHED_USER
Username for memcached (OPTIONAL)
|
static String |
MIGRATION_ENGINE_IMPLEMENTATION
run migrations on startup of application
|
static String |
MODE_DEV |
static String |
MODE_KEY_NAME |
static String |
MODE_PROD |
static String |
MODE_TEST |
static String |
MODELS_DIR |
static String |
NINJA_JSONP_CALLBACK_PARAMETER |
static String |
NINJA_MIGRATION_DROP_SCHEMA
boolean flag to determine if Flyway should drop the existing DB schema
|
static String |
NINJA_MIGRATION_LOCATIONS
Comma-separated list of locations to scan recursively for migrations
|
static String |
NINJA_MIGRATION_RUN
run migrations on startup of application
|
static String |
NINJA_MIGRATION_SCHEMAS
Comma-separated list of schemas managed by Flyway
|
static String |
NINJA_SPLASH_DISPLAY
Whether to display logo at startup.
|
static String |
NINJA_STRICT_ARGUMENT_EXTRACTORS
If false it will allow null as argument in controller methods.
|
static String |
PERSISTENCE_UNIT_NAME
The name of the persistence unit to use
|
static String |
serverName
In many situations the server cannot know its own name.
|
static String |
SESSION_SUFFIX
Suffix used for Ninja cookies.
|
static String |
sessionExpireTimeInSeconds
Time until session expires.
|
static String |
sessionHttpOnly
Used to set the HttpOnly flag at the session cookie.
|
static String |
sessionSendOnlyIfChanged
Send session cookie only back when content has changed.
|
static String |
sessionTransferredOverHttpsOnly
Used to set the Secure flag if the cookie.
|
static String |
UNI_CODE_NULL_ENTITY
Used as spacer for instance in session cookie
|
static String |
UPLOADS_MAX_FILE_SIZE
The maximum allowed size of a single uploaded file.
|
static String |
UPLOADS_MAX_TOTAL_SIZE
The maximum allowed size of a complete request, i.e.
|
static String |
UPLOADS_TEMP_FOLDER
Directory where uploaded files are saved.
|
static String |
UTF_8
yea.
|
static String |
VIEWS_DIR |
static final String MODE_KEY_NAME
static final String MODE_TEST
static final String MODE_DEV
static final String MODE_PROD
static final String VIEWS_DIR
static final String CONTROLLERS_DIR
static final String MODELS_DIR
static final String LOCATION_VIEW_FTL_HTML_NOT_FOUND
static final String LOCATION_VIEW_FTL_HTML_BAD_REQUEST
static final String LOCATION_VIEW_FTL_HTML_INTERNAL_SERVER_ERROR
static final String LOCATION_VIEW_FTL_HTML_UNAUTHORIZED
static final String LOCATION_VIEW_FTL_HTML_FORBIDDEN
static final String LOCATION_VIEW_HTML_NOT_FOUND_KEY
static final String LOCATION_VIEW_HTML_BAD_REQUEST_KEY
static final String LOCATION_VIEW_HTML_INTERNAL_SERVER_ERROR_KEY
static final String LOCATION_VIEW_HTML_UNAUTHORIZED_KEY
static final String LOCATION_VIEW_HTML_FORBIDDEN_KEY
static final String I18N_NINJA_SYSTEM_BAD_REQUEST_TEXT_KEY
static final String I18N_NINJA_SYSTEM_BAD_REQUEST_TEXT_DEFAULT
static final String I18N_NINJA_SYSTEM_INTERNAL_SERVER_ERROR_TEXT_KEY
static final String I18N_NINJA_SYSTEM_INTERNAL_SERVER_ERROR_TEXT_DEFAULT
static final String I18N_NINJA_SYSTEM_NOT_FOUND_TEXT_KEY
static final String I18N_NINJA_SYSTEM_NOT_FOUND_TEXT_DEFAULT
static final String I18N_NINJA_SYSTEM_UNAUTHORIZED_REQUEST_TEXT_KEY
static final String I18N_NINJA_SYSTEM_UNAUTHORIZED_REQUEST_TEXT_DEFAULT
static final String I18N_NINJA_SYSTEM_FORBIDDEN_REQUEST_TEXT_KEY
static final String I18N_NINJA_SYSTEM_FORBIDDEN_REQUEST_TEXT_DEFAULT
static final String NINJA_STRICT_ARGUMENT_EXTRACTORS
static final String applicationLanguages
static final String LANG_COOKIE_SUFFIX
static final String APPLICATION_MODULES_BASE_PACKAGE
static final String applicationCookiePrefix
static final String applicationCookieDomain
static final String applicationCookieEncrypted
static final String applicationName
static final String applicationSecret
static final String serverName
static final String NINJA_SPLASH_DISPLAY
static final String sessionExpireTimeInSeconds
static final String sessionSendOnlyIfChanged
static final String sessionTransferredOverHttpsOnly
static final String sessionHttpOnly
static final String DIAGNOSTICS_KEY_NAME
static final String CACHE_IMPLEMENTATION
static final String MEMCACHED_HOST
static final String MEMCACHED_USER
static final String MEMCACHED_PASSWORD
static final String SESSION_SUFFIX
static final String FLASH_SUFFIX
static final String UNI_CODE_NULL_ENTITY
static final String UTF_8
static final String HTTP_CACHE_CONTROL
static final String HTTP_CACHE_CONTROL_DEFAULT
static final String HTTP_USE_ETAG
static final boolean HTTP_USE_ETAG_DEFAULT
static final String MIGRATION_ENGINE_IMPLEMENTATION
static final String NINJA_MIGRATION_RUN
static final String NINJA_MIGRATION_DROP_SCHEMA
static final String NINJA_MIGRATION_LOCATIONS
static final String NINJA_MIGRATION_SCHEMAS
static final String PERSISTENCE_UNIT_NAME
static final String DB_CONNECTION_URL
static final String DB_CONNECTION_USERNAME
static final String DB_CONNECTION_PASSWORD
static final String NINJA_JSONP_CALLBACK_PARAMETER
static final String AUTHENTICITY_TOKEN
static final String UPLOADS_MAX_FILE_SIZE
FileUploadBase.fileSizeMax
,
Constant Field Valuesstatic final String UPLOADS_MAX_TOTAL_SIZE
FileUploadBase.sizeMax
,
Constant Field Valuesstatic final String UPLOADS_TEMP_FOLDER
Copyright © 2020 ninjaframework. All rights reserved.