Package com.vaadin.shared
Class ApplicationConstants
- java.lang.Object
-
- com.vaadin.shared.ApplicationConstants
-
- All Implemented Interfaces:
Serializable
public class ApplicationConstants extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPP_PATHstatic StringAPP_PROTOCOL_PREFIXstatic StringCLIENT_TO_SERVER_IDThe name of the parameter used to transmit the id of the client to server messages.static StringCONTENT_TYPE_TEXT_HTML_UTF_8Content type to use for text/html responses (should always be UTF-8).static StringCONTEXT_PROTOCOL_PREFIXAn internal protocol used for referencing the application context path.static StringCONTEXT_ROOT_URLConfiguration parameter giving the (in some cases relative) URL to the web application context root.static StringCSRF_TOKENThe name of the parameter used to transmit the CSRF token.static StringCSRF_TOKEN_DEFAULT_VALUEDefault value to use in case the security protection is disabled.static StringCSRF_TOKEN_PARAMETERName of the parameter used to transmit the CSRF token.static StringDRAG_AND_DROP_CONNECTOR_IDDeprecated.static StringFONTICON_PROTOCOL_PREFIXstatic StringFRONTEND_PROTOCOL_PREFIXAn internal protocol used for referencing frontend resources.static StringFRONTEND_URLConfiguration 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).static StringFRONTEND_URL_ES5Configuration name for the frontend:// URL when using a browser which is not ES6 compatible (i.e.static StringFRONTEND_URL_ES5_DEFAULT_VALUEDefault value of the configuration of the build URL of ES5 web components.static StringFRONTEND_URL_ES6Configuration name for the frontend:// URL when using an ES6 compatible browser.static StringFRONTEND_URL_ES6_DEFAULT_VALUEDefault value of the configuration of the build URL of ES6 web components.static StringGENERATED_BODY_CLASSNAMEstatic StringHEARTBEAT_PATHstatic StringMOBILE_DND_POLYFILL_JSName of the HTML5 DnD Polyfill JavaScript file.static StringPUBLISHED_FILE_PATHstatic StringPUBLISHED_PROTOCOL_NAMEstatic StringPUBLISHED_PROTOCOL_PREFIXstatic StringPUSH_ID_PARAMETERName of the parameter used to transmit the push connection identifier.static StringPUSH_PATHstatic StringRESYNCHRONIZE_IDThe name of the parameter used for re-synchronizing.static StringRPC_INVOCATIONSThe name of the parameter used to transmit RPC invocations.static StringSERVER_SYNC_IDThe name of the parameter used to transmit the sync id.static StringSERVICE_URLstatic StringSERVICE_URL_PARAMETER_NAMEstatic StringTHEME_PROTOCOL_PREFIXPrefix used for theme resource URLs.static StringUI_ROOT_PATHA request attribute name to store the part of pathInfo that was used to select the UI.static StringUIDL_PATHstatic StringUIDL_PUSH_IDstatic StringUIDL_SECURITY_TOKEN_IDstatic StringUNLOAD_BEACONThe name of the parameter used for notifying the server that user closed the tab/window or navigated away.static StringUPDATE_VARIABLE_INTERFACEDeprecated.static StringUPDATE_VARIABLE_METHODDeprecated.static StringURL_PARAMETER_REPAINT_ALLURL 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.static StringV_RESOURCE_PATHstatic StringVAADIN_BOOTSTRAP_JSThe name of the javascript containing the bootstrap code.static StringVAADIN_DIR_URLConfiguration parameter giving the (in some cases relative) URL to the VAADIN folder from where themes and widgetsets are loaded.static StringVAADIN_PROTOCOL_PREFIXstatic StringVAADIN_PUSH_DEBUG_JSThe name of the debug version of the javascript containing push support.static StringVAADIN_PUSH_JSThe name of the javascript containing push support.static StringWIDGETSET_VERSION_IDThe name of the parameter used for sending the widget set version to the server.
-
Constructor Summary
Constructors Constructor Description ApplicationConstants()
-
-
-
Field Detail
-
GENERATED_BODY_CLASSNAME
public static final String GENERATED_BODY_CLASSNAME
- See Also:
- Constant Field Values
-
APP_PATH
public static final String APP_PATH
- See Also:
- Constant Field Values
-
UIDL_PATH
public static final String UIDL_PATH
- See Also:
- Constant Field Values
-
HEARTBEAT_PATH
public static final String HEARTBEAT_PATH
- See Also:
- Constant Field Values
-
PUSH_PATH
public static final String PUSH_PATH
- See Also:
- Constant Field Values
-
PUBLISHED_FILE_PATH
public static final String PUBLISHED_FILE_PATH
- See Also:
- Constant Field Values
-
APP_PROTOCOL_PREFIX
public static final String APP_PROTOCOL_PREFIX
- See Also:
- Constant Field Values
-
VAADIN_PROTOCOL_PREFIX
public static final String VAADIN_PROTOCOL_PREFIX
- See Also:
- Constant Field Values
-
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
-
FONTICON_PROTOCOL_PREFIX
public static final String FONTICON_PROTOCOL_PREFIX
- See Also:
- Constant Field Values
-
PUBLISHED_PROTOCOL_NAME
public static final String PUBLISHED_PROTOCOL_NAME
- See Also:
- Constant Field Values
-
PUBLISHED_PROTOCOL_PREFIX
public static final String PUBLISHED_PROTOCOL_PREFIX
- 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
-
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_SECURITY_TOKEN_ID
public static final String UIDL_SECURITY_TOKEN_ID
- See Also:
- Constant Field Values
-
UIDL_PUSH_ID
public static final String UIDL_PUSH_ID
- Since:
- 8.0.6
- See Also:
- Constant Field Values
-
UPDATE_VARIABLE_INTERFACE
@Deprecated public static final String UPDATE_VARIABLE_INTERFACE
Deprecated.- See Also:
- Constant Field Values
-
UPDATE_VARIABLE_METHOD
@Deprecated public static final String UPDATE_VARIABLE_METHOD
Deprecated.- See Also:
- 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
-
SERVICE_URL
public static final String SERVICE_URL
- See Also:
- Constant Field Values
-
SERVICE_URL_PARAMETER_NAME
public static final String SERVICE_URL_PARAMETER_NAME
- See Also:
- Constant Field Values
-
V_RESOURCE_PATH
public static final String V_RESOURCE_PATH
- See Also:
- Constant Field Values
-
DRAG_AND_DROP_CONNECTOR_ID
@Deprecated public static final String DRAG_AND_DROP_CONNECTOR_ID
Deprecated.- 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
-
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
-
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
-
-