How to hook end of POST

2008-09-09 Thread Kenji Tayama
Hi, I'm trying to hook the end of POST calls, and I've tried these : Filter#afterHandle Handler#handleXxx Application#handle Works fine for GET requests, but for POST requests, these get called before response data is sent to the browser. Is there any way to hook the point when response data

Convention and booleans

2008-09-09 Thread Vincent Ricard
Hi, I read the WADL spec and the wadl2java code (which creates the client stubs from a wadl file). The generated code seems work like that (for a boolean parameter): - if the param is true, the name is added (to the matrix or query string) (with no values); - if it is false, nothing is added. I

Re: GWT + Restlet examples?

2008-09-09 Thread Mark Petrovic
Does someone have a single snippet of code that shows how the Restlet- GWT API would work with the GWT tutorial w/RPC in StockWatcher? Pseudo code would be fine. http://code.google.com/docreader/#p=google-web-toolkit- doc-1-5s=google-web-toolkit-doc-1-5t=GettingStartedRPC That is, what

Re: GWT + Restlet examples?

2008-09-09 Thread Justin Makeig
I don't mean to throw a wet blanket on the GWT discussion, but my (limited) impression of GWT was that it was trying to abstract away the web, rather than embrace it. Rather than dealing with loosely coupled services, resources, and representations, it wraps everything into a nice tidy Java API

Re: GWT + Restlet examples?

2008-09-09 Thread Rob Heittman
GWT and Restlet is a *very* different paradigm from GWT-RPC. There is no creation of RPC interfaces, no Async or Service constructs. That is, as Justin said, an abstraction that largely pretends the Web isn't there, instead of leveraging its capabilities. This is why GWT-RPC is not a feature of