Class PointOfInterestRequest

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

public class PointOfInterestRequest extends Object
Find reachable openstreetmap pois with this class. Only accepts HttpMethod POST.
  • Constructor Details

    • PointOfInterestRequest

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

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

      public PointOfInterestRequest(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