public class TuneUrlRequester extends Object implements UrlRequester
Constructor and Description |
---|
TuneUrlRequester() |
Modifier and Type | Method and Description |
---|---|
void |
requestDeeplink(String deeplinkURL,
String conversionKey,
TuneDeeplinkListener listener) |
org.json.JSONObject |
requestUrl(String url,
org.json.JSONObject json,
boolean debugMode)
Does an HTTP request to the given url, GET or POST based on whether json was passed or not
|
public void requestDeeplink(String deeplinkURL, String conversionKey, TuneDeeplinkListener listener)
requestDeeplink
in interface UrlRequester
public org.json.JSONObject requestUrl(String url, org.json.JSONObject json, boolean debugMode)
requestUrl
in interface UrlRequester
url
- the url to hitjson
- JSONObject with event item and IAP verification json, if not null or empty then will POST to url