Package com.targomo.client.api.request
Class BoundingBoxRequest
java.lang.Object
com.targomo.client.api.request.BoundingBoxRequest
Creates a bounding box of the reachable area using the specified travel options.
-
Constructor Summary
ConstructorsConstructorDescriptionBoundingBoxRequest(TravelOptions travelOptions) BoundingBoxRequest(javax.ws.rs.client.Client client, TravelOptions travelOptions) BoundingBoxRequest(javax.ws.rs.client.Client client, TravelOptions travelOptions, javax.ws.rs.core.MultivaluedMap<String, Object> headers) Use a custom client implementation with specified options and method -
Method Summary
-
Constructor Details
-
BoundingBoxRequest
public BoundingBoxRequest(javax.ws.rs.client.Client client, TravelOptions travelOptions, javax.ws.rs.core.MultivaluedMap<String, Object> headers) Use a custom client implementation with specified options and method- Parameters:
client- Client implementation to be usedtravelOptions- Options to be usedheaders- List of custom http headers to be used
-
BoundingBoxRequest
-
BoundingBoxRequest
-
-
Method Details
-
get
Executes the request.- Returns:
- Response containing the bounds of the reachable area
- Throws:
TargomoClientException- in case of errors
-