Package org.mycore.media.frontend.jersey
Class MCRJWPlayerResource
java.lang.Object
org.mycore.media.frontend.jersey.MCRJWPlayerResource
- Author:
- Thomas Scheffler (yagee)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSources
(String derivateId, String path) getSourcesAsJSONP
(String derivateId, String path)
-
Constructor Details
-
MCRJWPlayerResource
public MCRJWPlayerResource()
-
-
Method Details
-
getSourcesAsJSONP
@GET @Path("{derivateId}/{path: .+}/sources.js") @Produces("application/javascript") @JSONP(callback="callback", queryParam="callback") public String getSourcesAsJSONP(@PathParam("derivateId") String derivateId, @PathParam("path") String path) throws URISyntaxException, IOException - Throws:
URISyntaxException
IOException
-
getSources
@GET @Path("{derivateId}/{path: .+}/sources.json") @Produces("application/javascript") public String getSources(@PathParam("derivateId") String derivateId, @PathParam("path") String path) throws URISyntaxException, IOException - Throws:
URISyntaxException
IOException
-