using jersey for uri parsing and matching