With spring rest is there any reason to use request param?
For a search i don't know if i shoud use
@RequestMapping(value = "/lodgers/{searchParam}", method = RequestMethod.GET)
public Lodger getAllLogders(@PathVariable("searchParam") String searchParam)
or
@RequestMapping(value = "/lodgers/", method = RequestMethod.GET)
public Lodger getAllLogders(String searchParam)