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

Add Support for jax-rs Response return type #45

Open
vegegoku opened this issue May 15, 2020 · 1 comment
Open

Add Support for jax-rs Response return type #45

vegegoku opened this issue May 15, 2020 · 1 comment
Labels
Milestone

Comments

@vegegoku
Copy link
Member

This should allow us to define client interfaces in domino-rest like this

...
import jax.ws.rs.core.Response;
...
public interface FooResource {
    @POST
    @Path("foo/bar")
    Response create(Foo foo);
}

The problem with this is that the Response class does not implies any type information regarding the response body, so we need a way to describe the response body type for the annotation processor to generate proper deserializer.

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

No branches or pull requests

2 participants