Package nxt.http
Class StopFundingMonitor
- java.lang.Object
-
- nxt.http.APIServlet.APIRequestHandler
-
- nxt.http.StopFundingMonitor
-
public class StopFundingMonitor extends APIServlet.APIRequestHandler
Stop a funding monitorWhen 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.
-
-
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)
Process the requestprotected boolean
requireFullClient()
protected boolean
requirePost()
-
Methods inherited from class nxt.http.APIServlet.APIRequestHandler
getAPITags, getFileParameter, getParameters, isPassword, isTextArea, processRequest, requireBlockchain, requirePassword, startDbTransaction
-
-
-
-
Method Detail
-
processRequest
protected org.json.simple.JSONStreamAware processRequest(javax.servlet.http.HttpServletRequest req) throws ParameterException
Process the request- Specified by:
processRequest
in classAPIServlet.APIRequestHandler
- Parameters:
req
- Client request- Returns:
- Client response
- Throws:
ParameterException
- Unable to process request
-
requirePost
protected boolean requirePost()
- Overrides:
requirePost
in classAPIServlet.APIRequestHandler
-
allowRequiredBlockParameters
protected boolean allowRequiredBlockParameters()
- Overrides:
allowRequiredBlockParameters
in classAPIServlet.APIRequestHandler
-
requireFullClient
protected boolean requireFullClient()
- Overrides:
requireFullClient
in classAPIServlet.APIRequestHandler
-
-