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 StringCSRF_TOKENThe name of the parameter used to transmit the CSRF tokenstatic 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 StringGENERATED_BODY_CLASSNAMEstatic StringHEARTBEAT_PATHstatic 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 invocationsstatic 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 URLsstatic StringUIDL_PATHstatic StringUIDL_PUSH_IDName for push connection identifier.static StringUIDL_SECURITY_TOKEN_IDstatic 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.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
-
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
-
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
Name for push connection identifier.- Since:
- 7.7.11
- 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
-
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
-
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
-
-