Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support javax.ws.rs.core.Response #789

Open
dnouls opened this issue Apr 8, 2016 · 1 comment
Open

Support javax.ws.rs.core.Response #789

dnouls opened this issue Apr 8, 2016 · 1 comment

Comments

@dnouls
Copy link

dnouls commented Apr 8, 2016

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.

@olafleur
Copy link
Member

Thanks also for your suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants