Package | Description |
---|---|
org.opentripplanner.api.resource |
This package contains the JAX-RS-annotated REST resource classes for the OpenTripPlanner public
API, i.e.
|
org.opentripplanner.profile |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
ProfileResource.profileRoute(LatLon from,
LatLon to,
boolean analyst,
YearMonthDay date,
HourMinuteSecond fromTime,
HourMinuteSecond toTime,
float walkSpeed,
float bikeSpeed,
float carSpeed,
int streetTime,
int maxWalkTime,
int maxCarTime,
int maxBikeTime,
int minCarTime,
int minBikeTime,
Option.SortOrder orderBy,
int limit,
int suboptimalMinutes,
int bikeSafe,
int bikeSlope,
int bikeTime,
QualifiedModeSet accessModes,
QualifiedModeSet egressModes,
QualifiedModeSet directModes,
TraverseModeSet transitModes,
String banAgency) |
Modifier and Type | Field and Description |
---|---|
Option.SortOrder |
ProfileRequest.orderBy
The order in which to return multiple options
|
Modifier and Type | Method and Description |
---|---|
static Option.SortOrder |
Option.SortOrder.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Option.SortOrder[] |
Option.SortOrder.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
ProfileResponse(Collection<Option> allOptions,
Option.SortOrder orderBy,
int limit)
The constructed response will include all the options that do not use transit,
as well as the top N options that do use transit for each access mode.
|
Copyright © 2018. All rights reserved.