public final class Constants extends Object implements Serializable
Not available on the client side, for that use
ApplicationConstants
.
Modifier and Type | Field and Description |
---|---|
static String |
ALLOW_APPSHELL_ANNOTATIONS
Internal parameter which prevent validation for annotations which are
allowed on an AppShell class in non V14 bootstrap mode.
|
static String |
APPLICATION_THEME_ROOT
The name of the application theme root folder.
|
static String |
COMPATIBILITY_RESOURCES_FRONTEND_DEFAULT
Location for the frontend resources in jar files for compatibility mode
(also obsolete but supported for NPM mode).
|
static String |
COMPILED_WEB_COMPONENTS_PATH
Deprecated.
Use
InitParameters.COMPILED_WEB_COMPONENTS_PATH
instead. |
static String |
CONNECT_APPLICATION_PROPERTIES_TOKEN |
static String |
CONNECT_JAVA_SOURCE_FOLDER_TOKEN |
static String |
CONNECT_OPEN_API_FILE_TOKEN |
static boolean |
DEFAULT_DEVMODE_STATS
The default value for whether usage statistics is enabled.
|
static String |
DEFAULT_EXTERNAL_STATS_URL
Default location to look for the external stats.json.
|
static boolean |
DEFAULT_NODE_AUTO_UPDATE
The default value for
InitParameters.NODE_AUTO_UPDATE . |
static boolean |
DEFAULT_REQUIRE_HOME_NODE_EXECUTABLE
The default value for
REQUIRE_HOME_NODE_EXECUTABLE . |
static String |
DISABLE_AUTOMATIC_SERVLET_REGISTRATION
Deprecated.
|
static boolean |
ENABLE_PNPM_DEFAULT
Constant for whether pnpm is default or not.
|
static String |
EXTERNAL_STATS_FILE
Property boolean for marking stats.json to be fetched from external
location.
|
static String |
EXTERNAL_STATS_FILE_TOKEN |
static String |
EXTERNAL_STATS_URL
Property String for external stats.json location url.
|
static String |
EXTERNAL_STATS_URL_TOKEN |
static String |
FRONTEND_TOKEN |
static String |
GENERATED_TOKEN |
static boolean |
GLOBAL_PNPM_DEFAULT
Constant for setting the pinned supported version of pnpm to be used by
default (see
FrontendTools.DEFAULT_PNPM_VERSION ). |
static String |
I18N_PROVIDER
Deprecated.
Use
InitParameters.I18N_PROVIDER instead. |
static String |
JAVA_RESOURCE_FOLDER_TOKEN |
static String |
LOCAL_FRONTEND_RESOURCES_PATH
Default path for local frontend resources packaged for jar add-ons.
|
static String |
META_INF
The path used in the vaadin servlet for handling static resources.
|
static String |
NPM_TOKEN |
static String |
PACKAGE_JSON
Name of the
npm main file. |
static String |
POLYFILLS_DEFAULT_VALUE |
static String |
PROJECT_FRONTEND_GENERATED_DIR_TOKEN |
static String |
REQUIRE_HOME_NODE_EXECUTABLE
Deprecated.
Use
InitParameters.REQUIRE_HOME_NODE_EXECUTABLE
instead. |
static String |
REQUIRED_ATMOSPHERE_RUNTIME_VERSION |
static String |
RESOURCES_FRONTEND_DEFAULT
Location for the frontend resources in jar files.
|
static String |
RESOURCES_JAR_DEFAULT
Location for the resources in jar files.
|
static String |
RESOURCES_THEME_JAR_DEFAULT
Location for the theme resources in jar files.
|
static String |
SERVLET_PARAMETER_BROTLI
Deprecated.
Use
InitParameters.SERVLET_PARAMETER_BROTLI instead. |
static String |
SERVLET_PARAMETER_CLOSE_IDLE_SESSIONS
Deprecated.
Use
InitParameters.SERVLET_PARAMETER_CLOSE_IDLE_SESSIONS
instead. |
static String |
SERVLET_PARAMETER_DEVMODE_ENABLE_LIVE_RELOAD
Deprecated.
|
static String |
SERVLET_PARAMETER_DEVMODE_OPTIMIZE_BUNDLE
Deprecated.
|
static String |
SERVLET_PARAMETER_DEVMODE_WEBPACK_ERROR_PATTERN
Deprecated.
|
static String |
SERVLET_PARAMETER_DEVMODE_WEBPACK_OPTIONS
Deprecated.
|
static String |
SERVLET_PARAMETER_DEVMODE_WEBPACK_SUCCESS_PATTERN
Deprecated.
|
static String |
SERVLET_PARAMETER_DEVMODE_WEBPACK_TIMEOUT
Deprecated.
|
static String |
SERVLET_PARAMETER_DISABLE_XSRF_PROTECTION
Deprecated.
|
static String |
SERVLET_PARAMETER_ENABLE_DEV_SERVER
Deprecated.
Use
InitParameters.SERVLET_PARAMETER_ENABLE_DEV_SERVER
instead. |
static String |
SERVLET_PARAMETER_ENABLE_PNPM
Deprecated.
Use
InitParameters.SERVLET_PARAMETER_ENABLE_PNPM
instead. |
static String |
SERVLET_PARAMETER_HEARTBEAT_INTERVAL
Deprecated.
Use
InitParameters.SERVLET_PARAMETER_HEARTBEAT_INTERVAL
instead. |
static String |
SERVLET_PARAMETER_INITIAL_UIDL
Deprecated.
Use
InitParameters.SERVLET_PARAMETER_INITIAL_UIDL
instead. |
static String |
SERVLET_PARAMETER_JSBUNDLE
Deprecated.
Use
InitParameters.SERVLET_PARAMETER_JSBUNDLE
instead. |
static String |
SERVLET_PARAMETER_MAX_MESSAGE_SUSPEND_TIMEOUT
Deprecated.
|
static String |
SERVLET_PARAMETER_POLYFILLS
Deprecated.
Use
InitParameters.SERVLET_PARAMETER_POLYFILLS
instead. |
static String |
SERVLET_PARAMETER_PRODUCTION_MODE
Deprecated.
Use
InitParameters.SERVLET_PARAMETER_PRODUCTION_MODE
instead. |
static String |
SERVLET_PARAMETER_PUSH_MODE
Deprecated.
Use
InitParameters.SERVLET_PARAMETER_PUSH_MODE
instead. |
static String |
SERVLET_PARAMETER_PUSH_SUSPEND_TIMEOUT_LONGPOLLING
Deprecated.
|
static String |
SERVLET_PARAMETER_PUSH_URL
Deprecated.
Use
InitParameters.SERVLET_PARAMETER_PUSH_URL
instead. |
static String |
SERVLET_PARAMETER_REQUEST_TIMING
Deprecated.
Use
InitParameters.SERVLET_PARAMETER_REQUEST_TIMING
instead. |
static String |
SERVLET_PARAMETER_REUSE_DEV_SERVER
Deprecated.
Use
InitParameters.SERVLET_PARAMETER_REUSE_DEV_SERVER
instead. |
static String |
SERVLET_PARAMETER_SEND_URLS_AS_PARAMETERS
Deprecated.
|
static String |
SERVLET_PARAMETER_STATISTICS_JSON
Deprecated.
Use
InitParameters.SERVLET_PARAMETER_STATISTICS_JSON
instead. |
static String |
SERVLET_PARAMETER_SYNC_ID_CHECK
Deprecated.
Use
InitParameters.SERVLET_PARAMETER_SYNC_ID_CHECK
instead. |
static String |
SERVLET_PARAMETER_USE_V14_BOOTSTRAP
Deprecated.
Use
InitParameters.SERVLET_PARAMETER_USE_V14_BOOTSTRAP
instead. |
static String |
SERVLET_PARAMETER_WEB_COMPONENT_DISCONNECT
Deprecated.
|
static int |
SPRING_BOOT_DEFAULT_LIVE_RELOAD_PORT
Default live reload port as defined in Spring Boot Dev Tools.
|
static String |
STATISTIC_FLOW_BOOTSTRAPHANDLER
UsageEntry name for UsageStatistics BootstrapHandler.
|
static String |
STATISTIC_ROUTING_CLIENT
UsageEntry name for UsageStatistics Routing Client.
|
static String |
STATISTIC_ROUTING_HYBRID
UsageEntry name for UsageStatistics Hybrid.
|
static String |
STATISTIC_ROUTING_SERVER
UsageEntry name for UsageStatistics Routing Server.
|
static String |
STATISTICS_JSON_DEFAULT
Default path for the WebPack profile statistics json file.
|
static String |
TARGET
Target folder constant.
|
static String |
TEMPLATE_DIRECTORY
Default resource directory to place template sources in.
|
static String |
URL_PARAMETER_CLOSE_APPLICATION
A request parameter that can be given in browser to force the Vaadin
application to close an existing UI and session.
|
static String |
URL_PARAMETER_RESTART_APPLICATION
A request parameter that can be given in browser to force the Vaadin
application to create a new UI and session instance, thus overriding
@PreserveOnRefresh annotation. |
static String |
VAADIN_BUILD
The static build resources folder.
|
static String |
VAADIN_BUILD_FILES_PATH
The prefix used for all internal static files, relative to context root.
|
static String |
VAADIN_CONFIGURATION
The static configuration resources folder.
|
static String |
VAADIN_CORE_VERSIONS_JSON
The name of platform core components and tools versions file.
|
static String |
VAADIN_MAPPING
The path used in the vaadin servlet for handling static resources.
|
static String |
VAADIN_PREFIX
The prefix used for System property parameters.
|
static String |
VAADIN_SERVLET_RESOURCES
The path to meta-inf/VAADIN/ where static resources are put on the
servlet.
|
static String |
VAADIN_VERSIONS_JSON
The name of platform commercial components and tools versions file.
|
static String |
VAADIN_WEBAPP
The static resources root folder.
|
static String |
VAADIN_WEBAPP_RESOURCES
The path to webapp/ public resources root.
|
public static final String REQUIRED_ATMOSPHERE_RUNTIME_VERSION
public static final String VAADIN_PREFIX
@Deprecated public static final String SERVLET_PARAMETER_PRODUCTION_MODE
InitParameters.SERVLET_PARAMETER_PRODUCTION_MODE
instead.public static final String NPM_TOKEN
public static final String FRONTEND_TOKEN
public static final String GENERATED_TOKEN
public static final String CONNECT_JAVA_SOURCE_FOLDER_TOKEN
public static final String JAVA_RESOURCE_FOLDER_TOKEN
public static final String CONNECT_APPLICATION_PROPERTIES_TOKEN
public static final String CONNECT_OPEN_API_FILE_TOKEN
public static final String PROJECT_FRONTEND_GENERATED_DIR_TOKEN
public static final String EXTERNAL_STATS_FILE_TOKEN
public static final String EXTERNAL_STATS_URL_TOKEN
@Deprecated public static final String SERVLET_PARAMETER_USE_V14_BOOTSTRAP
InitParameters.SERVLET_PARAMETER_USE_V14_BOOTSTRAP
instead.@Deprecated public static final String SERVLET_PARAMETER_INITIAL_UIDL
InitParameters.SERVLET_PARAMETER_INITIAL_UIDL
instead.@Deprecated public static final String SERVLET_PARAMETER_ENABLE_DEV_SERVER
InitParameters.SERVLET_PARAMETER_ENABLE_DEV_SERVER
instead.@Deprecated public static final String SERVLET_PARAMETER_REUSE_DEV_SERVER
InitParameters.SERVLET_PARAMETER_REUSE_DEV_SERVER
instead.@Deprecated public static final String SERVLET_PARAMETER_REQUEST_TIMING
InitParameters.SERVLET_PARAMETER_REQUEST_TIMING
instead.@Deprecated public static final String SERVLET_PARAMETER_DISABLE_XSRF_PROTECTION
InitParameters.SERVLET_PARAMETER_DISABLE_XSRF_PROTECTION
instead.@Deprecated public static final String SERVLET_PARAMETER_HEARTBEAT_INTERVAL
InitParameters.SERVLET_PARAMETER_HEARTBEAT_INTERVAL
instead.@Deprecated public static final String SERVLET_PARAMETER_WEB_COMPONENT_DISCONNECT
InitParameters.SERVLET_PARAMETER_WEB_COMPONENT_DISCONNECT
instead.@Deprecated public static final String SERVLET_PARAMETER_CLOSE_IDLE_SESSIONS
InitParameters.SERVLET_PARAMETER_CLOSE_IDLE_SESSIONS
instead.@Deprecated public static final String SERVLET_PARAMETER_PUSH_MODE
InitParameters.SERVLET_PARAMETER_PUSH_MODE
instead.@Deprecated public static final String SERVLET_PARAMETER_PUSH_URL
InitParameters.SERVLET_PARAMETER_PUSH_URL
instead.@Deprecated public static final String SERVLET_PARAMETER_SYNC_ID_CHECK
InitParameters.SERVLET_PARAMETER_SYNC_ID_CHECK
instead.@Deprecated public static final String SERVLET_PARAMETER_SEND_URLS_AS_PARAMETERS
InitParameters.SERVLET_PARAMETER_SEND_URLS_AS_PARAMETERS
instead.@Deprecated public static final String SERVLET_PARAMETER_PUSH_SUSPEND_TIMEOUT_LONGPOLLING
InitParameters.SERVLET_PARAMETER_PUSH_SUSPEND_TIMEOUT_LONGPOLLING
instead.@Deprecated public static final String SERVLET_PARAMETER_MAX_MESSAGE_SUSPEND_TIMEOUT
InitParameters.SERVLET_PARAMETER_MAX_MESSAGE_SUSPEND_TIMEOUT
instead.@Deprecated public static final String SERVLET_PARAMETER_JSBUNDLE
InitParameters.SERVLET_PARAMETER_JSBUNDLE
instead.@Deprecated public static final String SERVLET_PARAMETER_POLYFILLS
InitParameters.SERVLET_PARAMETER_POLYFILLS
instead.public static final String POLYFILLS_DEFAULT_VALUE
@Deprecated public static final String SERVLET_PARAMETER_BROTLI
InitParameters.SERVLET_PARAMETER_BROTLI
instead.@Deprecated public static final String I18N_PROVIDER
InitParameters.I18N_PROVIDER
instead.@Deprecated public static final String DISABLE_AUTOMATIC_SERVLET_REGISTRATION
InitParameters.DISABLE_AUTOMATIC_SERVLET_REGISTRATION
instead.@Deprecated public static final String COMPILED_WEB_COMPONENTS_PATH
InitParameters.COMPILED_WEB_COMPONENTS_PATH
instead.@Deprecated public static final String SERVLET_PARAMETER_STATISTICS_JSON
InitParameters.SERVLET_PARAMETER_STATISTICS_JSON
instead.public static final String STATISTICS_JSON_DEFAULT
public static final String TEMPLATE_DIRECTORY
public static final String PACKAGE_JSON
npm
main file.public static final String TARGET
public static final String COMPATIBILITY_RESOURCES_FRONTEND_DEFAULT
public static final String RESOURCES_FRONTEND_DEFAULT
public static final String APPLICATION_THEME_ROOT
public static final String RESOURCES_JAR_DEFAULT
public static final String RESOURCES_THEME_JAR_DEFAULT
@Deprecated public static final String SERVLET_PARAMETER_DEVMODE_WEBPACK_TIMEOUT
InitParameters.SERVLET_PARAMETER_DEVMODE_WEBPACK_TIMEOUT
instead.@Deprecated public static final String SERVLET_PARAMETER_DEVMODE_WEBPACK_SUCCESS_PATTERN
InitParameters.SERVLET_PARAMETER_DEVMODE_WEBPACK_SUCCESS_PATTERN
instead.@Deprecated public static final String SERVLET_PARAMETER_DEVMODE_WEBPACK_ERROR_PATTERN
InitParameters.SERVLET_PARAMETER_DEVMODE_WEBPACK_ERROR_PATTERN
instead.@Deprecated public static final String SERVLET_PARAMETER_DEVMODE_WEBPACK_OPTIONS
InitParameters.SERVLET_PARAMETER_DEVMODE_WEBPACK_OPTIONS
instead.@Deprecated public static final String SERVLET_PARAMETER_DEVMODE_OPTIMIZE_BUNDLE
InitParameters.SERVLET_PARAMETER_DEVMODE_OPTIMIZE_BUNDLE
instead.@Deprecated public static final String SERVLET_PARAMETER_ENABLE_PNPM
InitParameters.SERVLET_PARAMETER_ENABLE_PNPM
instead.public static final boolean ENABLE_PNPM_DEFAULT
public static final boolean GLOBAL_PNPM_DEFAULT
FrontendTools.DEFAULT_PNPM_VERSION
).public static final boolean DEFAULT_NODE_AUTO_UPDATE
InitParameters.NODE_AUTO_UPDATE
.public static final boolean DEFAULT_REQUIRE_HOME_NODE_EXECUTABLE
REQUIRE_HOME_NODE_EXECUTABLE
.public static final boolean DEFAULT_DEVMODE_STATS
@Deprecated public static final String REQUIRE_HOME_NODE_EXECUTABLE
InitParameters.REQUIRE_HOME_NODE_EXECUTABLE
instead.public static final String ALLOW_APPSHELL_ANNOTATIONS
public static final String META_INF
public static final String VAADIN_MAPPING
public static final String VAADIN_BUILD
public static final String VAADIN_CONFIGURATION
public static final String VAADIN_WEBAPP
public static final String VAADIN_SERVLET_RESOURCES
public static final String VAADIN_WEBAPP_RESOURCES
public static final String VAADIN_BUILD_FILES_PATH
public static final String LOCAL_FRONTEND_RESOURCES_PATH
public static final String EXTERNAL_STATS_FILE
public static final String EXTERNAL_STATS_URL
public static final String DEFAULT_EXTERNAL_STATS_URL
public static final String URL_PARAMETER_RESTART_APPLICATION
@PreserveOnRefresh
annotation.public static final String URL_PARAMETER_CLOSE_APPLICATION
URL_PARAMETER_RESTART_APPLICATION
, this will not create a new
session.public static final String STATISTIC_FLOW_BOOTSTRAPHANDLER
public static final String STATISTIC_ROUTING_SERVER
public static final String STATISTIC_ROUTING_CLIENT
public static final String STATISTIC_ROUTING_HYBRID
public static final String VAADIN_CORE_VERSIONS_JSON
public static final String VAADIN_VERSIONS_JSON
@Deprecated public static final String SERVLET_PARAMETER_DEVMODE_ENABLE_LIVE_RELOAD
InitParameters.SERVLET_PARAMETER_DEVMODE_ENABLE_LIVE_RELOAD
instead.public static final int SPRING_BOOT_DEFAULT_LIVE_RELOAD_PORT
Copyright © 2024. All rights reserved.