The attached patch adds the header "X-GWT-Permutation" to GWT RPC
requests.  The value can be retrieved on the server-side by calling
RemoteServiceServlet.getPermutationStrongName().  Note that the
permutation's strong name (seen in XYZZY.cache.html) is distinct from
the strong name of the RPC policy file (seen in FOO.cache.rpc).

This is intended to aid in logging and diagnostic work.

Diffstat:
 src/com/google/gwt/user/client/rpc/impl/RemoteServiceProxy.java
           |    8       8 +     0 -     0 !
 src/com/google/gwt/user/server/rpc/RemoteServiceServlet.java
           |   15       15 +    0 -     0 !
 test/com/google/gwt/user/client/rpc/RemoteServiceServletTest.java
           |   19       19 +    0 -     0 !
 test/com/google/gwt/user/client/rpc/RemoteServiceServletTestService.java
        |    2  2 +     0 -     0 !
 test/com/google/gwt/user/client/rpc/RemoteServiceServletTestServiceAsync.java
   |    3       3 +     0 -     0 !
 
test/com/google/gwt/user/server/rpc/RemoteServiceServletTestServiceImplBase.java
|   11  11 +    0 -     0 !
 6 files changed, 58 insertions(+)

-- 
Bob Vawter
Google Web Toolkit Team

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Attachment: strong_name_in_rpc_r4934.patch
Description: Binary data

Reply via email to