PageRenderTime 51ms CodeModel.GetById 29ms RepoModel.GetById 0ms app.codeStats 0ms

/gwtrpccommlayer/src/main/java/com/googlecode/gwtrpccommlayer/shared/GwtRpcCommLayerPojoConstants.java

https://code.google.com/p/gwtrpccommlayer/
Java | 39 lines | 7 code | 5 blank | 27 comment | 0 complexity | f7b512efec2fc582daeb689a73fa629e MD5 | raw file
  1. /*
  2. * Copyright 2010 Jeff McHugh (Segue Development LLC)
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  5. * in compliance with the License. You may obtain a copy of the License at
  6. *
  7. * http://www.apache.org/licenses/LICENSE-2.0
  8. *
  9. * Unless required by applicable law or agreed to in writing, software distributed under the License
  10. * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  11. * or implied. See the License for the specific language governing permissions and limitations under
  12. * the License.
  13. */
  14. package com.googlecode.gwtrpccommlayer.shared;
  15. /**
  16. * Some basic constants that are found within this API
  17. * @author jeff mchugh
  18. *
  19. */
  20. public class GwtRpcCommLayerPojoConstants
  21. {
  22. /*
  23. * Used by GwtRpcExtServlet to identify the client (and expectation of the servlet request)
  24. */
  25. public static final String GWT_RPC_COMM_LAYER_CLIENT_KEY = "GwtRpcCommLayerClient-UserAgent";
  26. /*
  27. * The name of the client (passed in header)
  28. */
  29. public static final String GWT_RPC_COMM_LAYER_POJO_CLIENT = "GwtRpcCommLayerPojoClient";
  30. /*
  31. * The name of the servlet implementation class (if required)
  32. */
  33. public static final String GWT_RPC_COMM_LAYER_SERVLET_IMPL_CLASS = "GwtRpcCommLayerServletImplClass";
  34. }