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(SecurityService securityService)
-
Constructor Details
-
UIConfigRest
public UIConfigRest()
-
-
Method Details
-
setSecurityService
-
activate
public void activate(org.osgi.framework.BundleContext context, Map<String, String> properties) throws ConfigurationException, IOExceptionOSGI callback for activating this component- Parameters:
context- the osgi component context- Throws:
ConfigurationExceptionIOException
-
getConfigFile
@GET @Path("{component}/{filename : .+}") @Produces("*/*") public javax.ws.rs.core.Response getConfigFile(@PathParam("component") String component, @PathParam("filename") String filename) throws IOException, NotFoundException - Throws:
IOExceptionNotFoundException
-