@Controller @RequestMapping(value="/node/system/nginx") @Feature(cls=NGINX) public class NginxController extends BaseServerController
nodeService
Constructor and Description |
---|
NginxController() |
Modifier and Type | Method and Description |
---|---|
String |
close()
关闭nginx
|
String |
config()
获取nginx配置状态
|
String |
delete() |
String |
list()
配置列表
|
String |
ngx() |
String |
open()
启动nginx
|
String |
reload() |
String |
setting(String type) |
String |
status()
获取nginx状态
|
String |
updateConf()
修改nginx
|
String |
updateNgx() |
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="list.html", method=GET, produces="text/html") @Feature(method=LIST) public String ngx()
@RequestMapping(value="list_data.json", method=POST, produces="application/json;charset=UTF-8") @ResponseBody @Feature(method=LIST) public String list()
@RequestMapping(value="item.html", method=GET, produces="text/html") @Feature(method=EDIT) public String setting(String type)
@RequestMapping(value="updateNgx", method=POST, produces="application/json;charset=UTF-8") @ResponseBody @OptLog(value=SaveNginx) @Feature(method=EDIT) public String updateNgx()
@RequestMapping(value="delete", method=POST, produces="application/json;charset=UTF-8") @ResponseBody @OptLog(value=DelNginx) @Feature(method=DEL) public String delete()
@RequestMapping(value="status", method=POST, produces="application/json;charset=UTF-8") @ResponseBody @Feature(method=LIST) public String status()
@RequestMapping(value="config", method=POST, produces="application/json;charset=UTF-8") @ResponseBody @Feature(method=CONFIG) public String config()
@RequestMapping(value="open", method=POST, produces="application/json;charset=UTF-8") @ResponseBody @Feature(method=EXECUTE) public String open()
@RequestMapping(value="close", method=POST, produces="application/json;charset=UTF-8") @ResponseBody @Feature(method=EXECUTE) public String close()
@RequestMapping(value="updateConf", method=POST, produces="application/json;charset=UTF-8") @ResponseBody @Feature(method=CONFIG) public String updateConf()
Copyright © 2017–2019. All rights reserved.