public class HttpRequestUrl extends Object
Modifier and Type | Method and Description |
---|---|
static String |
buildResourceUrl(String host,
String resourceUrl,
int querySize,
boolean offline)
Adapts a resource request url based on the host, query size, and offline requirement.
|
public static String buildResourceUrl(String host, String resourceUrl, int querySize, boolean offline)
host
- the host used as endpointresourceUrl
- the resource to downloadquerySize
- the query size of the resource requestoffline
- the type of resource, either offline or online© 2015–2019 Mapbox. All rights reserved.