Example #1
0
 @GET
 @Path("/owner/{owner}")
 @Produces(MediaType.APPLICATION_JSON)
 public List<Playlist> getPlaylistByOwner(@PathParam("owner") final String owner) {
   return playlistDAO.findPlaylistByOwner(owner);
 }