Class PostSender
- java.lang.Object
-
- com.h2tcoin.takamakachain.utils.networking.PostSender
-
public class PostSender extends Object
- Author:
- giovanni.antino@h2tcoin.com
-
-
Constructor Summary
Constructors Constructor Description PostSender()
-
Method Summary
-
-
-
Method Detail
-
sendAsyncTransactionAsPost
public static void sendAsyncTransactionAsPost(String endpoint, String apiURL, TransactionBox tbox, JComponent compToEnable, ShowAddress sa)
-
submitTransaction
public static Runnable submitTransaction(String endpoint, TransactionBox tbox, AsyncActionInterface asyncComp)
-
endpointRequest
public static Runnable endpointRequest(String endpoint, String requestBody, String reqKey, AsyncActionInterface asyncComp)
-
endpointRequest
public static Runnable endpointRequest(String endpoint, AsyncActionInterface asyncComp)
request with no parameters- Parameters:
endpoint
-asyncComp
-- Returns:
-
createPublishAndRetrive
public static void createPublishAndRetrive(String endpoint, String apiURL, TransactionBox tbox, AsyncActionInterface asyncComp)
- Parameters:
endpoint
- creation endpintapiURL
- retrive endpointtbox
-asyncComp
-
-
sendAsyncTransactionAsPost
public static void sendAsyncTransactionAsPost(String endpoint, TransactionBox tbox, JComponent compToEnable, ShowAddress sa)
-
sendAsyncTransactionAsPost
public static void sendAsyncTransactionAsPost(TransactionBox tbox, JComponent compToEnable, ShowAddress sa)
-
retriveAsyncTransactionAsPost
public static void retriveAsyncTransactionAsPost(String apiURL, String hexValue, JComponent compToEnable, JTextArea areaToWrite, ShowAddress sa)
-
retriveAsyncTransactionAsPost
public static void retriveAsyncTransactionAsPost(String apiURL, String hexValue, JComponent[] compToEnableOnSuccess, JComponent[] compToEnable, JComponent[] compToDisable, JComponent[] compToShow, JComponent[] compToHide, JComponent spinner, JTextArea areaToWrite, Icon defaultIcon, JLabel identiconLabel)
-
retriveQTESLAAddrAsyncTransactionAsPost
public static void retriveQTESLAAddrAsyncTransactionAsPost(String apiURL, String hexValue, JComponent compToEnable, JTextArea areaToWrite)
-
-