Class ServerEndpoint
java.lang.Object
org.opencastproject.adminui.endpoint.ServerEndpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate(org.osgi.framework.BundleContext bundleContext) javax.ws.rs.core.ResponsegetServers(int limit, int offset, String filter, String sort) voidsetServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) OSGi callback for the service registry.
-
Constructor Details
-
ServerEndpoint
public ServerEndpoint()
-
-
Method Details
-
setServiceRegistry
public void setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry) OSGi callback for the service registry. -
activate
protected void activate(org.osgi.framework.BundleContext bundleContext) -
getServers
@GET @Path("servers.json") @Produces("application/json") public javax.ws.rs.core.Response getServers(@QueryParam("limit") int limit, @QueryParam("offset") int offset, @QueryParam("filter") String filter, @QueryParam("sort") String sort) throws Exception - Throws:
Exception
-