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 and 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`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### processRequest

          protected org.json.simple.JSONStreamAware processRequest(javax.servlet.http.HttpServletRequest req)

      Specified by:
        `processRequest` in class `APIServlet.APIRequestHandler`

    - #### requirePost

          protected final boolean requirePost()

      Overrides:
        `requirePost` in class `APIServlet.APIRequestHandler`

    - #### requirePassword

          protected boolean requirePassword()

      Overrides:
        `requirePassword` in class `APIServlet.APIRequestHandler`

    - #### allowRequiredBlockParameters

          protected final boolean allowRequiredBlockParameters()

      Overrides:
        `allowRequiredBlockParameters` in class `APIServlet.APIRequestHandler`