com.vaadin.flow.shared.
Class ApplicationConstants
All Implemented Interfaces:
A utility class providing static constants. Mostly for internal use.
Also available for the client side part of the framework.
Since:
1.0
Author:
Vaadin Ltd
See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Whether the application is run in as a exported Web Component.
static final String
Protocol used for referencing resources relative the base URI of the loaded page.
static final String
Path to the Vaadin client engine folder, relative to the context root.
static final String
The name of the parameter used to transmit the id of the client to server messages.
static final String
Content type to use for text/html responses (should always be UTF-8).
static final String
Content type to use for text/javascript responses (should always be UTF-8).
static final String
Protocol used for referencing the application context path.
static final String
Configuration parameter giving the (in some cases relative) URL to the web application context root.
static final String
The name of the parameter used to transmit the CSRF token.
static final String
Default value to use in case the security protection is disabled.
static final String
Web socket parameter which identifies connection as live reload connection.
static final String
Boolean client configuration parameter enabling the development tools.
static final String
Configuration parameter for the build URL of ES6 web components.
static final String
Name of the parameter used to transmit the push connection identifier.
static final String
Parameter for the initial router location when JavaScript bootstrapping.
static final String
Parameter for the initial query string when JavaScript bootstrapping.
static final String
Request type parameter value indicating a heartbeat request.
static final String
Request type parameter value indicating an init request.
static final String
Get parameter used in framework requests to identify the request type.
static final String
Request type parameter value indicating a push request.
static final String
Request type parameter value indicating a translation properties file request.
static final String
Request type parameter value indicating a UIDL request.
static final String
Request type parameter value indicating a WebComponent resynchronization request.
static final String
The name of the parameter used for re-synchronizing.
static final String
Attribute name for marking internal router link anchors.
static final String
The name of the parameter used to transmit RPC invocations.
static final String
The name of the parameter used to transmit the sync id.
static final String
The URL which should be used to connect server-side VaadinService.
static final String
The name of the parameter used to transmit the id of UI used in given request.
static final String
Name of the parameter used to transmit UI ids back and forth.
static final String
The identifier used for Push messages.
static final String
The identifier used for the CSRF token.
static final String
The name of the parameter used for notifying the server that user closed the tab/window or navigated away.
static final String
The name of the debug version of the javascript containing push support.
static final String
The name of the javascript containing push support.
static final String
The prefix used for all internal static files, relative to context root.
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CONTEXT_PROTOCOL_PREFIX
Protocol used for referencing the application context path.
See Also:
-
BASE_PROTOCOL_PREFIX
Protocol used for referencing resources relative the base URI of the loaded page.
See Also:
-
UIDL_SECURITY_TOKEN_ID
The identifier used for the CSRF token.
See Also:
-
UIDL_PUSH_ID
The identifier used for Push messages.
See Also:
-
SERVICE_URL
The URL which should be used to connect server-side VaadinService.
See Also:
-
APP_WC_MODE
Whether the application is run in as a exported Web Component.
See Also:
-
CONTEXT_ROOT_URL
Configuration parameter giving the (in some cases relative) URL to the web application context root.
See Also:
-
VAADIN_STATIC_FILES_PATH
The prefix used for all internal static files, relative to context root.
See Also:
-
VAADIN_PUSH_JS
The name of the javascript containing push support.
See Also:
-
VAADIN_PUSH_DEBUG_JS
The name of the debug version of the javascript containing push support.
See Also:
-
PUSH_ID_PARAMETER
Name of the parameter used to transmit the push connection identifier.
See Also:
-
RPC_INVOCATIONS
The name of the parameter used to transmit RPC invocations.
See Also:
-
CSRF_TOKEN
The name of the parameter used to transmit the CSRF token.
See Also:
-
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.
-
CLIENT_TO_SERVER_ID
The name of the parameter used to transmit the id of the client to server messages.
See Also:
-
UI_ID
The name of the parameter used to transmit the id of UI used in given request.
See Also:
-
CSRF_TOKEN_DEFAULT_VALUE
Default value to use in case the security protection is disabled.
See Also:
-
RESYNCHRONIZE_ID
The name of the parameter used for re-synchronizing.
See Also:
-
CONTENT_TYPE_TEXT_HTML_UTF_8
Content type to use for text/html responses (should always be UTF-8).
See Also:
-
CONTENT_TYPE_TEXT_JAVASCRIPT_UTF_8
Content type to use for text/javascript responses (should always be UTF-8).
See Also:
-
UI_ID_PARAMETER
Name of the parameter used to transmit UI ids back and forth.
See Also:
-
CLIENT_ENGINE_PATH
Path to the Vaadin client engine folder, relative to the context root.
See Also:
-
REQUEST_LOCATION_PARAMETER
Parameter for the initial router location when JavaScript bootstrapping. It is optional when
REQUEST_TYPE_PARAMETER
has theREQUEST_TYPE_INIT
valueSee Also:
-
REQUEST_QUERY_PARAMETER
Parameter for the initial query string when JavaScript bootstrapping.
See Also:
-
REQUEST_TYPE_PARAMETER
Get parameter used in framework requests to identify the request type.
See Also:
-
REQUEST_TYPE_INIT
Request type parameter value indicating an init request.
See Also:
-
REQUEST_TYPE_UIDL
Request type parameter value indicating a UIDL request.
See Also:
-
REQUEST_TYPE_HEARTBEAT
Request type parameter value indicating a heartbeat request.
See Also:
-
REQUEST_TYPE_PUSH
Request type parameter value indicating a push request.
See Also:
-
REQUEST_TYPE_WEBCOMPONENT_RESYNC
Request type parameter value indicating a WebComponent resynchronization request.
See Also:
-
REQUEST_TYPE_TRANSLATION_FILE
Request type parameter value indicating a translation properties file request.
See Also:
-
ROUTER_LINK_ATTRIBUTE
Attribute name for marking internal router link anchors.
See Also:
-
FRONTEND_URL_ES6
Configuration parameter for the build URL of ES6 web components.
See Also:
-
DEBUG_WINDOW_CONNECTION
Web socket parameter which identifies connection as live reload connection.
See Also:
-
DEV_TOOLS_ENABLED
Boolean client configuration parameter enabling the development tools.
See Also:
-
UNLOAD_BEACON
The name of the parameter used for notifying the server that user closed the tab/window or navigated away.
See Also:
-
-
Constructor Details
-
ApplicationConstants
public ApplicationConstants()
-