public class LpsClient extends BaseLpsClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX| Constructor and Description |
|---|
LpsClient()
Construct a lps client with default settings.
|
LpsClient(BceClientConfiguration configuration)
Construct a lps client with customized bce client configuration.
|
LpsClient(String accessKey,
String secretKey)
Construct a lps client access key, secret key and other default settings.
|
| Modifier and Type | Method and Description |
|---|---|
DirectionResponse |
direction(DirectionRequest request)
Direction the path between the given start point and end point, based on the given planning strategy.
|
RouteMatrixResponse |
routeMatrix(RouteMatrixRequest request)
Batch calculate the restriction, distance and duration information of the route according to the given point
matrix (multiple start point and multiple end point).
|
createRequestcomputeServiceId, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdownpublic LpsClient()
public LpsClient(BceClientConfiguration configuration)
configuration - BceClientConfigurationpublic DirectionResponse direction(DirectionRequest request)
request - DirectionRequestpublic RouteMatrixResponse routeMatrix(RouteMatrixRequest request)
request - RouteMatrixRequestCopyright © 2022. All rights reserved.