Server side equivalent of RpcRequestBuilder

36 views
Skip to first unread message

Carlos Silva

unread,
Jun 12, 2012, 7:53:18 PM6/12/12
to google-we...@googlegroups.com
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.

Jens

unread,
Jun 13, 2012, 4:23:59 AM6/13/12
to google-we...@googlegroups.com
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.


-- J.
Reply all
Reply to author
Forward
0 new messages