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

Javax-rs annotations defined in interfaces doesn't work #50

Open
imjksingh opened this issue Feb 22, 2018 · 2 comments
Open

Javax-rs annotations defined in interfaces doesn't work #50

imjksingh opened this issue Feb 22, 2018 · 2 comments

Comments

@imjksingh
Copy link

I defined an interface for rest service and then implemented it . The Upload was successful however rest call was not successful because no annotations for handlerMethod was found in the ResourceMethodInvoker

@imjksingh
Copy link
Author

imjksingh commented Feb 22, 2018

I have declared a interface with all the rest functions declared along with the javax-rs annotation .
Then it is being implemented in server handler class and client using apache cxf . Javax-rs annotation will work for the class which implements that interface.

@cagataygurturk
Copy link
Owner

Using JAX-RS annotations on interfaces are allowed by the specification, you are right but unfortunately at the moment they are not supported by Lambada framework.

I am planning a big refactor of the project, and I can add this feature to the roadmap also.

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

No branches or pull requests

2 participants