Package org.opencastproject.uiconfig
Class UIConfigRest
java.lang.Object
org.opencastproject.uiconfig.UIConfigRest
Serves UI configuration files via REST
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidOSGI callback for activating this componentjavax.ws.rs.core.ResponsegetConfigFile(String component, String filename) protected voidsetSecurityService(org.opencastproject.security.api.SecurityService securityService)
-
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, IOExceptionOSGI callback for activating this component- Parameters:
context- the osgi component context- Throws:
org.opencastproject.util.ConfigurationExceptionIOException
-
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:
IOExceptionorg.opencastproject.util.NotFoundException
-