@RequestMapping( path = "register/{param}", method = RequestMethod.DELETE, produces = MediaType.APPLICATION_JSON_UTF8_VALUE) public RegistResult receiveDelete(@PathVariable("param") String param) throws JsonParseException, JsonMappingException, IOException { logger.info("Stub Method[DELETE]"); RegistParam convertValue = JsonConverter.toObject(param, RegistParam.class); logger.info("param:" + convertValue.toString()); return this.createParam(); }
@RequestMapping(path = "register", method = RequestMethod.PUT) public RegistResult receivePut(@RequestBody RegistParam param) { logger.info("Stub Method[PUT]"); logger.info("param:" + param.toString()); return this.createParam(); }