Package nxt.http
Class StopFundingMonitor
java.lang.Object
nxt.http.APIServlet.APIRequestHandler
nxt.http.StopFundingMonitor
Stop a funding monitor
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.
-
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected org.json.simple.JSONStreamAwareprocessRequest(javax.servlet.http.HttpServletRequest req) Process the requestprotected booleanprotected booleanMethods inherited from class nxt.http.APIServlet.APIRequestHandler
canHaveRecipient, getAPITags, getCreateTransactionTypes, getFileParameters, getParameters, getSensitiveParameters, isChainSpecific, isIgnisOnly, isTextArea, processRequest, requireBlockchain, requiredBlockUpdateLock, requirePassword, startDbTransaction
-
Method Details
-
processRequest
protected org.json.simple.JSONStreamAware processRequest(javax.servlet.http.HttpServletRequest req) throws ParameterException Process the request- Specified by:
processRequestin classAPIServlet.APIRequestHandler- Parameters:
req- Client request- Returns:
- Client response
- Throws:
ParameterException- Unable to process request
-
requirePost
protected boolean requirePost()- Overrides:
requirePostin classAPIServlet.APIRequestHandler
-
allowRequiredBlockParameters
protected boolean allowRequiredBlockParameters()- Overrides:
allowRequiredBlockParametersin classAPIServlet.APIRequestHandler
-
requireFullClient
protected boolean requireFullClient()- Overrides:
requireFullClientin classAPIServlet.APIRequestHandler
-