@Path(value="/system/outputs") public class OutputResource extends RestResource
objectMapper, serverStatus, userService| Constructor and Description |
|---|
OutputResource(OutputService outputService,
MessageOutputFactory messageOutputFactory) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
available() |
javax.ws.rs.core.Response |
create(CreateOutputRequest csor) |
javax.ws.rs.core.Response |
delete(String outputId) |
Map<String,Object> |
get() |
Output |
get(String outputId) |
buildHistogramMap, buildMeterMap, buildTimerMap, bytesToValueMap, checkPermission, checkPermission, getCurrentUser, getSubject, guessContentType, isPermitted, isPermitted, json, loadObjectId, page, restrictToMaster, setPrettyPrint@Inject public OutputResource(OutputService outputService, MessageOutputFactory messageOutputFactory)
@GET
@Path(value="/{outputId}")
@Produces(value="application/json")
public Output get(@PathParam(value="outputId")
String outputId)
throws NotFoundException
NotFoundException@POST @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response create(CreateOutputRequest csor) throws ValidationException
ValidationException@DELETE
@Path(value="/{outputId}")
@Produces(value="application/json")
public javax.ws.rs.core.Response delete(@PathParam(value="outputId")
String outputId)
throws NotFoundException
NotFoundExceptionCopyright © 2012–2014 TORCH GmbH. All rights reserved.