@RestController @RequestMapping(value="/manage/file/") public class ProjectFileControl extends BaseAgentController
projectInfoService
Constructor and Description |
---|
ProjectFileControl() |
Modifier and Type | Method and Description |
---|---|
String |
deleteFile(String filename,
String type,
String levelName) |
String |
download(String id,
String filename,
String levelName) |
String |
getFileList(String id,
String path) |
String |
upload() |
getNowUserName, getProjectInfoModel, getUserName, 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
@RequestMapping(value="getFileList", method=POST, produces="application/json;charset=UTF-8") public String getFileList(String id, String path)
@RequestMapping(value="upload", method=POST, produces="application/json;charset=UTF-8") public String upload() throws Exception
Exception
@RequestMapping(value="deleteFile", method=POST, produces="application/json;charset=UTF-8") public String deleteFile(String filename, String type, String levelName)
Copyright © 2017–2019. All rights reserved.