retrieve all videos with a certain tag . concode_field_sep VideoDAO videoDAO concode_elem_sep ObjectMapper jsonMapper concode_field_sep Response getRecentVideos concode_elem_sep Video get concode_elem_sep Response addVideo concode_elem_sep Response getUserVideos concode_elem_sep UUID deleteVideo concode_elem_sep Response getVideosByTags
Response function ( @ PathParam ( "srini_string" ) String arg0 ) { Iterable < VideoByTag > loc0 = videoDAO . getVideosByTag ( arg0 ) ; List < VideoByTag > loc1 = Lists . newArrayList ( loc0 ) ; return Response . ok ( jsonMapper . writeValueAsString ( loc1 ) ) . build ( ) ; }