예제 #1
0
 @GET
 @Path("trackdetail")
 public TrackDetail getTrackDetail(@QueryParam("id") String id) throws IOException {
   return trackDetailService.get(id);
 }
예제 #2
0
 @GET
 @Path("search")
 public Tracks search(@QueryParam("query") String query) throws IOException {
   return trackDetailService.search(query);
 }