com.vaadin.flow.server.

Class Constants

    • Field Detail

      • VAADIN_PREFIX

        public static final String VAADIN_PREFIX

        The prefix used for System property parameters.

        See Also:

        Constant Field Values

      • CONNECT_APPLICATION_PROPERTIES_TOKEN

        public static final String CONNECT_APPLICATION_PROPERTIES_TOKEN

        See Also:

        Constant Field Values

      • SERVLET_PARAMETER_USE_V14_BOOTSTRAP

        public static final String SERVLET_PARAMETER_USE_V14_BOOTSTRAP

        Enable it if your project is using client-side bootstrapping (CCDM).

        See Also:

        Constant Field Values

      • SERVLET_PARAMETER_DISABLE_XSRF_PROTECTION

        public static final String SERVLET_PARAMETER_DISABLE_XSRF_PROTECTION

        See Also:

        Constant Field Values

      • SERVLET_PARAMETER_HEARTBEAT_INTERVAL

        public static final String SERVLET_PARAMETER_HEARTBEAT_INTERVAL

        See Also:

        Constant Field Values

      • SERVLET_PARAMETER_WEB_COMPONENT_DISCONNECT

        public static final String SERVLET_PARAMETER_WEB_COMPONENT_DISCONNECT

        See Also:

        Constant Field Values

      • SERVLET_PARAMETER_CLOSE_IDLE_SESSIONS

        public static final String SERVLET_PARAMETER_CLOSE_IDLE_SESSIONS

        See Also:

        Constant Field Values

      • SERVLET_PARAMETER_SEND_URLS_AS_PARAMETERS

        public static final String SERVLET_PARAMETER_SEND_URLS_AS_PARAMETERS

        See Also:

        Constant Field Values

      • SERVLET_PARAMETER_PUSH_SUSPEND_TIMEOUT_LONGPOLLING

        public static final String SERVLET_PARAMETER_PUSH_SUSPEND_TIMEOUT_LONGPOLLING

        See Also:

        Constant Field Values

      • SERVLET_PARAMETER_MAX_MESSAGE_SUSPEND_TIMEOUT

        public static final String SERVLET_PARAMETER_MAX_MESSAGE_SUSPEND_TIMEOUT

        See Also:

        Constant Field Values

      • SERVLET_PARAMETER_BROTLI

        public static final String SERVLET_PARAMETER_BROTLI

        Configuration name for the parameter that determines whether Brotli compression should be used for static resources in cases when a precompressed file is available.

        See Also:

        Constant Field Values

      • DISABLE_AUTOMATIC_SERVLET_REGISTRATION

        public static final String DISABLE_AUTOMATIC_SERVLET_REGISTRATION

        Configuration name for the parameter that determines if Flow should automatically register servlets needed for the application to work.

        See Also:

        Constant Field Values

      • COMPILED_WEB_COMPONENTS_PATH

        public static final String COMPILED_WEB_COMPONENTS_PATH

        Configuration name for the parameter that sets the compiled web components path. The path should be the same as webComponentOutputDirectoryName in the maven plugin that transpiles ES6 code. This path is only used for generated web components (server side web components) module in case they are transpiled: web component UI imports them as dependencies.

        See Also:

        Constant Field Values

      • SERVLET_PARAMETER_STATISTICS_JSON

        public static final String SERVLET_PARAMETER_STATISTICS_JSON

        Configuration name for the WebPack profile statistics json file to use to determine template contents.

        File needs to be available either for the ClassLoader as a resource, or as a static web resource. By default it returns the value in STATISTICS_JSON_DEFAULT

        See Also:

        Constant Field Values

      • 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:

        Constant Field Values

      • 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:

        Constant Field Values

      • RESOURCES_FRONTEND_DEFAULT

        public static final String RESOURCES_FRONTEND_DEFAULT

        Location for the frontend resources in jar files.

        See Also:

        Constant Field Values

      • SERVLET_PARAMETER_DEVMODE_WEBPACK_SUCCESS_PATTERN

        public static final String SERVLET_PARAMETER_DEVMODE_WEBPACK_SUCCESS_PATTERN

        Configuration name for the pattern used to inspect the webpack output to assure it is up and running. Default value is defined in DevModeHandler as the : Compiled expression.

        See Also:

        Constant Field Values

      • SERVLET_PARAMETER_DEVMODE_WEBPACK_ERROR_PATTERN

        public static final String SERVLET_PARAMETER_DEVMODE_WEBPACK_ERROR_PATTERN

        Configuration name for the pattern used to inspect the webpack output to detecting when compilation failed. Default value is defined in DevModeHandler as the : Failed expression.

        See Also:

        Constant Field Values

      • SERVLET_PARAMETER_DEVMODE_WEBPACK_OPTIONS

        public static final String SERVLET_PARAMETER_DEVMODE_WEBPACK_OPTIONS

        Configuration name for adding extra options to the webpack-dev-server.

        See Also:

        Constant Field Values

      • SERVLET_PARAMETER_DEVMODE_OPTIMIZE_BUNDLE

        public static final String SERVLET_PARAMETER_DEVMODE_OPTIMIZE_BUNDLE

        Boolean parameter for enabling/disabling bytecode scanning in dev mode. If enabled, entry points are scanned for reachable frontend resources. If disabled, all classes on the classpath are scanned.

        See Also:

        Constant Field Values

      • SERVLET_PARAMETER_ENABLE_PNPM

        public static final String SERVLET_PARAMETER_ENABLE_PNPM

        Configuration parameter name for enabling pnpm.

        Since:

        2.2

        See Also:

        Constant Field Values

      • ENABLE_PNPM_DEFAULT_STRING

        public static final String ENABLE_PNPM_DEFAULT_STRING

        Constant for whether pnpm is default or not. Mojos need the value as string and constant, so need to use string instead of boolean.

        See Also:

        Constant Field Values

      • REQUIRE_HOME_NODE_EXECUTABLE

        public static final String REQUIRE_HOME_NODE_EXECUTABLE

        Configuration parameter name for requiring node executable installed in home directory.

        Since:

        See Also:

        Constant Field Values

      • META_INF

        public static final String META_INF

        The path used in the vaadin servlet for handling static resources.

        See Also:

        Constant Field Values

      • VAADIN_MAPPING

        public static final String VAADIN_MAPPING

        The path used in the vaadin servlet for handling static resources.

        See Also:

        Constant Field Values

      • 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:

        Constant Field Values

      • VAADIN_CONFIGURATION

        public static final String VAADIN_CONFIGURATION

        The static configuration resources folder.

        See Also:

        Constant Field Values

      • 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:

        Constant Field Values

      • 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:

        Constant Field Values

      • EXTERNAL_STATS_FILE

        public static final String EXTERNAL_STATS_FILE

        Property boolean for marking stats.json to be fetched from external location.

        See Also:

        Constant Field Values

      • EXTERNAL_STATS_URL

        public static final String EXTERNAL_STATS_URL

        Property String for external stats.json location url.

        See Also:

        Constant Field Values

      • DEFAULT_EXTERNAL_STATS_URL

        public static final String DEFAULT_EXTERNAL_STATS_URL

        Default location to look for the external stats.json.

        See Also:

        Constant Field Values

      • URL_PARAMETER_RESTART_APPLICATION

        public static final 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.

        See Also:

        Constant Field Values

      • URL_PARAMETER_CLOSE_APPLICATION

        public static final 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. Unlike URL_PARAMETER_RESTART_APPLICATION, this will not create a new session.

        See Also:

        Constant Field Values

      • STATISTIC_FLOW_BOOTSTRAPHANDLER

        public static final String STATISTIC_FLOW_BOOTSTRAPHANDLER

        UsageEntry name for UsageStatistics BootstrapHandler.

        See Also:

        Constant Field Values

      • STATISTIC_ROUTING_SERVER

        public static final String STATISTIC_ROUTING_SERVER

        UsageEntry name for UsageStatistics Routing Server.

        See Also:

        Constant Field Values

      • STATISTIC_ROUTING_CLIENT

        public static final String STATISTIC_ROUTING_CLIENT

        UsageEntry name for UsageStatistics Routing Client.

        See Also:

        Constant Field Values

      • STATISTIC_ROUTING_HYBRID

        public static final String STATISTIC_ROUTING_HYBRID

        UsageEntry name for UsageStatistics Hybrid.

        See Also:

        Constant Field Values

      • VAADIN_VERSIONS_JSON

        public static final String VAADIN_VERSIONS_JSON

        The name of platform versions file.

        See Also:

        Constant Field Values

      • SERVLET_PARAMETER_DEVMODE_ENABLE_LIVE_RELOAD

        public static final String SERVLET_PARAMETER_DEVMODE_ENABLE_LIVE_RELOAD

        Configuration parameter name for enabling live reload.

        Since:

        See Also:

        Constant Field Values