Class HelperMethods
java.lang.Object
io.cryptolens.internal.HelperMethods
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic boolean
This field can be used to bypass SSL verification when calling app.cryptolens.io. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends BasicResult>
TSendRequestToWebAPI
(String method, RequestModel model, Map<String, String> extraParams, Class<T> clazz) static <T extends BasicResult>
TSendRequestToWebAPI
(String method, RequestModel model, Map<String, String> extraParams, Class<T> clazz, APIError error)
-
Field Details
-
SSLVerifyEnabled
public static boolean SSLVerifyEnabledThis field can be used to bypass SSL verification when calling app.cryptolens.io. Set this to 'false' before calling any of the API methods. Once an API method is called, it will no longer be possible to re-enable SSL verification by setting this variable to false.
-
-
Constructor Details
-
HelperMethods
public HelperMethods()
-
-
Method Details
-
SendRequestToWebAPI
public static <T extends BasicResult> T SendRequestToWebAPI(String method, RequestModel model, Map<String, String> extraParams, Class<T> clazz) -
SendRequestToWebAPI
public static <T extends BasicResult> T SendRequestToWebAPI(String method, RequestModel model, Map<String, String> extraParams, Class<T> clazz, APIError error)
-