@Path(value="/system/outputs") public class OutputResource extends RestResource
objectMapper, serverStatus, userService| Constructor and Description |
|---|
OutputResource(OutputService outputService,
MessageOutputFactory messageOutputFactory,
OutputFilter outputFilter) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Map<String,AvailableOutputSummary>> |
available() |
javax.ws.rs.core.Response |
create(CreateOutputRequest csor) |
void |
delete(String outputId) |
OutputListResponse |
get() |
OutputSummary |
get(String outputId) |
bytesToValueMap, checkPermission, checkPermission, getCurrentUser, getSubject, guessContentType, isPermitted, isPermitted, page, restrictToMaster, setPrettyPrint@Inject public OutputResource(OutputService outputService, MessageOutputFactory messageOutputFactory, OutputFilter outputFilter)
@GET @Timed @Produces(value="application/json") public OutputListResponse get()
@GET
@Path(value="/{outputId}")
@Timed
@Produces(value="application/json")
public OutputSummary get(@PathParam(value="outputId")
String outputId)
throws NotFoundException
NotFoundException@POST @Timed @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response create(CreateOutputRequest csor) throws ValidationException
ValidationException@DELETE
@Path(value="/{outputId}")
@Timed
@Produces(value="application/json")
public void delete(@PathParam(value="outputId")
String outputId)
throws NotFoundException
NotFoundException@GET @Path(value="/available") @Timed @Produces(value="application/json") public Map<String,Map<String,AvailableOutputSummary>> available()
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.