Class ReachabilityRequest

java.lang.Object
com.targomo.client.api.request.ReachabilityRequest

public class ReachabilityRequest extends Object
Calculates travel time for each source point to all targets. Only accepts HttpMethod POST.
  • Constructor Details

    • ReachabilityRequest

      public ReachabilityRequest(TravelOptions travelOptions)
      Use default client implementation with specified options and method Default client uses ClientBuilder.
      Parameters:
      travelOptions - Options to be used
    • ReachabilityRequest

      public ReachabilityRequest(javax.ws.rs.client.Client client, TravelOptions travelOptions)
      Use a custom client implementation with specified options and method
      Parameters:
      client - Client implementation to be used
      travelOptions - Options to be used
    • ReachabilityRequest

      public ReachabilityRequest(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 used
      travelOptions - Options to be used
      headers - List of custom http headers to be used
  • Method Details