@RestController @RequestMapping(value="/outgiving") @Feature(cls=OUTGIVING_CONFIG_WHITELIST) public class OutGivingWhitelistController extends BaseServerController
NODE_ID, nodeService
Constructor and Description |
---|
OutGivingWhitelistController(SystemParametersServer systemParametersServer,
OutGivingWhitelistService outGivingWhitelistService) |
Modifier and Type | Method and Description |
---|---|
String |
whiteList()
get whiteList data
白名单数据接口
|
String |
whitelistDirectorySubmit(String outGiving,
String allowRemoteDownloadHost)
保存节点白名单
|
checkCron, getNode, getUser, getUserByThreadLocal, getUserModel, removeAll, removeEmpty, resetInfo, 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
public OutGivingWhitelistController(SystemParametersServer systemParametersServer, OutGivingWhitelistService outGivingWhitelistService)
@RequestMapping(value="white-list", method=POST, produces="application/json") public String whiteList()
Copyright © 2017–2022. All rights reserved.