コード例 #1
0
 @RequestMapping(value = "map/{id}", method = RequestMethod.GET)
 // @ResponseStatus(HttpStatus.OK)
 public Map loadMaInfo(@PathVariable("id") String id) {
   return repository.selectMap(id);
 }
コード例 #2
0
 @RequestMapping(value = "maps", method = RequestMethod.GET)
 // @ResponseStatus(HttpStatus.OK)
 public List loadMapList(HttpServletRequest request) {
   return repository.selectMaps();
 }