@Path(value="/streams/{streamid}/outputs")
public class StreamOutputResource
extends RestResource
objectMapper, serverStatus, userService| Constructor and Description |
|---|
StreamOutputResource(OutputService outputService,
StreamService streamService,
OutputRegistry outputRegistry,
OutputFilter outputFilter) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
add(String streamid,
AddOutputRequest aor) |
OutputListResponse |
get(String streamid) |
OutputSummary |
get(String streamid,
String outputId) |
void |
remove(String streamid,
String outputId) |
bytesToValueMap, checkPermission, checkPermission, getCurrentUser, getSubject, guessContentType, isPermitted, isPermitted, page, restrictToMaster, setPrettyPrint@Inject public StreamOutputResource(OutputService outputService, StreamService streamService, OutputRegistry outputRegistry, OutputFilter outputFilter)
@GET @Timed @Produces(value="application/json") public OutputListResponse get(@PathParam(value="streamid") String streamid) throws NotFoundException
NotFoundException@GET
@Path(value="/{outputId}")
@Timed
@Produces(value="application/json")
public OutputSummary get(@PathParam(value="streamid")
String streamid,
@PathParam(value="outputId")
String outputId)
throws NotFoundException
NotFoundException@POST
@Timed
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response add(@PathParam(value="streamid")
String streamid,
@NotNull
AddOutputRequest aor)
throws ValidationException,
NotFoundException
ValidationExceptionNotFoundException@DELETE
@Path(value="/{outputId}")
@Timed
@Produces(value="application/json")
public void remove(@PathParam(value="streamid")
String streamid,
@PathParam(value="outputId")
String outputId)
throws NotFoundException
NotFoundExceptionCopyright © 2012-2015 Graylog, Inc.. All Rights Reserved.