com.vaadin.shared.

Class ApplicationConstants

    • Field Detail

      • CONTEXT_PROTOCOL_PREFIX

        public static final String CONTEXT_PROTOCOL_PREFIX

        An internal protocol used for referencing the application context path.

        Since:

        8.0.3

        See Also:

        Constant Field Values

      • FRONTEND_PROTOCOL_PREFIX

        public static final String FRONTEND_PROTOCOL_PREFIX

        An internal protocol used for referencing frontend resources.

        Since:

        8.1

        See Also:

        FRONTEND_URL, Constant Field Values

      • UNLOAD_BEACON

        public static final String UNLOAD_BEACON

        The name of the parameter used for notifying the server that user closed the tab/window or navigated away.

        Since:

        8.23

        See Also:

        Constant Field Values

      • URL_PARAMETER_REPAINT_ALL

        public static final String URL_PARAMETER_REPAINT_ALL

        URL parameter used in UIDL requests to indicate that the full server-side state should be returned to the client, i.e. without any incremental changes.

        See Also:

        Constant Field Values

      • CONTEXT_ROOT_URL

        public static final String CONTEXT_ROOT_URL

        Configuration parameter giving the (in some cases relative) URL to the web application context root.

        Since:

        8.0.3

        See Also:

        Constant Field Values

      • VAADIN_DIR_URL

        public static final String VAADIN_DIR_URL

        Configuration parameter giving the (in some cases relative) URL to the VAADIN folder from where themes and widgetsets are loaded.

        Refactor warning: This value is also hardcoded in vaadinBootstrap.js.

        See Also:

        Constant Field Values

      • FRONTEND_URL

        public static final String FRONTEND_URL

        Configuration parameter giving the (in some cases relative) URL to the frontend resource folder from where frontend files are served (this is what frontend:// should resolve to).

        By default, this is "vaadin://es6" ("vaadin://es5" for browsers which does not support ES6).

        Since:

        8.1

        See Also:

        Constant Field Values

      • VAADIN_BOOTSTRAP_JS

        public static final String VAADIN_BOOTSTRAP_JS

        The name of the javascript containing the bootstrap code. The file is located in the VAADIN directory.

        Since:

        7.3

        See Also:

        Constant Field Values

      • VAADIN_PUSH_JS

        public static final String VAADIN_PUSH_JS

        The name of the javascript containing push support. The file is located in the VAADIN directory.

        See Also:

        Constant Field Values

      • VAADIN_PUSH_DEBUG_JS

        public static final String VAADIN_PUSH_DEBUG_JS

        The name of the debug version of the javascript containing push support. The file is located in the VAADIN directory.

        Since:

        7.1.6

        See Also:

        Constant Field Values

      • CSRF_TOKEN_PARAMETER

        public static final String CSRF_TOKEN_PARAMETER

        Name of the parameter used to transmit the CSRF token.

        See Also:

        Constant Field Values

      • PUSH_ID_PARAMETER

        public static final String PUSH_ID_PARAMETER

        Name of the parameter used to transmit the push connection identifier.

        Since:

        8.0.6

        See Also:

        Constant Field Values

      • RPC_INVOCATIONS

        public static final String RPC_INVOCATIONS

        The name of the parameter used to transmit RPC invocations.

        Since:

        7.2

        See Also:

        Constant Field Values

      • CSRF_TOKEN

        public static final String CSRF_TOKEN

        The name of the parameter used to transmit the CSRF token.

        Since:

        7.2

        See Also:

        Constant Field Values

      • CLIENT_TO_SERVER_ID

        public static final String CLIENT_TO_SERVER_ID

        The name of the parameter used to transmit the id of the client to server messages.

        Since:

        7.6

        See Also:

        Constant Field Values

      • CSRF_TOKEN_DEFAULT_VALUE

        public static final String CSRF_TOKEN_DEFAULT_VALUE

        Default value to use in case the security protection is disabled.

        See Also:

        Constant Field Values

      • RESYNCHRONIZE_ID

        public static final String RESYNCHRONIZE_ID

        The name of the parameter used for re-synchronizing.

        See Also:

        Constant Field Values

      • WIDGETSET_VERSION_ID

        public static final String WIDGETSET_VERSION_ID

        The name of the parameter used for sending the widget set version to the server.

        Since:

        7.6

        See Also:

        Constant Field Values

      • UI_ROOT_PATH

        public static final String UI_ROOT_PATH

        A request attribute name to store the part of pathInfo that was used to select the UI. Will be used by default Navigator to separate view identifiers from UI. This can be set by custom UI providers.

        Since:

        8.2

        See Also:

        Constant Field Values

      • CONTENT_TYPE_TEXT_HTML_UTF_8

        public static final String CONTENT_TYPE_TEXT_HTML_UTF_8

        Content type to use for text/html responses (should always be UTF-8).

        See Also:

        Constant Field Values

      • FRONTEND_URL_ES5

        public static final String FRONTEND_URL_ES5

        Configuration name for the frontend:// URL when using a browser which is not ES6 compatible (i.e. IE11 or Safari 9).

        Since:

        8.1

        See Also:

        Constant Field Values

      • FRONTEND_URL_ES6

        public static final String FRONTEND_URL_ES6

        Configuration name for the frontend:// URL when using an ES6 compatible browser.

        Since:

        8.1

        See Also:

        Constant Field Values

      • FRONTEND_URL_ES6_DEFAULT_VALUE

        public static final String FRONTEND_URL_ES6_DEFAULT_VALUE

        Default value of the configuration of the build URL of ES6 web components.

        Since:

        8.1

        See Also:

        Constant Field Values

      • FRONTEND_URL_ES5_DEFAULT_VALUE

        public static final String FRONTEND_URL_ES5_DEFAULT_VALUE

        Default value of the configuration of the build URL of ES5 web components.

        Since:

        8.1

        See Also:

        Constant Field Values

      • MOBILE_DND_POLYFILL_JS

        public static final String MOBILE_DND_POLYFILL_JS

        Name of the HTML5 DnD Polyfill JavaScript file.

        Since:

        8.1

        See Also:

        Constant Field Values

    • Constructor Detail

      • ApplicationConstants

        public ApplicationConstants()