@Path(value="/cluster/inputstates") @Produces(value="application/json") public class ClusterInputStatesResource extends ProxiedResource
authenticationToken, nodeService, remoteInterfaceProviderobjectMapper, userService| Constructor and Description |
|---|
ClusterInputStatesResource(NodeService nodeService,
RemoteInterfaceProvider remoteInterfaceProvider,
javax.ws.rs.core.HttpHeaders httpHeaders) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Optional<Set<InputStateSummary>>> |
get() |
Map<String,Optional<InputCreated>> |
start(String inputId) |
Map<String,Optional<InputDeleted>> |
stop(String inputId) |
createRemoteInterfaceProvider, getForAllNodes, getForAllNodescheckAnyPermission, checkPermission, checkPermission, getCurrentUser, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public ClusterInputStatesResource(NodeService nodeService, RemoteInterfaceProvider remoteInterfaceProvider, @Context javax.ws.rs.core.HttpHeaders httpHeaders) throws NodeNotFoundException
NodeNotFoundException@GET @Timed public Map<String,Optional<Set<InputStateSummary>>> get()
@PUT
@Path(value="/{inputId}")
@Timed
public Map<String,Optional<InputCreated>> start(@PathParam(value="inputId")
String inputId)
@DELETE
@Path(value="/{inputId}")
@Timed
public Map<String,Optional<InputDeleted>> stop(@PathParam(value="inputId")
String inputId)
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.