@Path(value="/system/inputstates") @Produces(value="application/json") public class InputStatesResource extends RestResource
objectMapper, userService| Constructor and Description |
|---|
InputStatesResource(InputRegistry inputRegistry,
com.google.common.eventbus.EventBus serverEventBus,
InputService inputService) |
| Modifier and Type | Method and Description |
|---|---|
InputStateSummary |
get(String inputId) |
InputStatesList |
list() |
InputCreated |
start(String inputId) |
InputDeleted |
stop(String inputId) |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public InputStatesResource(InputRegistry inputRegistry, com.google.common.eventbus.EventBus serverEventBus, InputService inputService)
@GET @Timed public InputStatesList list()
@GET
@Path(value="/{inputId}")
@Timed
public InputStateSummary get(@PathParam(value="inputId")
String inputId)
@PUT
@Path(value="/{inputId}")
@Timed
public InputCreated start(@PathParam(value="inputId")
String inputId)
throws NotFoundException
NotFoundException@DELETE
@Path(value="/{inputId}")
@Timed
public InputDeleted stop(@PathParam(value="inputId")
String inputId)
throws NotFoundException
NotFoundExceptionCopyright © 2012-2016 Graylog, Inc.. All Rights Reserved.