GWTP
GWTP copied to clipboard
Support javax.ws.rs.core.Response
I'm trying to apply the DRY approach for reusing my jaxrs services using the gwtp-rest-delegated.
The problem is that I am using the Response object as a return value since it needs to change the CacheControl parameters when returning a response (or return different response types depending on the http response code).
But it seems that there is no support for this Response. It would be nice if at least the type would be available as an empty emulated class in gwtp so that it will compile properly.
Thanks also for your suggestion!