@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, 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, tryGetRequestAttributespublic 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.