@Path(value="/system/outputs") public class OutputResource extends RestResource
objectMapper, userService| Constructor and Description |
|---|
OutputResource(OutputService outputService,
MessageOutputFactory messageOutputFactory,
OutputRegistry outputRegistry) |
| 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) |
Output |
update(String outputId,
Map<String,Object> deltas) |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public OutputResource(OutputService outputService, MessageOutputFactory messageOutputFactory, OutputRegistry outputRegistry)
@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()
@PUT
@Path(value="/{outputId}")
@Timed
@Produces(value="application/json")
public Output update(@PathParam(value="outputId")
String outputId,
Map<String,Object> deltas)
throws ValidationException,
NotFoundException
ValidationExceptionNotFoundExceptionCopyright © 2012-2016 Graylog, Inc.. All Rights Reserved.