@Controller @RequestMapping(value="/manager/app/") public class AppAction extends BaseAction
| 构造器和说明 |
|---|
AppAction() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
checkForm(AppEntity app,
javax.servlet.http.HttpServletResponse response)
判断站点域名的合法性
|
boolean |
checkUrl(javax.servlet.http.HttpServletRequest request)
判断是否有重复的域名
|
String |
edit(org.springframework.ui.ModelMap mode,
int appId,
javax.servlet.http.HttpServletRequest request)
跳转到修改页面
|
void |
update(org.springframework.ui.ModelMap mode,
AppEntity app,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
更新站点信息
|
checkRandCode, checkRandCode, decryptByAES, encryptByAES, getApp, getAppId, getBasicModelCode, getCategoryModelCode, getCodeBySession, getHistoryPageNoByCookie, getManagerBySession, getManagerId, getModelCodeId, getModelCodeId, getModelCodeId, getModelCodeIdForAES, getRandCode, getResString, getRootModelCodeId, getTemplatePath, isSystemManager, parserMsTag, redirectBackassemblyRequestMap, getBean, getBean, getBoolean, getCookie, getDomain, getHost, getHostIp, getInt, getInt, getIntBase64, getIp, getMACAddress, getMapByProperties, getMapByProperties, getPageNo, getPageSize, getRealPath, getResString, getResString, getResString, getSession, getUrl, isMobileDevice, outJson, outJson, outJson, outJson, outJson, outJson, outJson, outString, readStreamParameter, removeSession, setCookie, setCookie, setSession@RequestMapping(value="/{appId}/edit")
public String edit(org.springframework.ui.ModelMap mode,
@PathVariable
int appId,
javax.servlet.http.HttpServletRequest request)
mode - ModelMap实体对象appId - 站点idrequest - 请求对象@RequestMapping(value="/update")
public void update(org.springframework.ui.ModelMap mode,
@ModelAttribute
AppEntity app,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
mode - ModelMap实体对象app - 站点对象request - 请求对象response - 相应对象public boolean checkForm(AppEntity app, javax.servlet.http.HttpServletResponse response)
app - 要验证的站点信息response - response对象@RequestMapping(value="/checkUrl") @ResponseBody public boolean checkUrl(javax.servlet.http.HttpServletRequest request)
request - 请求对象Copyright © 2016. All rights reserved.