org.opentripplanner.ext.legacygraphqlapi.LegacyGraphQLRequestContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
package org.opentripplanner.ext.legacygraphqlapi;
import org.opentripplanner.routing.RoutingService;
import org.opentripplanner.routing.fares.FareService;
import org.opentripplanner.standalone.api.OtpServerRequestContext;
import org.opentripplanner.transit.service.TransitService;
public class LegacyGraphQLRequestContext {
private final OtpServerRequestContext serverContext;
private final RoutingService routingService;
private final TransitService transitService;
private final FareService fareService;
public LegacyGraphQLRequestContext(
OtpServerRequestContext serverContext,
RoutingService routingService,
TransitService transitService,
FareService fareService
) {
this.serverContext = serverContext;
this.routingService = routingService;
this.transitService = transitService;
this.fareService = fareService;
}
public OtpServerRequestContext getServerContext() {
return serverContext;
}
public RoutingService getRoutingService() {
return routingService;
}
public TransitService getTransitService() {
return transitService;
}
public FareService getFareService() {
return fareService;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy