GWTP icon indicating copy to clipboard operation
GWTP copied to clipboard

Support javax.ws.rs.core.Response

Open dnouls opened this issue 8 years ago • 1 comments

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.

dnouls avatar Apr 08 '16 14:04 dnouls

Thanks also for your suggestion!

olafleur avatar Apr 15 '16 16:04 olafleur