@RequestMapping(value = "/gtfs-realtime/vehicle-positions.action") public void vehiclePositions(ServletRequest request, HttpServletResponse response) throws IOException { FeedMessage vehiclePositions = _gtfsRealtimeService.getVehiclePositions(); render(request, response, vehiclePositions); }
@RequestMapping(value = "/gtfs-realtime/alerts.action") public void alerts(ServletRequest request, HttpServletResponse response) throws IOException { FeedMessage alerts = _gtfsRealtimeService.getAlerts(); render(request, response, alerts); }
@RequestMapping(value = "/gtfs-realtime/trip-updates.action") public void tripUpdates(ServletRequest request, HttpServletResponse response) throws IOException { FeedMessage tripUpdates = _gtfsRealtimeService.getTripUpdates(); render(request, response, tripUpdates); }