com.vaadin.flow.server.
Class Constants
- java.lang.Object
-
- com.vaadin.flow.server.Constants
-
All Implemented Interfaces:
public final class Constants extends Object implements Serializable
Constants used by the server side framework.
Not available on the client side, for that use
ApplicationConstants
.Since:
1.0
See Also:
-
-
Field Summary
-
-
-
Field Detail
-
REQUIRED_ATMOSPHERE_RUNTIME_VERSION
public static final String REQUIRED_ATMOSPHERE_RUNTIME_VERSION
See Also:
-
VAADIN_PREFIX
public static final String VAADIN_PREFIX
The prefix used for System property parameters.
See Also:
-
SERVLET_PARAMETER_PRODUCTION_MODE
@Deprecated public static final String SERVLET_PARAMETER_PRODUCTION_MODE
Deprecated. Use
InitParameters.SERVLET_PARAMETER_PRODUCTION_MODE
instead.See Also:
-
SERVLET_PARAMETER_COMPATIBILITY_MODE
@Deprecated public static final String SERVLET_PARAMETER_COMPATIBILITY_MODE
Deprecated. Use
InitParameters.SERVLET_PARAMETER_COMPATIBILITY_MODE
instead.See Also:
-
SERVLET_PARAMETER_BOWER_MODE
@Deprecated public static final String SERVLET_PARAMETER_BOWER_MODE
Deprecated. Use
InitParameters.SERVLET_PARAMETER_COMPATIBILITY_MODE
instead.See Also:
-
NPM_TOKEN
public static final String NPM_TOKEN
See Also:
-
FRONTEND_TOKEN
public static final String FRONTEND_TOKEN
See Also:
-
GENERATED_TOKEN
public static final String GENERATED_TOKEN
See Also:
-
EXTERNAL_STATS_FILE_TOKEN
public static final String EXTERNAL_STATS_FILE_TOKEN
See Also:
-
EXTERNAL_STATS_URL_TOKEN
public static final String EXTERNAL_STATS_URL_TOKEN
See Also:
-
SERVLET_PARAMETER_ENABLE_DEV_SERVER
@Deprecated public static final String SERVLET_PARAMETER_ENABLE_DEV_SERVER
Deprecated. Use
InitParameters.SERVLET_PARAMETER_ENABLE_DEV_SERVER
instead.See Also:
-
SERVLET_PARAMETER_REUSE_DEV_SERVER
@Deprecated public static final String SERVLET_PARAMETER_REUSE_DEV_SERVER
Deprecated. Use
InitParameters.SERVLET_PARAMETER_REUSE_DEV_SERVER
instead.See Also:
-
SERVLET_PARAMETER_REQUEST_TIMING
@Deprecated public static final String SERVLET_PARAMETER_REQUEST_TIMING
Deprecated. Use
InitParameters.SERVLET_PARAMETER_REQUEST_TIMING
instead.See Also:
-
SERVLET_PARAMETER_DISABLE_XSRF_PROTECTION
@Deprecated public static final String SERVLET_PARAMETER_DISABLE_XSRF_PROTECTION
Deprecated. Use
InitParameters.SERVLET_PARAMETER_DISABLE_XSRF_PROTECTION
instead.See Also:
-
SERVLET_PARAMETER_HEARTBEAT_INTERVAL
@Deprecated public static final String SERVLET_PARAMETER_HEARTBEAT_INTERVAL
Deprecated. Use
InitParameters.SERVLET_PARAMETER_HEARTBEAT_INTERVAL
instead.See Also:
-
SERVLET_PARAMETER_WEB_COMPONENT_DISCONNECT
@Deprecated public static final String SERVLET_PARAMETER_WEB_COMPONENT_DISCONNECT
Deprecated. Use
InitParameters.SERVLET_PARAMETER_WEB_COMPONENT_DISCONNECT
instead.See Also:
-
SERVLET_PARAMETER_CLOSE_IDLE_SESSIONS
@Deprecated public static final String SERVLET_PARAMETER_CLOSE_IDLE_SESSIONS
Deprecated. Use
InitParameters.SERVLET_PARAMETER_CLOSE_IDLE_SESSIONS
instead.See Also:
-
SERVLET_PARAMETER_PUSH_MODE
@Deprecated public static final String SERVLET_PARAMETER_PUSH_MODE
Deprecated. Use
InitParameters.SERVLET_PARAMETER_PUSH_MODE
instead.See Also:
-
SERVLET_PARAMETER_PUSH_URL
@Deprecated public static final String SERVLET_PARAMETER_PUSH_URL
Deprecated. Use
InitParameters.SERVLET_PARAMETER_PUSH_URL
instead.See Also:
-
SERVLET_PARAMETER_SYNC_ID_CHECK
@Deprecated public static final String SERVLET_PARAMETER_SYNC_ID_CHECK
Deprecated. Use
InitParameters.SERVLET_PARAMETER_SYNC_ID_CHECK
instead.See Also:
-
SERVLET_PARAMETER_SEND_URLS_AS_PARAMETERS
@Deprecated public static final String SERVLET_PARAMETER_SEND_URLS_AS_PARAMETERS
Deprecated. Use
InitParameters.SERVLET_PARAMETER_SEND_URLS_AS_PARAMETERS
instead.See Also:
-
SERVLET_PARAMETER_PUSH_SUSPEND_TIMEOUT_LONGPOLLING
@Deprecated public static final String SERVLET_PARAMETER_PUSH_SUSPEND_TIMEOUT_LONGPOLLING
Deprecated. Use
InitParameters.SERVLET_PARAMETER_PUSH_SUSPEND_TIMEOUT_LONGPOLLING
instead.See Also:
-
SERVLET_PARAMETER_MAX_MESSAGE_SUSPEND_TIMEOUT
@Deprecated public static final String SERVLET_PARAMETER_MAX_MESSAGE_SUSPEND_TIMEOUT
Deprecated. Use
InitParameters.SERVLET_PARAMETER_MAX_MESSAGE_SUSPEND_TIMEOUT
instead.See Also:
-
SERVLET_PARAMETER_JSBUNDLE
@Deprecated public static final String SERVLET_PARAMETER_JSBUNDLE
Deprecated. Use
InitParameters.SERVLET_PARAMETER_JSBUNDLE
instead.See Also:
-
SERVLET_PARAMETER_POLYFILLS
@Deprecated public static final String SERVLET_PARAMETER_POLYFILLS
Deprecated. Use
InitParameters.SERVLET_PARAMETER_POLYFILLS
instead.See Also:
-
POLYFILLS_DEFAULT_VALUE
public static final String POLYFILLS_DEFAULT_VALUE
See Also:
-
SERVLET_PARAMETER_BROTLI
@Deprecated public static final String SERVLET_PARAMETER_BROTLI
Deprecated. Use
InitParameters.SERVLET_PARAMETER_BROTLI
instead.See Also:
-
LOAD_ES5_ADAPTERS
@Deprecated public static final String LOAD_ES5_ADAPTERS
Deprecated. Use
InitParameters.LOAD_ES5_ADAPTERS
instead.See Also:
-
FRONTEND_URL_ES6
@Deprecated public static final String FRONTEND_URL_ES6
Deprecated. Use
InitParameters.FRONTEND_URL_ES6
instead.See Also:
-
FRONTEND_URL_ES5
@Deprecated public static final String FRONTEND_URL_ES5
Deprecated. Use
InitParameters.FRONTEND_URL_ES5
instead.See Also:
-
FRONTEND_URL_ES6_DEFAULT_VALUE
public static final String FRONTEND_URL_ES6_DEFAULT_VALUE
Default frontend URL prefix for ES6.
See Also:
-
FRONTEND_URL_ES5_DEFAULT_VALUE
public static final String FRONTEND_URL_ES5_DEFAULT_VALUE
Default frontend URL prefix for ES.
See Also:
-
FRONTEND_URL_DEV_DEFAULT
public static final String FRONTEND_URL_DEV_DEFAULT
Default frontend URL prefix for development.
See Also:
-
DISABLE_WEBJARS
@Deprecated public static final String DISABLE_WEBJARS
Deprecated. Use
InitParameters.DISABLE_WEBJARS
instead.See Also:
-
USE_ORIGINAL_FRONTEND_RESOURCES
@Deprecated public static final String USE_ORIGINAL_FRONTEND_RESOURCES
Deprecated. Use
InitParameters.USE_ORIGINAL_FRONTEND_RESOURCES
instead.See Also:
-
I18N_PROVIDER
@Deprecated public static final String I18N_PROVIDER
Deprecated. Use
InitParameters.I18N_PROVIDER
instead.I18N provider property.
See Also:
-
DISABLE_AUTOMATIC_SERVLET_REGISTRATION
@Deprecated public static final String DISABLE_AUTOMATIC_SERVLET_REGISTRATION
Deprecated. Use
InitParameters.DISABLE_AUTOMATIC_SERVLET_REGISTRATION
instead.See Also:
-
COMPILED_WEB_COMPONENTS_PATH
@Deprecated public static final String COMPILED_WEB_COMPONENTS_PATH
Deprecated. Use
InitParameters.COMPILED_WEB_COMPONENTS_PATH
instead.See Also:
-
SERVLET_PARAMETER_STATISTICS_JSON
@Deprecated public static final String SERVLET_PARAMETER_STATISTICS_JSON
Deprecated. Use
InitParameters.SERVLET_PARAMETER_STATISTICS_JSON
instead.See Also:
-
STATISTICS_JSON_DEFAULT
public static final String STATISTICS_JSON_DEFAULT
Default path for the WebPack profile statistics json file. It can be modified by setting the system property "statistics.file.path".
See Also:
-
PACKAGE_JSON
public static final String PACKAGE_JSON
Name of the
npm
main file.See Also:
-
COMPATIBILITY_RESOURCES_FRONTEND_DEFAULT
public static final String COMPATIBILITY_RESOURCES_FRONTEND_DEFAULT
Location for the frontend resources in jar files for compatibility mode (also obsolete but supported for NPM mode).
See Also:
-
RESOURCES_FRONTEND_DEFAULT
public static final String RESOURCES_FRONTEND_DEFAULT
Location for the frontend resources in jar files.
See Also:
-
APPLICATION_THEME_ROOT
public static final String APPLICATION_THEME_ROOT
The name of the application theme root folder.
See Also:
-
RESOURCES_JAR_DEFAULT
public static final String RESOURCES_JAR_DEFAULT
Location for the resources in jar files.
See Also:
-
RESOURCES_THEME_JAR_DEFAULT
public static final String RESOURCES_THEME_JAR_DEFAULT
Location for the theme resources in jar files.
See Also:
-
SERVLET_PARAMETER_DEVMODE_WEBPACK_TIMEOUT
@Deprecated public static final String SERVLET_PARAMETER_DEVMODE_WEBPACK_TIMEOUT
Deprecated. Use
InitParameters.SERVLET_PARAMETER_DEVMODE_WEBPACK_TIMEOUT
instead.See Also:
-
SERVLET_PARAMETER_DEVMODE_WEBPACK_SUCCESS_PATTERN
@Deprecated public static final String SERVLET_PARAMETER_DEVMODE_WEBPACK_SUCCESS_PATTERN
Deprecated. Use
InitParameters.SERVLET_PARAMETER_DEVMODE_WEBPACK_SUCCESS_PATTERN
instead.See Also:
-
SERVLET_PARAMETER_DEVMODE_WEBPACK_ERROR_PATTERN
@Deprecated public static final String SERVLET_PARAMETER_DEVMODE_WEBPACK_ERROR_PATTERN
Deprecated. Use
InitParameters.SERVLET_PARAMETER_DEVMODE_WEBPACK_ERROR_PATTERN
instead.See Also:
-
SERVLET_PARAMETER_DEVMODE_WEBPACK_OPTIONS
@Deprecated public static final String SERVLET_PARAMETER_DEVMODE_WEBPACK_OPTIONS
Deprecated. Use
InitParameters.SERVLET_PARAMETER_DEVMODE_WEBPACK_OPTIONS
instead.See Also:
-
SERVLET_PARAMETER_DEVMODE_OPTIMIZE_BUNDLE
@Deprecated public static final String SERVLET_PARAMETER_DEVMODE_OPTIMIZE_BUNDLE
Deprecated. Use
InitParameters.SERVLET_PARAMETER_DEVMODE_OPTIMIZE_BUNDLE
instead.See Also:
-
SERVLET_PARAMETER_DEVMODE_TRANSPILE
@Deprecated public static final String SERVLET_PARAMETER_DEVMODE_TRANSPILE
Deprecated. Use
InitParameters.SERVLET_PARAMETER_DEVMODE_TRANSPILE
instead.See Also:
-
SERVLET_PARAMETER_DEVMODE_TRANSPILE_DEFAULT
public static final boolean SERVLET_PARAMETER_DEVMODE_TRANSPILE_DEFAULT
Default value of
InitParameters.SERVLET_PARAMETER_DEVMODE_TRANSPILE
.See Also:
-
SERVLET_PARAMETER_ENABLE_PNPM
@Deprecated public static final String SERVLET_PARAMETER_ENABLE_PNPM
Deprecated. Use
InitParameters.SERVLET_PARAMETER_ENABLE_PNPM
instead.See Also:
-
REQUIRE_HOME_NODE_EXECUTABLE
@Deprecated public static final String REQUIRE_HOME_NODE_EXECUTABLE
Deprecated. Use
InitParameters.REQUIRE_HOME_NODE_EXECUTABLE
instead.See Also:
-
META_INF
public static final String META_INF
The path used in the vaadin servlet for handling static resources.
See Also:
-
VAADIN_MAPPING
public static final String VAADIN_MAPPING
The path used in the vaadin servlet for handling static resources.
See Also:
-
VAADIN_SERVLET_RESOURCES
public static final String VAADIN_SERVLET_RESOURCES
The path to meta-inf/VAADIN/ where static resources are put on the servlet.
See Also:
-
VAADIN_BUILD
public static final String VAADIN_BUILD
The static build resources folder.
See Also:
-
VAADIN_CONFIGURATION
public static final String VAADIN_CONFIGURATION
The static configuration resources folder.
See Also:
-
VAADIN_BUILD_FILES_PATH
public static final String VAADIN_BUILD_FILES_PATH
The prefix used for all internal static files, relative to context root.
See Also:
-
LOCAL_FRONTEND_RESOURCES_PATH
public static final String LOCAL_FRONTEND_RESOURCES_PATH
Default path for local frontend resources packaged for jar add-ons.
See Also:
-
SUPPORTED_NODE_MAJOR_VERSION
@Deprecated public static final int SUPPORTED_NODE_MAJOR_VERSION
Deprecated. this is an internal constant, don't use it
Internal constant.
See Also:
-
SUPPORTED_NODE_MINOR_VERSION
@Deprecated public static final int SUPPORTED_NODE_MINOR_VERSION
Deprecated. this is an internal constant, don't use it
Internal constant.
See Also:
-
SUPPORTED_NPM_MAJOR_VERSION
@Deprecated public static final int SUPPORTED_NPM_MAJOR_VERSION
Deprecated. this is an internal constant, don't use it
Internal constant.
See Also:
-
SUPPORTED_NPM_MINOR_VERSION
@Deprecated public static final int SUPPORTED_NPM_MINOR_VERSION
Deprecated. this is an internal constant, don't use it
Internal constant.
See Also:
-
SHOULD_WORK_NODE_MAJOR_VERSION
@Deprecated public static final int SHOULD_WORK_NODE_MAJOR_VERSION
Deprecated. this is an internal constant, don't use it
Internal constant.
See Also:
-
SHOULD_WORK_NODE_MINOR_VERSION
@Deprecated public static final int SHOULD_WORK_NODE_MINOR_VERSION
Deprecated. this is an internal constant, don't use it
Internal constant.
See Also:
-
SHOULD_WORK_NPM_MAJOR_VERSION
@Deprecated public static final int SHOULD_WORK_NPM_MAJOR_VERSION
Deprecated. this is an internal constant, don't use it
Internal constant.
See Also:
-
SHOULD_WORK_NPM_MINOR_VERSION
@Deprecated public static final int SHOULD_WORK_NPM_MINOR_VERSION
Deprecated. this is an internal constant, don't use it
Internal constant.
See Also:
-
SUPPORTED_PNPM_MAJOR_VERSION
@Deprecated public static final int SUPPORTED_PNPM_MAJOR_VERSION
Deprecated. this is an internal constant, don't use it
Internal constant.
See Also:
-
SUPPORTED_PNPM_MINOR_VERSION
@Deprecated public static final int SUPPORTED_PNPM_MINOR_VERSION
Deprecated. this is an internal constant, don't use it
Internal constant.
See Also:
-
EXTERNAL_STATS_FILE
@Deprecated public static final String EXTERNAL_STATS_FILE
Deprecated. Use
InitParameters.EXTERNAL_STATS_FILE
instead.See Also:
-
EXTERNAL_STATS_URL
@Deprecated public static final String EXTERNAL_STATS_URL
Deprecated. Use
InitParameters.EXTERNAL_STATS_URL
instead.See Also:
-
DEFAULT_EXTERNAL_STATS_URL
public static final String DEFAULT_EXTERNAL_STATS_URL
Default location to look for the external stats.json.
See Also:
-
VAADIN_CORE_VERSIONS_JSON
public static final String VAADIN_CORE_VERSIONS_JSON
The name of platform core components and tools versions file.
See Also:
-
VAADIN_VERSIONS_JSON
public static final String VAADIN_VERSIONS_JSON
The name of platform commercial components and tools versions file.
See Also:
-
SERVLET_PARAMETER_DEVMODE_ENABLE_LIVE_RELOAD
@Deprecated public static final String SERVLET_PARAMETER_DEVMODE_ENABLE_LIVE_RELOAD
Deprecated. Use
InitParameters.SERVLET_PARAMETER_DEVMODE_ENABLE_LIVE_RELOAD
instead.See Also:
-
SPRING_BOOT_DEFAULT_LIVE_RELOAD_PORT
public static final int SPRING_BOOT_DEFAULT_LIVE_RELOAD_PORT
Default live reload port as defined in Spring Boot Dev Tools.
See Also:
-
-