@RestController public class IndexController extends BaseAgentController
Constructor and Description |
---|
IndexController(ProjectInfoService projectInfoService,
NodeScriptServer nodeScriptServer) |
Modifier and Type | Method and Description |
---|---|
String |
index() |
String |
info() |
String |
status()
返回节点项目状态信息
|
getNowUserName, getProjectInfoModel, getProjectInfoModel, getUserName, getWorkspaceId, tryGetProjectInfoModel, tryGetProjectInfoModel
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, resetInfo
getApplication, getAttribute, getClientIP, getHeaderMapValues, getRequest, getRequestAttributes, getResponse, getSession, getSessionAttribute, getSessionAttributeObj, removeSessionAttribute, setAttribute, setSessionAttribute, tryGetRequestAttributes
public IndexController(ProjectInfoService projectInfoService, NodeScriptServer nodeScriptServer)
@RequestMapping(value={"index","","index.html","/"}, produces="text/plain") @NotAuthorize public String index()
@RequestMapping(value="info", method=POST, produces="application/json") public String info()
@RequestMapping(value="status", method=POST, produces="application/json") public String status()
Copyright © 2017–2022. All rights reserved.