Enum EngineBaseURL
Enum EngineBaseURL
- java.lang.Object
-
- java.lang.Enum<EngineBaseURL>
-
- com.here.sdk.core.engine.EngineBaseURL
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EngineBaseURL>
public enum EngineBaseURL extends java.lang.Enum<EngineBaseURL>
Lists the available HERE SDK endpoints that can be customized with a custom backend base URL.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHENTICATIONIndicates base url forAuthentication.DS_PROXYSpecifies the endpoint URL for a map catalog.ISOLINE_ROUTING_ENGINEIndicates aIsolineRoutingEngineendpoint.RASTER_TILE_SERVICEIndicates aRaster Tile APIendpoint.ROUTING_ENGINEIndicates aRoutingEngineendpoint.SEARCH_ENGINEIndicates aSearchEngineendpoint.TRAFFIC_DATAIndicates aTraffic Dataendpoint.TRAFFIC_VECTOR_TILE_SERVICEIndicates aTraffic Vector Tile APIendpoint.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EngineBaseURLvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EngineBaseURL[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SEARCH_ENGINE
public static final EngineBaseURL SEARCH_ENGINE
Indicates a
SearchEngineendpoint. Note that the provided string value will replace the base URL. The endpoint names for this engine are "v1/discover", "v1/geocode", "v1/revgeocode", "v1/autosuggest", "v1/lookup" and "v1/browse". A valid base string value could look like "www.my-company.com". An example of the resulting URL for the first endpoint looks like this: "https://www.my-company.com/v1/discover" appended with query data. You need to ensure that the provided base URL supports all required endpoints.
-
ROUTING_ENGINE
public static final EngineBaseURL ROUTING_ENGINE
Indicates a
RoutingEngineendpoint. Note that the provided string value will replace the base URL. The endpoint names for this engine are "v8/routes", "v8/import". A valid base string value could look like "www.my-company.com". An example of the resulting URL for the first endpoint looks like this: "https://www.my-company.com/v8/routes" appended with query data. You need to ensure that the provided base URL supports all required endpoints.
-
AUTHENTICATION
public static final EngineBaseURL AUTHENTICATION
Indicates base url for
Authentication. Note that the provided string value will replace the base URL. The endpoint name for this base url is "oauth2/token". A valid base string value could look like "www.my-company.com". An example of the resulting URL for the endpoint looks like this: "https://www.my-company.com/oauth2/token" appended with query data. You need to ensure that the provided base URL supports required endpoint.
-
DS_PROXY
public static final EngineBaseURL DS_PROXY
Specifies the endpoint URL for a map catalog. This is only relevant for editions that use OCM based map data such as the_ Navigate Edition_ when a custom catalog configuration should be loaded. By default, the data Service proxy, in short [DS_PROXY], is set to "https://direct.data.api.platform.here.com/direct/v1". When a custom catalog should be used, then the HERE SDK will internally do a lookup request to find out which URL to use to access catalog. In order to bypass this extra request, we recommend to set the URL upfront when initializing the HERE SDK. For example, a valid [DS_PROXY] for a custom catalog may look like this: "https://data.api.platform.yourcompany.com/direct/v1". Note that this is not a network proxy setting. If you do not load a custom catalog configuration, you can ignore this setting.
-
TRAFFIC_DATA
public static final EngineBaseURL TRAFFIC_DATA
Indicates a
Traffic Dataendpoint. Note that the provided string value will replace the base URL. This is only relevant for TrafficEngine. For traffic incident and flow presented in the map view, please useTRAFFIC_VECTOR_TILE_SERVICE.
-
TRAFFIC_VECTOR_TILE_SERVICE
public static final EngineBaseURL TRAFFIC_VECTOR_TILE_SERVICE
Indicates a
Traffic Vector Tile APIendpoint. Note that the provided string value will replace the base URL. This is only relevant for traffic presented in the map view. For the TrafficEngine, please useTRAFFIC_DATA.The service needs to comply with https://www.here.com/docs/bundle/traffic-vector-tile-api-v2-api-reference/page/index.html The endpoint name for this engine is "v2/traffictiles". A valid base string value could look like "www.my-company.com". The resulting URL looks like this: "https://www.my-company.com/v2/traffictiles/{layer}/mc/{z}/{x}/{y}/omv", with concrete tile IDs in {x}, {y}, {z} and {layers} in (flow, incidents). You need to ensure that the provided base URL supports all required endpoints.
-
RASTER_TILE_SERVICE
public static final EngineBaseURL RASTER_TILE_SERVICE
Indicates a
Raster Tile APIendpoint. Note that the provided string value will replace the URL template. A valid URL template value could look like: "https://www.my-company.com/satellite.day/{z}/{x}/{y}/512/jpg"
-
ISOLINE_ROUTING_ENGINE
public static final EngineBaseURL ISOLINE_ROUTING_ENGINE
Indicates a
IsolineRoutingEngineendpoint. Note that the provided string value will replace the base URL. The endpoint names for this engine are "v8/isolines". A valid base string value could look like "www.my-company.com". An example of the resulting URL for the first endpoint looks like this: "https://www.my-company.com/v8/isolines" appended with query data. You need to ensure that the provided base URL supports all required endpoints.
-
-
Method Detail
-
values
public static EngineBaseURL[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EngineBaseURL c : EngineBaseURL.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EngineBaseURL valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-