Package nxt.http
Class RetrievePrunedData
- java.lang.Object
-
- nxt.http.APIServlet.APIRequestHandler
-
- nxt.http.RetrievePrunedData
-
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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
allowRequiredBlockParameters()
protected org.json.simple.JSONStreamAware
processRequest(javax.servlet.http.HttpServletRequest req)
protected boolean
requirePassword()
protected boolean
requirePost()
-
Methods inherited from class nxt.http.APIServlet.APIRequestHandler
getAPITags, getFileParameter, getParameters, isPassword, isTextArea, processRequest, requireBlockchain, requireFullClient, startDbTransaction
-
-
-
-
Method Detail
-
processRequest
protected org.json.simple.JSONStreamAware processRequest(javax.servlet.http.HttpServletRequest req)
- Specified by:
processRequest
in classAPIServlet.APIRequestHandler
-
requirePost
protected final boolean requirePost()
- Overrides:
requirePost
in classAPIServlet.APIRequestHandler
-
requirePassword
protected boolean requirePassword()
- Overrides:
requirePassword
in classAPIServlet.APIRequestHandler
-
allowRequiredBlockParameters
protected final boolean allowRequiredBlockParameters()
- Overrides:
allowRequiredBlockParameters
in classAPIServlet.APIRequestHandler
-
-