@Path(value="/system/cluster") @Produces(value="application/json") public class ClusterResource extends RestResource
objectMapper, userService| Constructor and Description |
|---|
ClusterResource(NodeService nodeService,
ClusterConfigService clusterConfigService,
NodeId nodeId) |
| Modifier and Type | Method and Description |
|---|---|
NodeSummary |
node() |
NodeSummary |
node(String nodeId) |
NodeSummaryList |
nodes() |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public ClusterResource(NodeService nodeService, ClusterConfigService clusterConfigService, NodeId nodeId)
@GET @Timed @Path(value="/nodes") public NodeSummaryList nodes()
@GET @Timed @Path(value="/node") public NodeSummary node() throws NodeNotFoundException
NodeNotFoundException@GET
@Timed
@Path(value="/nodes/{nodeId}")
public NodeSummary node(@PathParam(value="nodeId") @NotEmpty
String nodeId)
throws NodeNotFoundException
NodeNotFoundExceptionCopyright © 2012-2016 Graylog, Inc.. All Rights Reserved.