@Path(value="/streams/{streamid}/outputs")
public class StreamOutputResource
extends RestResource
userService| Constructor and Description |
|---|
StreamOutputResource(OutputService outputService,
StreamService streamService,
OutputRegistry outputRegistry,
ClusterEventBus clusterEventBus) |
| 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) |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public StreamOutputResource(OutputService outputService, StreamService streamService, OutputRegistry outputRegistry, ClusterEventBus clusterEventBus)
@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–2017 Graylog, Inc.. All rights reserved.