public class GHMatrixBatchRequester extends GHMatrixAbstractRequester
ignoreSet, serviceUrl| Constructor and Description |
|---|
GHMatrixBatchRequester() |
GHMatrixBatchRequester(String serviceUrl) |
GHMatrixBatchRequester(String serviceUrl,
okhttp3.OkHttpClient client) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Double[]> |
createPointList(List<com.graphhopper.util.shapes.GHPoint> list) |
MatrixResponse |
route(GHMRequest ghRequest) |
GHMatrixBatchRequester |
setMaxIterations(int maxIterations)
Internal parameter.
|
GHMatrixBatchRequester |
setSleepAfterGET(long sleepAfterGETMillis)
Internal parameter.
|
buildURL, buildURLNoHints, encode, fillResponseFromJson, getDownloader, getJson, postJson, readUsableEntityError, setDownloader, toJSONpublic GHMatrixBatchRequester()
public GHMatrixBatchRequester(String serviceUrl)
public GHMatrixBatchRequester(String serviceUrl, okhttp3.OkHttpClient client)
public GHMatrixBatchRequester setMaxIterations(int maxIterations)
public GHMatrixBatchRequester setSleepAfterGET(long sleepAfterGETMillis)
public MatrixResponse route(GHMRequest ghRequest)
route in class GHMatrixAbstractRequesterCopyright © 2012–2016. All rights reserved.