Package com.vaadin.flow.server
Class Constants
java.lang.Object
com.vaadin.flow.server.Constants
- All Implemented Interfaces:
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
Modifier and TypeFieldDescriptionstatic final String
Internal parameter which prevent validation for annotations which are allowed on an AppShell classstatic final String
The name of the application theme root folder.static final String
The directory name inside dev bundle for the frontend assets.static final String
Location for the frontend resources in jar files for compatibility mode (also obsolete but supported for npm mode).static final String
static final String
static final String
static final boolean
The default value for whether usage statistics is enabled.static final String
Default location to look for the external stats.json.static final boolean
The default value forInitParameters.NODE_AUTO_UPDATE
.static final boolean
The default value forInitParameters.REQUIRE_HOME_NODE_EXECUTABLE
.static final String
The path part where dev-bundle is located inside the jar.static final String
The folder in the project where Flow generates Express Build mode application dev bundle.static final String
The name of the default dev bundle for the Express Build mode.static final boolean
Constant for whether pnpm is default or not.static final String
Property boolean for marking stats.json to be fetched from external location.static final String
static final String
Property String for external stats.json location url.static final String
static final String
static final String
static final boolean
Constant for setting the pinned supported version of pnpm to be used by default (seeFrontendTools.DEFAULT_PNPM_VERSION
).static final String
static final String
Default path for local frontend resources packaged for jar add-ons.static final String
The path used in the vaadin servlet for handling static resources.static final String
static final String
Name of thenpm
main file.static final String
Name of thenpm
version locking ile.static final String
static final String
static final String
The path used in the vaadin servlet for handling push.static final String
static final String
Location for the frontend resources in jar files.static final String
Location for the resources in jar files.static final String
Location for the theme resources in jar files.static final int
Default live reload port as defined in Spring Boot Dev Tools.static final String
UsageEntry name for UsageStatistics BootstrapHandler.static final String
UsageEntry name for UsageStatistics Routing Client.static final String
UsageEntry name for UsageStatistics Hybrid.static final String
UsageEntry name for UsageStatistics Routing Server.static final String
Default path for the frontend statistics json file.static final String
Target folder constant.static final String
Default resource directory to place template sources in.static final String
A request parameter that can be given in browser to force the Vaadin application to close an existing UI and session.static final String
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 final String
The static build resources folder.static final String
The prefix used for all internal static files, relative to context root.static final String
The static configuration resources folder.static final String
The name of platform core components and tools versions file.static final String
The path used in the vaadin servlet for handling static resources.static final String
The prefix used for System property parameters.static final String
The path to meta-inf/VAADIN/ where static resources are put on the servlet.static final String
The name of platform commercial components and tools versions file.static final String
The static resources root folder.static final String
The path to webapp/ public resources root. -
Method Summary
-
Field Details
-
REQUIRED_ATMOSPHERE_RUNTIME_VERSION
- See Also:
-
VAADIN_PREFIX
The prefix used for System property parameters.- See Also:
-
NPM_TOKEN
- See Also:
-
FRONTEND_TOKEN
- See Also:
-
GENERATED_TOKEN
- See Also:
-
CONNECT_JAVA_SOURCE_FOLDER_TOKEN
- See Also:
-
JAVA_RESOURCE_FOLDER_TOKEN
- See Also:
-
CONNECT_APPLICATION_PROPERTIES_TOKEN
- See Also:
-
CONNECT_OPEN_API_FILE_TOKEN
- See Also:
-
PROJECT_FRONTEND_GENERATED_DIR_TOKEN
- See Also:
-
EXTERNAL_STATS_FILE_TOKEN
- See Also:
-
EXTERNAL_STATS_URL_TOKEN
- See Also:
-
POLYFILLS_DEFAULT_VALUE
- See Also:
-
STATISTICS_JSON_DEFAULT
Default path for the frontend statistics json file. It can be modified by setting the system property "statistics.file.path".- See Also:
-
TEMPLATE_DIRECTORY
Default resource directory to place template sources in. This is used used for Vite production mode instead of a stats.json file.- See Also:
-
PACKAGE_JSON
Name of thenpm
main file.- See Also:
-
PACKAGE_LOCK_JSON
Name of thenpm
version locking ile.- See Also:
-
TARGET
Target folder constant.- See Also:
-
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
Location for the frontend resources in jar files.- See Also:
-
APPLICATION_THEME_ROOT
The name of the application theme root folder.- See Also:
-
RESOURCES_JAR_DEFAULT
Location for the resources in jar files.- See Also:
-
RESOURCES_THEME_JAR_DEFAULT
Location for the theme resources in jar files.- See Also:
-
ENABLE_PNPM_DEFAULT
public static final boolean ENABLE_PNPM_DEFAULTConstant for whether pnpm is default or not.- See Also:
-
GLOBAL_PNPM_DEFAULT
public static final boolean GLOBAL_PNPM_DEFAULTConstant for setting the pinned supported version of pnpm to be used by default (seeFrontendTools.DEFAULT_PNPM_VERSION
).- See Also:
-
DEFAULT_NODE_AUTO_UPDATE
public static final boolean DEFAULT_NODE_AUTO_UPDATEThe default value forInitParameters.NODE_AUTO_UPDATE
.- See Also:
-
DEFAULT_REQUIRE_HOME_NODE_EXECUTABLE
public static final boolean DEFAULT_REQUIRE_HOME_NODE_EXECUTABLEThe default value forInitParameters.REQUIRE_HOME_NODE_EXECUTABLE
.- See Also:
-
DEFAULT_DEVMODE_STATS
public static final boolean DEFAULT_DEVMODE_STATSThe default value for whether usage statistics is enabled.- See Also:
-
ALLOW_APPSHELL_ANNOTATIONS
Internal parameter which prevent validation for annotations which are allowed on an AppShell class- See Also:
-
META_INF
The path used in the vaadin servlet for handling static resources.- See Also:
-
VAADIN_MAPPING
The path used in the vaadin servlet for handling static resources.- See Also:
-
PUSH_MAPPING
The path used in the vaadin servlet for handling push.- See Also:
-
VAADIN_BUILD
The static build resources folder.- See Also:
-
VAADIN_CONFIGURATION
The static configuration resources folder.- See Also:
-
VAADIN_WEBAPP
The static resources root folder.- See Also:
-
VAADIN_SERVLET_RESOURCES
The path to meta-inf/VAADIN/ where static resources are put on the servlet.- See Also:
-
VAADIN_WEBAPP_RESOURCES
The path to webapp/ public resources root.- See Also:
-
VAADIN_BUILD_FILES_PATH
The prefix used for all internal static files, relative to context root.- See Also:
-
LOCAL_FRONTEND_RESOURCES_PATH
Default path for local frontend resources packaged for jar add-ons.- See Also:
-
EXTERNAL_STATS_FILE
Property boolean for marking stats.json to be fetched from external location.- See Also:
-
EXTERNAL_STATS_URL
Property String for external stats.json location url.- See Also:
-
DEFAULT_EXTERNAL_STATS_URL
Default location to look for the external stats.json.- See Also:
-
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.- See Also:
-
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. UnlikeURL_PARAMETER_RESTART_APPLICATION
, this will not create a new session.- See Also:
-
STATISTIC_FLOW_BOOTSTRAPHANDLER
UsageEntry name for UsageStatistics BootstrapHandler.- See Also:
-
STATISTIC_ROUTING_SERVER
UsageEntry name for UsageStatistics Routing Server.- See Also:
-
STATISTIC_ROUTING_CLIENT
UsageEntry name for UsageStatistics Routing Client.- See Also:
-
STATISTIC_ROUTING_HYBRID
UsageEntry name for UsageStatistics Hybrid.- See Also:
-
VAADIN_CORE_VERSIONS_JSON
The name of platform core components and tools versions file.- See Also:
-
VAADIN_VERSIONS_JSON
The name of platform commercial components and tools versions file.- See Also:
-
SPRING_BOOT_DEFAULT_LIVE_RELOAD_PORT
public static final int SPRING_BOOT_DEFAULT_LIVE_RELOAD_PORTDefault live reload port as defined in Spring Boot Dev Tools.- See Also:
-
DEV_BUNDLE_NAME
The name of the default dev bundle for the Express Build mode.- See Also:
-
DEV_BUNDLE_LOCATION
The folder in the project where Flow generates Express Build mode application dev bundle.- See Also:
-
DEV_BUNDLE_JAR_PATH
The path part where dev-bundle is located inside the jar.- See Also:
-
ASSETS
The directory name inside dev bundle for the frontend assets.- See Also:
-