add spring Jersey function