support jersey 1.x