@RestController @RequestMapping(value="/tomcat/") public class TomcatEditController extends BaseAgentController
projectInfoService| Constructor and Description |
|---|
TomcatEditController() |
| Modifier and Type | Method and Description |
|---|---|
String |
add(TomcatInfoModel tomcatInfoModel)
添加Tomcat
|
String |
delete(String id)
删除tomcat
|
String |
getItem(String id)
根据Id查询Tomcat信息
|
String |
list()
列出所有的tomcat
|
String |
update(TomcatInfoModel tomcatInfoModel)
修改Tomcat信息
|
getNowUserName, getProjectInfoModel, getProjectInfoModel, getUserName, getWorkspaceId, tryGetProjectInfoModel, tryGetProjectInfoModelcheckPathSafe, pathSafeclearResources, createMultipart, getCookieValue, getHeader, getHeaders, getIp, getMultiRequest, getObject, getParameter, getParameter, getParameterInt, getParameterInt, getParameterLong, getParameterLong, getParameters, getParametersMap, getRefererParameter, getUnescapeParameter, getUnescapeParameter, getUnescapeParameters, getXssParameter, getXssParameter, getXssParameters, hasFile, resetInfogetApplication, getAttribute, getClientIP, getHeaderMapValues, getRequest, getRequestAttributes, getResponse, getSession, getSessionAttribute, getSessionAttributeObj, removeSessionAttribute, setAttribute, setSessionAttribute, tryGetRequestAttributes@RequestMapping(value="list",
method=POST,
produces="application/json")
public String list()
@RequestMapping(value="getItem",
method=POST,
produces="application/json")
public String getItem(String id)
id - Tomcat的主键@RequestMapping(value="add",
method=POST,
produces="application/json")
public String add(TomcatInfoModel tomcatInfoModel)
tomcatInfoModel - Tomcat信息@RequestMapping(value="update",
method=POST,
produces="application/json")
public String update(TomcatInfoModel tomcatInfoModel)
tomcatInfoModel - Tomcat信息Copyright © 2017–2022. All rights reserved.