profileRoute
@GET
@Produces(value="application/json")
public javax.ws.rs.core.Response profileRoute(@QueryParam(value="from")
LatLon from,
@QueryParam(value="to")
LatLon to,
@QueryParam(value="analyst") @DefaultValue(value="false")
boolean analyst,
@QueryParam(value="date") @DefaultValue(value="today")
YearMonthDay date,
@QueryParam(value="startTime") @DefaultValue(value="07:30")
HourMinuteSecond fromTime,
@QueryParam(value="endTime") @DefaultValue(value="08:30")
HourMinuteSecond toTime,
@QueryParam(value="walkSpeed") @DefaultValue(value="1.4")
float walkSpeed,
@QueryParam(value="bikeSpeed") @DefaultValue(value="4.1")
float bikeSpeed,
@QueryParam(value="carSpeed") @DefaultValue(value="20")
float carSpeed,
@QueryParam(value="streetTime") @DefaultValue(value="90")
int streetTime,
@QueryParam(value="maxWalkTime") @DefaultValue(value="15")
int maxWalkTime,
@QueryParam(value="maxCarTime") @DefaultValue(value="30")
int maxCarTime,
@QueryParam(value="maxBikeTime") @DefaultValue(value="20")
int maxBikeTime,
@QueryParam(value="minCarTime") @DefaultValue(value="1")
int minCarTime,
@QueryParam(value="minBikeTime") @DefaultValue(value="1")
int minBikeTime,
@QueryParam(value="orderBy") @DefaultValue(value="AVG")
Option.SortOrder orderBy,
@QueryParam(value="limit") @DefaultValue(value="15")
int limit,
@QueryParam(value="suboptimal") @DefaultValue(value="5")
int suboptimalMinutes,
@QueryParam(value="bikeSafe") @DefaultValue(value="1")
int bikeSafe,
@QueryParam(value="bikeSlope") @DefaultValue(value="1")
int bikeSlope,
@QueryParam(value="bikeTime") @DefaultValue(value="1")
int bikeTime,
@QueryParam(value="accessModes") @DefaultValue(value="WALK,BICYCLE")
QualifiedModeSet accessModes,
@QueryParam(value="egressModes") @DefaultValue(value="WALK")
QualifiedModeSet egressModes,
@QueryParam(value="directModes") @DefaultValue(value="WALK,BICYCLE")
QualifiedModeSet directModes,
@QueryParam(value="transitModes") @DefaultValue(value="TRANSIT")
TraverseModeSet transitModes,
@QueryParam(value="banAgency")
String banAgency)
throws Exception
- Throws:
Exception