@Controller @RequestMapping(value="/node/manage/") @Feature(cls=PROJECT) public class ProjectManageControl extends BaseServerController
nodeService
Constructor and Description |
---|
ProjectManageControl() |
Modifier and Type | Method and Description |
---|---|
String |
deleteProject(String id)
删除项目
|
String |
getProjectInfo()
查询所有项目
|
String |
getProjectPort()
获取正在运行的项目的端口和进程id
|
String |
projectInfo()
展示项目页面
|
doPage, getNode, getUser, getUserModel, remove, resetInfo, tryGetNode
checkPathSafe, pathSafe
clearResources, createMultipart, getCookieValue, getHeader, getHeaders, getIp, getMultiRequest, getObject, getParameter, getParameter, getParameterInt, getParameterInt, getParameterLong, getParameterLong, getParameters, getParametersMap, getRefererParameter, getUnescapeParameter, getUnescapeParameter, getUnescapeParameters, getXssParameter, getXssParameter, getXssParameters, hasFile
getApplication, getAttribute, getClientIP, getHeaderMapValues, getRequest, getRequestAttributes, getResponse, getSession, getSessionAttribute, getSessionAttributeObj, removeSessionAttribute, setAttribute, setSessionAttribute, tryGetRequestAttributes
@RequestMapping(value="projectInfo", method=GET, produces="text/html") @Feature(method=LIST) public String projectInfo()
@RequestMapping(value="getProjectPort", method=POST, produces="application/json;charset=UTF-8") @ResponseBody public String getProjectPort()
@RequestMapping(value="getProjectInfo", method=POST, produces="application/json;charset=UTF-8") @ResponseBody @Feature(method=LIST) public String getProjectInfo()
@RequestMapping(value="deleteProject", method=POST, produces="application/json;charset=UTF-8") @ResponseBody @OptLog(value=DelProject) @Feature(method=DEL) public String deleteProject(@ValidatorItem(value=NOT_BLANK) String id) throws IOException
IOException
Copyright © 2017–2019. All rights reserved.