@Controller @VisitRefer(refer="decision-management-system") @RequestMapping(value="/{version}/config/cache") public class CacheResource extends java.lang.Object
构造器和说明 |
---|
CacheResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
getCacheConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getCacheReloadTemplate(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
setCacheConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
CacheConfigBean bean) |
Response |
setCacheReloadTemplate(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
boolean reload) |
@RequestMapping(method=GET) @ResponseBody public Response getCacheConfig(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 setCacheConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody CacheConfigBean bean) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/template", method=GET) @ResponseBody public Response getCacheReloadTemplate(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="/template/{reload}", method=PUT) @ResponseBody public Response setCacheReloadTemplate(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @PathVariable(value="reload") boolean reload) throws java.lang.Exception
java.lang.Exception