Class StreamingPlayerResource

    • Constructor Detail

      • StreamingPlayerResource

        public StreamingPlayerResource()
    • Method Detail

      • getStreamingProviderDataFromUrl

        @GET
        @Path("providerData")
        @Produces("application/json")
        public StreamingProviderDataEntity getStreamingProviderDataFromUrl()
        Gets the provider data of a streaming from its url. If it doesn't exist, a 404 HTTP code is returned. If the user isn't authenticated, a 401 HTTP code is returned. If a problem occurs when processing the request, a 503 HTTP code is returned.
        Returns:
        the response to the HTTP GET request content of the asked streaming.
      • getPlayerContent

        @Path("player")
        @GET
        public org.jboss.resteasy.plugins.providers.html.View getPlayerContent()
        Gets a view on the content with the HTML that permits to play the streaming.
        Returns:
        a descriptor of the renderer to use to display the streaming content.
      • getComponentId

        public String getComponentId()
        Description copied from interface: SilverpeasWebResource
        Gets the identifier of the component instance to which the requested resource belongs to.
        Returns:
        the identifier of the Silverpeas component instance.