@Path(value="/system/inputstates") @Produces(value="application/json") public class InputStatesResource extends AbstractInputsResource
configuration, userService| Constructor and Description |
|---|
InputStatesResource(InputRegistry inputRegistry,
com.google.common.eventbus.EventBus serverEventBus,
InputService inputService,
MessageInputFactory messageInputFactory) |
| Modifier and Type | Method and Description |
|---|---|
InputStateSummary |
get(String inputId) |
InputStatesList |
list() |
InputCreated |
start(String inputId) |
InputDeleted |
stop(String inputId) |
getInputSummary, maskPasswordsInConfigurationcheckAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public InputStatesResource(InputRegistry inputRegistry, com.google.common.eventbus.EventBus serverEventBus, InputService inputService, MessageInputFactory messageInputFactory)
@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–2021 Graylog, Inc.. All rights reserved.