Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Server with Jax-Rs #251
When using a JEE container, we want to benefit from the integration capabilities provided b y JAX-RS. This fork add some interfaces around the classes such as RestfulServer, RequestDetails and ResponseDetails in order to remove the dependencies to the servlet-api.
added a commit
this pull request
Nov 27, 2015
Hi @petervanhoute ,
I've merged this now. Looks amazing! I've also added you in as a committer so you can do any maintenance to it you need.
In merging, I made one change to it. I don't think paging was working correctly as the patch stood. It required the URL to have the name of the resource in it, e.g.
A bunch of other things depend on the paging requests working from the root of the server so I fixed that.. but would you be able to look at what I did and see if it makes sense?
Hello @jamesagnew ,
I'm glad you like it! Thanks for merging and adding me as a commiter.
I was struggling with the paging and the URL's (self, next, resource references, ..). It's good you found an elegant, working solution for the paging and the url's.
You can remove the commented line 389 in Dstu2BundleFactory.java: