Package nxt.addons
Class AbstractEncryptedConfig
java.lang.Object
nxt.addons.AbstractEncryptedConfig
- All Implemented Interfaces:
AddOn
- Direct Known Subclasses:
BundlingEncryptedConfig,ContractRunnerEncryptedConfig,ForgingEncryptedConfig,FundingMonitorsEncryptedConfig,StandbyShufflingEncryptedConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Stringprotected abstract APITagprotected abstract Stringprotected Stringprotected Pathprotected StringgetSaveData(javax.servlet.http.HttpServletRequest request) voidinit()protected abstract org.json.simple.JSONStreamAwareprocessDecrypted(BufferedReader reader) protected PathresolvePath(String pathString) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface nxt.addons.AddOn
getAPIRequestHandler, getAPIRequestType, getConfigProperties, getUIPlugins, shutdown
-
Constructor Details
-
AbstractEncryptedConfig
public AbstractEncryptedConfig()
-
-
Method Details
-
init
public void init() -
getAPIRequests
- Specified by:
getAPIRequestsin interfaceAddOn
-
getAPIRequestName
-
getAPITag
-
getDataParameter
-
processDecrypted
protected abstract org.json.simple.JSONStreamAware processDecrypted(BufferedReader reader) throws org.json.simple.parser.ParseException, IOException - Throws:
org.json.simple.parser.ParseExceptionIOException
-
getExtraParameters
-
getSaveData
protected String getSaveData(javax.servlet.http.HttpServletRequest request) throws ParameterException - Throws:
ParameterException
-
getDefaultFilename
-
getDefaultPath
-
resolvePath
-