public class StopFundingMonitor extends APIServlet.APIRequestHandler
When the secret phrase is specified, a single monitor will be stopped. The monitor is identified by the secret phrase, holding and account property. The administrator password is not required and will be ignored.
When the administrator password is specified, a single monitor can be stopped by specifying the funding account, holding and account property. If no account is specified, all monitors will be stopped.
The holding type and account property name must be specified when the secret phrase or account is specified. Holding type codes are listed in getConstants. In addition, the holding identifier must be specified when the holding type is ASSET or CURRENCY.
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)
Process the request
|
protected boolean |
requireFullClient() |
protected boolean |
requirePost() |
getAPITags, getFileParameter, getParameters, processRequest, requireBlockchain, requirePassword, startDbTransaction
protected org.json.simple.JSONStreamAware processRequest(javax.servlet.http.HttpServletRequest req) throws ParameterException
processRequest
in class APIServlet.APIRequestHandler
req
- Client requestParameterException
- Unable to process requestprotected boolean requirePost()
requirePost
in class APIServlet.APIRequestHandler
protected boolean allowRequiredBlockParameters()
allowRequiredBlockParameters
in class APIServlet.APIRequestHandler
protected boolean requireFullClient()
requireFullClient
in class APIServlet.APIRequestHandler