@Controller @VisitRefer(refer="decision-management-system") @RequestMapping(value="/{version}/config/email") public class EmailResource extends java.lang.Object
构造器和说明 |
---|
EmailResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
getEmailConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
setEmailConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
EmailConfigBean bean) |
Response |
testEmail(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
EmailConfigBean testBean) |
@RequestMapping(method=GET) @ResponseBody public Response getEmailConfig(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="cmd/test", method=POST) @ResponseBody @DecisionControllerLog(type="Dec-Manage_PlatformModule", item="Dec-User_Email", operate="Dec-Log_Test") public Response testEmail(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody EmailConfigBean testBean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(method=PUT) @ResponseBody public Response setEmailConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody EmailConfigBean bean) throws java.lang.Exception
java.lang.Exception