Class CaptureAgentsEndpoint
java.lang.Object
org.opencastproject.adminui.endpoint.CaptureAgentsEndpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Responsejavax.ws.rs.core.Responsejavax.ws.rs.core.ResponseremoveAgent(String agentName) voidSets the capture agent servicevoidsetSecurityService(SecurityService securityService)
-
Constructor Details
-
CaptureAgentsEndpoint
public CaptureAgentsEndpoint()
-
-
Method Details
-
setCaptureAgentService
Sets the capture agent service- Parameters:
service- the capture agent service to set
-
setSecurityService
-
getAgents
-
removeAgent
@DELETE @Path("{name}") @Produces("application/json") public javax.ws.rs.core.Response removeAgent(@PathParam("name") String agentName) throws NotFoundException, UnauthorizedException -
getAgent
@GET @Path("{name}") @Produces("application/json") public javax.ws.rs.core.Response getAgent(@PathParam("name") String agentName) throws NotFoundException - Throws:
NotFoundException
-