@Controller @RequestMapping(value="node/ssh") @Feature(cls=SSH) public class SshInstallAgentController extends BaseServerController
nodeService
Constructor and Description |
---|
SshInstallAgentController() |
Modifier and Type | Method and Description |
---|---|
String |
installAgent() |
String |
installAgentSubmit(String id,
String nodeData,
String path) |
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="installAgent.html", method=GET, produces="text/html") @Feature(method=INSTALL) public String installAgent()
@RequestMapping(value="installAgentSubmit.json", method=POST, produces="application/json;charset=UTF-8") @ResponseBody @Feature(method=INSTALL) @OptLog(value=SshInstallAgent) public String installAgentSubmit(@ValidatorItem(value=NOT_BLANK) String id, @ValidatorItem(value=NOT_BLANK,msg="\u8282\u70b9\u6570\u636e") String nodeData, @ValidatorItem(value=NOT_BLANK,msg="\u5b89\u88c5\u8def\u5f84") String path) throws Exception
Exception
Copyright © 2017–2019. All rights reserved.