public class TuneUrlRequester extends Object implements UrlRequester
Constructor and Description |
---|
TuneUrlRequester() |
Modifier and Type | Method and Description |
---|---|
void |
requestDeeplink(TuneDeferredDplinkr dplinkr) |
JSONObject |
requestUrl(String url,
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(TuneDeferredDplinkr dplinkr)
requestDeeplink
in interface UrlRequester
public JSONObject requestUrl(String url, 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