Wednesday, June 13, 2012

Re: Server side equivalent of RpcRequestBuilder

Use a Servlet Filter. It sits in front of servlets and you can do stuff before a servlet executes and after it has done its work.

http://www.jsptutorial.org/content/filter

-- J.

Am Mittwoch, 13. Juni 2012 01:53:18 UTC+2 schrieb Carlos Silva:
Hi,

I'm using an RpcRequestBuilder to add a session id header to the http request being made to the server.
Now, what I wanted was to on the *server* side, get the request and before it get's executed (call the method), check if the session is valid.
How can I accomplish this?

My biggest problem is understanding the full workflow (classes involved) of a GWT-RPC request, so I really don't know which class to create/extend/define.

Any help is good help :)
Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/1T5lTeErHgAJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate