Class ConfigNetworkRequestCreator
-
- All Implemented Interfaces:
public final class ConfigNetworkRequestCreator extends InMobiRequestCreator
This class is responsible for creating the network request for fetching the config.
-
-
Constructor Summary
Constructors Constructor Description ConfigNetworkRequestCreator(String url, String accountId, List<ConfigRequestContext> configRequestContexts, Boolean requestIP)
-
Method Summary
Modifier and Type Method Description final BooleangetRequestIP()final static UnitsetDefaultConfigUrl(String url)final static UnitsetExtras(Map<String, String> extras)-
-
Constructor Detail
-
ConfigNetworkRequestCreator
ConfigNetworkRequestCreator(String url, String accountId, List<ConfigRequestContext> configRequestContexts, Boolean requestIP)
- Parameters:
url- The URL to which the request is to be made.accountId- The account ID for which the config is to be fetched.configRequestContexts- The list of config types and their last updated timestamps.
-
-
Method Detail
-
getRequestIP
final Boolean getRequestIP()
-
setDefaultConfigUrl
final static Unit setDefaultConfigUrl(String url)
-
-
-
-