You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ApplicationConstants.java 2.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /*
  2. * Copyright 2011 Vaadin Ltd.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  5. * use this file except in compliance with the License. You may obtain a copy of
  6. * the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  12. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  13. * License for the specific language governing permissions and limitations under
  14. * the License.
  15. */
  16. package com.vaadin.shared;
  17. public class ApplicationConstants {
  18. // This indicates the whole page is generated by us (not embedded)
  19. public static final String GENERATED_BODY_CLASSNAME = "v-generated-body";
  20. public static final String APP_REQUEST_PATH = "APP/";
  21. public static final String UIDL_REQUEST_PATH = "UIDL/";
  22. public static final String HEARTBEAT_REQUEST_PATH = "HEARTBEAT/";
  23. public static final String CONNECTOR_RESOURCE_PREFIX = APP_REQUEST_PATH
  24. + "CONNECTOR";
  25. public static final String APP_PROTOCOL_PREFIX = "app://";
  26. public static final String CONNECTOR_PROTOCOL_PREFIX = "connector://";
  27. public static final String UIDL_SECURITY_TOKEN_ID = "Vaadin-Security-Key";
  28. public static final String PARAM_UNLOADBURST = "onunloadburst";
  29. @Deprecated
  30. public static final String UPDATE_VARIABLE_INTERFACE = "v";
  31. @Deprecated
  32. public static final String UPDATE_VARIABLE_METHOD = "v";
  33. public static final String SERVICE_URL = "serviceUrl";
  34. public static final String SERVICE_URL_PATH_AS_PARAMETER = "usePathParameter";
  35. public static final String V_RESOURCE_PATH = "v-resourcePath";
  36. @Deprecated
  37. public static final String DRAG_AND_DROP_CONNECTOR_ID = "DD";
  38. /**
  39. * URL parameter used in UIDL requests to indicate that the full server-side
  40. * state should be returned to the client, i.e. without any incremental
  41. * changes.
  42. */
  43. public static final String URL_PARAMETER_REPAINT_ALL = "repaintAll";
  44. /**
  45. * Configuration parameter giving the (in some cases relative) URL to the
  46. * VAADIN folder from where themes and widgetsets are loaded.
  47. * <p>
  48. * <b>Refactor warning:</b> This value is also hardcoded in
  49. * vaadinBootstrap.js.
  50. * </p>
  51. */
  52. public static final String VAADIN_DIR_URL = "vaadinDir";
  53. }