org.onebusaway.transit_data_federation_webapp.controllers.gtfs_realtime
Class GtfsRealtimeController

java.lang.Object
  extended by org.onebusaway.transit_data_federation_webapp.controllers.gtfs_realtime.GtfsRealtimeController

@Controller
public class GtfsRealtimeController
extends Object


Constructor Summary
GtfsRealtimeController()
           
 
Method Summary
 void alerts(OutputStream out)
           
 void setGtfsRealtimeService(GtfsRealtimeService gtfsRealtimeService)
           
 void tripUpdates(OutputStream out)
           
 void vehiclePositions(OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GtfsRealtimeController

public GtfsRealtimeController()
Method Detail

setGtfsRealtimeService

public void setGtfsRealtimeService(GtfsRealtimeService gtfsRealtimeService)

tripUpdates

@RequestMapping(value="/gtfs-realtime/trip-updates.action")
public void tripUpdates(OutputStream out)
                 throws IOException
Throws:
IOException

vehiclePositions

@RequestMapping(value="/gtfs-realtime/vehicle-positions.action")
public void vehiclePositions(OutputStream out)
                      throws IOException
Throws:
IOException

alerts

@RequestMapping(value="/gtfs-realtime/alerts.action")
public void alerts(OutputStream out)
            throws IOException
Throws:
IOException


Copyright © 2011 OneBusAway. All Rights Reserved.