SpringMVC: Restful API