Class UIConfigRest

java.lang.Object
org.opencastproject.uiconfig.UIConfigRest

@Path("/ui/config") public class UIConfigRest extends Object
Serves UI configuration files via REST
  • Constructor Details

    • UIConfigRest

      public UIConfigRest()
  • Method Details

    • setSecurityService

      protected void setSecurityService(org.opencastproject.security.api.SecurityService securityService)
    • activate

      public void activate(org.osgi.framework.BundleContext context, Map<String,String> properties) throws org.opencastproject.util.ConfigurationException, IOException
      OSGI callback for activating this component
      Parameters:
      context - the osgi component context
      Throws:
      org.opencastproject.util.ConfigurationException
      IOException
    • getConfigFile

      @GET @Path("{component}/{filename : .+}") @Produces("*/*") public javax.ws.rs.core.Response getConfigFile(@PathParam("component") String component, @PathParam("filename") String filename) throws IOException, org.opencastproject.util.NotFoundException
      Throws:
      IOException
      org.opencastproject.util.NotFoundException