I am trying to make our apis available as restful service.
Defined a controller with @Controller and inside defined a method as follows
@RequestMapping(value="/empDetails/{empName}", method=RequestMethod.GET)
public void getUserData(@PathVariable("empName") String empName, Model model) {
}
Does the above makes the api as Restful ???
In Simple just giving annotation makes the method as Restful API???
Thanks.