|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.AbstractBceClient
com.baidubce.services.lps.BaseLpsClient
com.baidubce.services.lps.LpsClient
public class LpsClient
Lps Client which provides the ability to communicating with logistic map service.
| Field Summary |
|---|
| Fields inherited from class com.baidubce.AbstractBceClient |
|---|
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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). |
| Methods inherited from class com.baidubce.services.lps.BaseLpsClient |
|---|
createRequest |
| Methods inherited from class com.baidubce.AbstractBceClient |
|---|
computeServiceId, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LpsClient()
public LpsClient(BceClientConfiguration configuration)
configuration - BceClientConfiguration
public LpsClient(String accessKey,
String secretKey)
accessKey - access key idsecretKey - secret key| Method Detail |
|---|
public DirectionResponse direction(DirectionRequest request)
request - DirectionRequest
public RouteMatrixResponse routeMatrix(RouteMatrixRequest request)
request - RouteMatrixRequest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||