Package com.graphhopper.resources
Class PtRouteResource
java.lang.Object
com.graphhopper.resources.PtRouteResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.node.ObjectNode
route
(@Size(min=2,max=2) List<GHLocationParam> requestPoints, @NotNull OffsetDateTimeParam departureTimeParam, DurationParam profileDuration, boolean arriveBy, String localeStr, Boolean ignoreTransfers, Boolean profileQuery, Integer limitSolutions, DurationParam limitTripTime, DurationParam limitStreetTime, String accessProfile, Double betaAccessTime, String egressProfile, Double betaEgressTime)
-
Constructor Details
-
PtRouteResource
-
-
Method Details
-
route
@GET @Produces("application/json") public com.fasterxml.jackson.databind.node.ObjectNode route(@QueryParam("point") @Size(min=2,max=2) @Size(min=2,max=2) List<GHLocationParam> requestPoints, @QueryParam("pt.earliest_departure_time") @NotNull @NotNull OffsetDateTimeParam departureTimeParam, @QueryParam("pt.profile_duration") DurationParam profileDuration, @QueryParam("pt.arrive_by") @DefaultValue("false") boolean arriveBy, @QueryParam("locale") String localeStr, @QueryParam("pt.ignore_transfers") Boolean ignoreTransfers, @QueryParam("pt.profile") Boolean profileQuery, @QueryParam("pt.limit_solutions") Integer limitSolutions, @QueryParam("pt.limit_trip_time") DurationParam limitTripTime, @QueryParam("pt.limit_street_time") DurationParam limitStreetTime, @QueryParam("pt.access_profile") String accessProfile, @QueryParam("pt.beta_access_time") Double betaAccessTime, @QueryParam("pt.egress_profile") String egressProfile, @QueryParam("pt.beta_egress_time") Double betaEgressTime)
-