OCTranspoLive: A live OCTranspo GPS bus location application for ...
OCTranspoLive: A live OCTranspo GPS bus location application for ...
OCTranspoLive: A live OCTranspo GPS bus location application for ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Listing 4: JAX-RS Resource@Path( "/ stops " )public c l a s s StopsResources {@ContextU r i I n f o u r i I n f o ;@ContextRequest r e q u e s t ;@Path( "/ stop_times /{ stop_code }" )public StopTimes getStopTimes (@PathParam( " stop_code " )S t r i n gstop_code ) {return new StopTimes ( u r i I n f o , request ,stop_code ) ;}@Path( "/ near " )public StopsNear getStopsNear (@QueryParam( " l a t " ) double lat ,@QueryParam( " lon " ) double lon ) {return new StopsNear ( u r i I n f o , request , lat ,lon ) ;}26}