Package nxt.http

Class ParameterParser


  • public final class ParameterParser
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Account getAccount​(javax.servlet.http.HttpServletRequest req)  
      static Account getAccount​(javax.servlet.http.HttpServletRequest req, boolean isMandatory)  
      static long getAccountId​(javax.servlet.http.HttpServletRequest req, boolean isMandatory)  
      static long getAccountId​(javax.servlet.http.HttpServletRequest req, java.lang.String name, boolean isMandatory)  
      static long[] getAccountIds​(javax.servlet.http.HttpServletRequest req, boolean isMandatory)  
      static java.lang.String getAccountProperty​(javax.servlet.http.HttpServletRequest req, boolean isMandatory)  
      static java.util.List<Account> getAccounts​(javax.servlet.http.HttpServletRequest req)  
      static Alias getAlias​(javax.servlet.http.HttpServletRequest req)  
      static long getAmountNQT​(javax.servlet.http.HttpServletRequest req)  
      static long getAmountNQTPerQNT​(javax.servlet.http.HttpServletRequest req)  
      static Asset getAsset​(javax.servlet.http.HttpServletRequest req)  
      static CurrencyBuyOffer getBuyOffer​(javax.servlet.http.HttpServletRequest req)  
      static byte getByte​(javax.servlet.http.HttpServletRequest req, java.lang.String name, byte min, byte max, boolean isMandatory)  
      static byte getByte​(javax.servlet.http.HttpServletRequest req, java.lang.String name, byte min, byte max, byte defaultValue, boolean isMandatory)  
      static byte[] getBytes​(javax.servlet.http.HttpServletRequest req, java.lang.String name, boolean isMandatory)  
      static Currency getCurrency​(javax.servlet.http.HttpServletRequest req)  
      static Currency getCurrency​(javax.servlet.http.HttpServletRequest req, boolean isMandatory)  
      static EncryptedData getEncryptedData​(javax.servlet.http.HttpServletRequest req, java.lang.String messageType)  
      static Appendix getEncryptedMessage​(javax.servlet.http.HttpServletRequest req, Account recipient, boolean prunable)  
      static Appendix.EncryptToSelfMessage getEncryptToSelfMessage​(javax.servlet.http.HttpServletRequest req)  
      static long getFeeNQT​(javax.servlet.http.HttpServletRequest req)  
      static int getFirstIndex​(javax.servlet.http.HttpServletRequest req)  
      static DigitalGoodsStore.Goods getGoods​(javax.servlet.http.HttpServletRequest req)  
      static int getGoodsQuantity​(javax.servlet.http.HttpServletRequest req)  
      static int getHeight​(javax.servlet.http.HttpServletRequest req)  
      static int getHeight​(javax.servlet.http.HttpServletRequest req, boolean isMandatory)  
      static long getHoldingId​(javax.servlet.http.HttpServletRequest req, HoldingType holdingType)  
      static HoldingType getHoldingType​(javax.servlet.http.HttpServletRequest req)  
      static int getInt​(javax.servlet.http.HttpServletRequest req, java.lang.String name, int min, int max, boolean isMandatory)  
      static int getInt​(javax.servlet.http.HttpServletRequest req, java.lang.String name, int min, int max, int defaultValue)  
      static int getLastIndex​(javax.servlet.http.HttpServletRequest req)  
      static long getLong​(javax.servlet.http.HttpServletRequest req, java.lang.String name, long min, long max, boolean isMandatory)  
      static long getLong​(javax.servlet.http.HttpServletRequest req, java.lang.String name, long min, long max, long defaultValue)  
      static int getNumberOfConfirmations​(javax.servlet.http.HttpServletRequest req)  
      static java.lang.String getParameter​(javax.servlet.http.HttpServletRequest req, java.lang.String name)  
      static Appendix getPlainMessage​(javax.servlet.http.HttpServletRequest req, boolean prunable)  
      static Poll getPoll​(javax.servlet.http.HttpServletRequest req)  
      static long getPriceNQT​(javax.servlet.http.HttpServletRequest req)  
      static byte[] getPublicKey​(javax.servlet.http.HttpServletRequest req)  
      static byte[] getPublicKey​(javax.servlet.http.HttpServletRequest req, java.lang.String prefix)  
      static DigitalGoodsStore.Purchase getPurchase​(javax.servlet.http.HttpServletRequest req)  
      static long getQuantityQNT​(javax.servlet.http.HttpServletRequest req)  
      static java.lang.String getSearchQuery​(javax.servlet.http.HttpServletRequest req)  
      static java.lang.String getSecretPhrase​(javax.servlet.http.HttpServletRequest req, boolean isMandatory)  
      static CurrencySellOffer getSellOffer​(javax.servlet.http.HttpServletRequest req)  
      static Account getSenderAccount​(javax.servlet.http.HttpServletRequest req)  
      static Shuffling getShuffling​(javax.servlet.http.HttpServletRequest req)  
      static Attachment.TaggedDataUpload getTaggedData​(javax.servlet.http.HttpServletRequest req)  
      static int getTimestamp​(javax.servlet.http.HttpServletRequest req)  
      static long getUnsignedLong​(javax.servlet.http.HttpServletRequest req, java.lang.String name, boolean isMandatory)  
      static long[] getUnsignedLongs​(javax.servlet.http.HttpServletRequest req, java.lang.String name)  
      static Transaction.Builder parseTransaction​(java.lang.String transactionJSON, java.lang.String transactionBytes, java.lang.String prunableAttachmentJSON)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait