jersey

Resolve what resource+method a URI would match in Jersey

In our Jersey application we like to present/restrict different parts of our API based on roles. To be specific we would like to only offer links to resources which the role can visit - i.e. already when preparing response A we would not even offer a link to a resource X if the user would not be...

Difference between ResourceConfig and ServletContextListener for Jersey Rest Service

I want to initialize a Jersey Rest service and introduce a global application-wide variable which should be calculated at application start up-time and should be available in each rest resource and each method (here indicated by the integer globalAppValue=17, but will be a complex object later). In...

What is the best way of securing a REST API? [closed]

Closed . This question needs to be more focused. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it focuses on one problem only by editing this post . Closed 2 years ago . I am developing a REST API with Java using Jersey and what is the best...