| Modifier and Type | Class and Description |
|---|---|
class |
StatisticTravelOptions
Created by gerb on 13/02/2017.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PolygonRequest.setTravelOptions(TravelOptions options) |
| Constructor and Description |
|---|
OverpassRequest(javax.ws.rs.client.Client client,
TravelOptions travelOptions)
Use a custom client implementation with specified options and method
|
OverpassRequest(TravelOptions travelOptions)
Use default client implementation with specified options and method
Default client uses
ClientBuilder. |
PointOfInterestRequest(javax.ws.rs.client.Client client,
TravelOptions travelOptions)
Use a custom client implementation with specified options and method
|
PointOfInterestRequest(TravelOptions travelOptions)
Use default client implementation with specified options and method
Default client uses
ClientBuilder. |
PolygonRequest(javax.ws.rs.client.Client client,
TravelOptions travelOptions)
Use custom client with specified travelOptions
|
PolygonRequest(TravelOptions travelOptions)
Use default Client with specified travelOptions
|
PolygonRequest(TravelOptions travelOptions,
String method)
Use default Client with specified travelOptions and HTTP method
|
ReachabilityRequest(javax.ws.rs.client.Client client,
TravelOptions travelOptions)
Use a custom client implementation with specified options and method
|
ReachabilityRequest(TravelOptions travelOptions)
Use default client implementation with specified options and method
Default client uses
ClientBuilder. |
RouteRequest(javax.ws.rs.client.Client client,
TravelOptions travelOptions)
Use custom client with specified travelOptions
|
RouteRequest(TravelOptions travelOptions)
Use default Client with specified travelOptions
Default client uses
ClientBuilder |
StatisticsRequest(javax.ws.rs.client.Client client,
TravelOptions travelOptions)
Use a custom client implementation with specified options and method
|
StatisticsRequest(TravelOptions travelOptions)
Use default client implementation with specified options and method
Default client uses
ClientBuilder |
TimeRequest(javax.ws.rs.client.Client client,
TravelOptions travelOptions)
Use a custom client implementation with specified options and method
|
TimeRequest(TravelOptions travelOptions)
Use default client implementation with specified options and method
Default client uses
ClientBuilder. |
| Modifier and Type | Method and Description |
|---|---|
static String |
JacksonRequestConfigurator.getConfig(TravelOptions travelOptions)
Replaces getCfg methods of Request classes.
|
static String |
RequestConfigurator.getConfig(TravelOptions travelOptions)
Replaces getCfg methods of Request classes.
|
| Modifier and Type | Method and Description |
|---|---|
TravelOptions |
ReachabilityResponse.getTravelOptions() |
TravelOptions |
StatisticsResponse.getTravelOptions() |
TravelOptions |
OverpassResponse.getTravelOptions() |
TravelOptions |
TimeResponse.getTravelOptions() |
TravelOptions |
PointOfInterestResponse.getTravelOptions() |
TravelOptions |
PolygonResponse.getTravelOptions() |
TravelOptions |
RouteResponse.getTravelOptions() |
| Modifier and Type | Method and Description |
|---|---|
void |
TimeResponse.mapResults(TravelOptions travelOptions,
org.json.JSONObject result)
Parse results in JSON to travel times map.
|
| Constructor and Description |
|---|
OverpassResponse(TravelOptions travelOptions,
org.json.JSONObject result,
long requestStart)
Create a response from JSON results, using given travel options
|
PointOfInterestResponse(TravelOptions travelOptions,
org.json.JSONObject result,
long requestStart)
Create a response from JSON results, using given travel options
|
PolygonResponse(TravelOptions travelOptions,
org.json.JSONObject result,
String code,
long requestTimeMillis,
long roundTripTimeMillis) |
PolygonResponse(TravelOptions travelOptions,
org.json.JSONObject result,
String code,
long requestTimeMillis,
long roundTripTimeMillis,
long parseTime) |
ReachabilityResponse(TravelOptions travelOptions,
org.json.JSONObject result,
long requestStart)
Create a response from JSON results, using given travel options
|
ReachabilityResponse(TravelOptions travelOptions,
String code,
long requestTime,
long requestStart)
Create a response with custom response code and without results.
|
RouteResponse(TravelOptions travelOptions,
org.json.JSONArray routes,
String code,
long requestTimeMillis) |
StatisticsResponse(TravelOptions travelOptions,
org.json.JSONObject result,
long requestStart) |
StatisticsResponse(TravelOptions travelOptions,
String string,
long roundTripTime,
long requestStart) |
TimeResponse(TravelOptions travelOptions,
org.json.JSONObject result,
long requestStart)
Create a response from JSON results.
|
TimeResponse(TravelOptions travelOptions,
String code,
long requestTime,
long requestStart)
Create a response with custom response code and without results.
|
| Constructor and Description |
|---|
StatisticResult(TravelOptions options,
org.json.JSONObject jsonResult) |
Copyright © 2017. All rights reserved.