@Controller
@RequestMapping(value="/{version}/data/update")
public class DataUpdateResource
extends java.lang.Object
构造器和说明 |
---|
DataUpdateResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
getDataUpdateMSG(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
setDataUpdateMSG(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
DataUpdateMsgBean bean) |
@RequestMapping(method=GET) @ResponseBody public Response getDataUpdateMSG(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(method=PUT) @ResponseBody public Response setDataUpdateMSG(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody DataUpdateMsgBean bean) throws java.lang.Exception
java.lang.Exception