Extended jersey api

Line endings corrected, should be possible to merge now