@Path(value="/streams/{streamid}/outputs")
public class StreamOutputResource
extends RestResource
objectMapper, serverStatus, userService| Constructor and Description |
|---|
StreamOutputResource(OutputService outputService,
StreamService streamService) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
add(String streamid,
AddOutputRequest request) |
javax.ws.rs.core.Response |
get(String streamid) |
Output |
get(String streamid,
String outputId) |
javax.ws.rs.core.Response |
remove(String streamid,
String outputId) |
buildHistogramMap, buildMeterMap, buildTimerMap, bytesToValueMap, checkPermission, checkPermission, getCurrentUser, getSubject, guessContentType, isPermitted, isPermitted, json, loadObjectId, page, restrictToMaster, setPrettyPrint@Inject public StreamOutputResource(OutputService outputService, StreamService streamService)
@GET
@Produces(value="application/json")
public javax.ws.rs.core.Response get(@PathParam(value="streamid")
String streamid)
throws NotFoundException
NotFoundException@GET
@Path(value="/{outputId}")
@Produces(value="application/json")
public Output get(@PathParam(value="streamid")
String streamid,
@PathParam(value="outputId")
String outputId)
@POST
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response add(@PathParam(value="streamid")
String streamid,
AddOutputRequest request)
throws ValidationException,
NotFoundException
ValidationExceptionNotFoundException@DELETE
@Path(value="/{outputId}")
@Produces(value="application/json")
public javax.ws.rs.core.Response remove(@PathParam(value="streamid")
String streamid,
@PathParam(value="outputId")
String outputId)
throws NotFoundException
NotFoundExceptionCopyright © 2012–2014 TORCH GmbH. All rights reserved.