Class ApplicationConstants

    • Field Detail

      • THEME_PROTOCOL_PREFIX

        public static final String THEME_PROTOCOL_PREFIX
        Prefix used for theme resource URLs
        Since:
        7.5.0
        See Also:
        com.vaadin.server.ThemeResource, Constant Field Values
      • UIDL_PUSH_ID

        public static final String UIDL_PUSH_ID
        Name for push connection identifier.
        Since:
        7.7.11
        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
      • 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
      • 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:
        7.7.11
        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
      • SERVER_SYNC_ID

        public static final String SERVER_SYNC_ID
        The name of the parameter used to transmit the sync id. The value can be set to -1 e.g. when testing with pre-recorded requests to make the framework ignore the sync id.
        Since:
        7.2
        See Also:
        com.vaadin.ui.ConnectorTracker#getCurrentSyncId(), 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
      • 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).
        Since:
        7.7.8
        See Also:
        Constant Field Values
    • Constructor Detail

      • ApplicationConstants

        public ApplicationConstants()