@Controller
@RequestMapping(value="/{version}")
public class LogResource
extends java.lang.Object
构造器和说明 |
---|
LogResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
cleanLog(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
int time) |
Response |
getLogConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
setLogConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
LogCleanBean bean) |
@RequestMapping(value="/log/config", method=GET) @ResponseBody public Response getLogConfig(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(value="/log/config", method=PUT) @ResponseBody @DecisionControllerLog(type="Dec-Log", item="Dec-Log_Settings", operate="Dec-Log_Update") public Response setLogConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody LogCleanBean bean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/log/clean/{time}", method=POST) @ResponseBody public Response cleanLog(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="time") int time) throws java.lang.Exception
java.lang.Exception