Package nxt.addons

Class AbstractEncryptedConfig

java.lang.Object
nxt.addons.AbstractEncryptedConfig
All Implemented Interfaces:
AddOn
Direct Known Subclasses:
BundlingEncryptedConfig, ContractRunnerEncryptedConfig, ForgingEncryptedConfig, FundingMonitorsEncryptedConfig, StandbyShufflingEncryptedConfig

public abstract class AbstractEncryptedConfig extends Object implements AddOn
  • Constructor Details

    • AbstractEncryptedConfig

      public AbstractEncryptedConfig()
  • Method Details

    • init

      public void init()
      Specified by:
      init in interface AddOn
    • getAPIRequests

      public Map<String,APIServlet.APIRequestHandler> getAPIRequests()
      Specified by:
      getAPIRequests in interface AddOn
    • getAPIRequestName

      protected abstract String getAPIRequestName()
    • getAPITag

      protected abstract APITag getAPITag()
    • getDataParameter

      protected abstract String getDataParameter()
    • processDecrypted

      protected abstract org.json.simple.JSONStreamAware processDecrypted(BufferedReader reader) throws org.json.simple.parser.ParseException, IOException
      Throws:
      org.json.simple.parser.ParseException
      IOException
    • getExtraParameters

      protected List<String> getExtraParameters()
    • getSaveData

      protected String getSaveData(javax.servlet.http.HttpServletRequest request) throws ParameterException
      Throws:
      ParameterException
    • getDefaultFilename

      protected String getDefaultFilename()
    • getDefaultPath

      protected Path getDefaultPath()
    • resolvePath

      protected Path resolvePath(String pathString)