public class RetrievePrunedData extends APIServlet.APIRequestHandler
RetrievePrunedData will schedule a background task to retrieve data which has been pruned. The nxt.maxPrunableLifetime property determines the data that will be retrieved. Data is retrieved from a random peer with the PRUNABLE service.
DESCRIPTION_FIELD, MESSAGE_FIELD, NAME_FIELD
Modifier and Type | Method and Description |
---|---|
protected boolean |
allowRequiredBlockParameters() |
protected org.json.simple.JSONStreamAware |
processRequest(javax.servlet.http.HttpServletRequest req) |
protected boolean |
requirePassword() |
protected boolean |
requirePost() |
getAPITags, getFileParameter, getParameters, processRequest, requireBlockchain, requireFullClient, startDbTransaction
protected org.json.simple.JSONStreamAware processRequest(javax.servlet.http.HttpServletRequest req)
processRequest
in class APIServlet.APIRequestHandler
protected final boolean requirePost()
requirePost
in class APIServlet.APIRequestHandler
protected boolean requirePassword()
requirePassword
in class APIServlet.APIRequestHandler
protected final boolean allowRequiredBlockParameters()
allowRequiredBlockParameters
in class APIServlet.APIRequestHandler