Package com.targomo.client.api.request
Class TimeVectorRequest
java.lang.Object
com.targomo.client.api.request.TargomoRequest<TimeVectorResponse>
com.targomo.client.api.request.TimeVectorRequest
-
Field Summary
Fields inherited from class com.targomo.client.api.request.TargomoRequest
MAPPER -
Constructor Summary
ConstructorsConstructorDescriptionTimeVectorRequest(javax.ws.rs.client.Client client, TravelOptions travelOptions) TimeVectorRequest(javax.ws.rs.client.Client client, TravelOptions travelOptions, javax.ws.rs.core.MultivaluedMap<String, Object> headers) Use custom client with specified travelOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic TimeVectorResponseexecuteRequest(TravelOptions travelOptions) static TimeVectorResponseexecuteRequest(TravelOptions travelOptions, javax.ws.rs.core.MultivaluedMap<String, Object> headers) static TimeVectorResponseexecuteRequest(javax.ws.rs.client.Client client, TravelOptions travelOptions) static TimeVectorResponseexecuteRequest(javax.ws.rs.client.Client client, TravelOptions travelOptions, javax.ws.rs.core.MultivaluedMap<String, Object> headers) Methods inherited from class com.targomo.client.api.request.TargomoRequest
get, toCurl
-
Constructor Details
-
TimeVectorRequest
public TimeVectorRequest(javax.ws.rs.client.Client client, TravelOptions travelOptions, javax.ws.rs.core.MultivaluedMap<String, Object> headers) Use custom client with specified travelOptions- Parameters:
client- Client to be usedtravelOptions- Travel options parameters
-
TimeVectorRequest
-
-
Method Details
-
executeRequest
public static TimeVectorResponse executeRequest(javax.ws.rs.client.Client client, TravelOptions travelOptions, javax.ws.rs.core.MultivaluedMap<String, Object> headers) throws TargomoClientException, ResponseErrorException -
executeRequest
public static TimeVectorResponse executeRequest(javax.ws.rs.client.Client client, TravelOptions travelOptions) throws TargomoClientException, ResponseErrorException -
executeRequest
public static TimeVectorResponse executeRequest(TravelOptions travelOptions, javax.ws.rs.core.MultivaluedMap<String, Object> headers) throws TargomoClientException, ResponseErrorException -
executeRequest
public static TimeVectorResponse executeRequest(TravelOptions travelOptions) throws TargomoClientException, ResponseErrorException
-