public abstract class CreateTransaction extends APIServlet.APIRequestHandler
Modifier | Constructor and Description |
---|---|
protected |
CreateTransaction(java.lang.String fileParameter,
APITag[] apiTags,
java.lang.String... parameters) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
allowRequiredBlockParameters() |
protected org.json.simple.JSONStreamAware |
createTransaction(javax.servlet.http.HttpServletRequest req,
Account senderAccount,
Attachment attachment) |
protected org.json.simple.JSONStreamAware |
createTransaction(javax.servlet.http.HttpServletRequest req,
Account senderAccount,
Attachment attachment,
Chain txChain) |
protected org.json.simple.JSONStreamAware |
createTransaction(javax.servlet.http.HttpServletRequest req,
Account senderAccount,
long recipientId,
long amountNQT,
Attachment attachment,
Chain txChain,
ChainTransactionId referencedTransactionId) |
static java.util.List<java.lang.String> |
getCommonParameters() |
protected boolean |
isChainSpecific() |
protected boolean |
requirePost() |
getAPITags, getFileParameter, getParameters, isIgnisOnly, isPassword, isTextArea, processRequest, processRequest, requireBlockchain, requireFullClient, requirePassword, startDbTransaction
protected CreateTransaction(java.lang.String fileParameter, APITag[] apiTags, java.lang.String... parameters)
public static java.util.List<java.lang.String> getCommonParameters()
protected final org.json.simple.JSONStreamAware createTransaction(javax.servlet.http.HttpServletRequest req, Account senderAccount, Attachment attachment) throws NxtException
NxtException
protected final org.json.simple.JSONStreamAware createTransaction(javax.servlet.http.HttpServletRequest req, Account senderAccount, Attachment attachment, Chain txChain) throws NxtException
NxtException
protected final org.json.simple.JSONStreamAware createTransaction(javax.servlet.http.HttpServletRequest req, Account senderAccount, long recipientId, long amountNQT, Attachment attachment, Chain txChain, ChainTransactionId referencedTransactionId) throws NxtException
NxtException
protected final boolean requirePost()
requirePost
in class APIServlet.APIRequestHandler
protected final boolean allowRequiredBlockParameters()
allowRequiredBlockParameters
in class APIServlet.APIRequestHandler
protected final boolean isChainSpecific()
isChainSpecific
in class APIServlet.APIRequestHandler