Package nxt.http
Class GetFundingMonitor
- java.lang.Object
-
- nxt.http.APIServlet.APIRequestHandler
-
- nxt.http.GetFundingMonitor
-
public class GetFundingMonitor extends APIServlet.APIRequestHandler
Get a funding monitorThe monitors for a single funding account will be returned when the secret phrase is specified. A single monitor will be returned if holding and property are specified. Otherwise, all monitors for the funding account will be returned The administrator password is not required and will be ignored.
When the administrator password is specified, all monitors will be returned unless the funding account is also specified. A single monitor will be returned if holding and property are specified. Otherwise, all monitors for the funding account will be returned.
Holding type codes are listed in getConstants. In addition, the holding identifier must be specified when the holding type is ASSET or CURRENCY.
-
-
Field Summary
-
Fields inherited from class nxt.http.APIServlet.APIRequestHandler
DESCRIPTION_FIELD, MESSAGE_FIELD, NAME_FIELD
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanallowRequiredBlockParameters()protected org.json.simple.JSONStreamAwareprocessRequest(javax.servlet.http.HttpServletRequest req)Process the requestprotected booleanrequireFullClient()-
Methods inherited from class nxt.http.APIServlet.APIRequestHandler
getAPITags, getFileParameter, getParameters, processRequest, requireBlockchain, requirePassword, requirePost, startDbTransaction
-
-
-
-
Method Detail
-
processRequest
protected org.json.simple.JSONStreamAware processRequest(javax.servlet.http.HttpServletRequest req) throws ParameterExceptionProcess the request- Specified by:
processRequestin classAPIServlet.APIRequestHandler- Parameters:
req- Client request- Returns:
- Client response
- Throws:
ParameterException- Unable to process request
-
allowRequiredBlockParameters
protected boolean allowRequiredBlockParameters()
- Overrides:
allowRequiredBlockParametersin classAPIServlet.APIRequestHandler
-
requireFullClient
protected boolean requireFullClient()
- Overrides:
requireFullClientin classAPIServlet.APIRequestHandler
-
-