Class TransitStopsRequest

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

public class TransitStopsRequest extends Object
Get all the transit stations reachable from source(s) and the times of the next stops Only accepts HttpMethod POST.
  • Constructor Details

    • TransitStopsRequest

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

      public TransitStopsRequest(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
    • TransitStopsRequest

      public TransitStopsRequest(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
  • Method Details