类 LpsClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.lps.BaseLpsClient
-
- com.baidubce.services.lps.LpsClient
-
public class LpsClient extends BaseLpsClient
Lps Client which provides the ability to communicating with logistic map service.- 作者:
- weizhijun
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 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.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 DirectionResponsedirection(DirectionRequest request)Direction the path between the given start point and end point, based on the given planning strategy.RouteMatrixResponserouteMatrix(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).-
从类继承的方法 com.baidubce.services.lps.BaseLpsClient
createRequest
-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
LpsClient
public LpsClient()
Construct a lps client with default settings.
-
LpsClient
public LpsClient(BceClientConfiguration configuration)
Construct a lps client with customized bce client configuration.- 参数:
configuration- BceClientConfiguration
-
-
方法详细资料
-
direction
public DirectionResponse direction(DirectionRequest request)
Direction the path between the given start point and end point, based on the given planning strategy.- 参数:
request- DirectionRequest- 返回:
- DirectionResponse
-
routeMatrix
public 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).- 参数:
request- RouteMatrixRequest- 返回:
- RouteMatrixResponse
-
-