@Path(value="/count") public class CountResource extends RestResource
userService| Constructor and Description |
|---|
CountResource(Counts counts,
IndexSetRegistry indexSetRegistry) |
| Modifier and Type | Method and Description |
|---|---|
MessageCountResponse |
total() |
MessageCountResponse |
total(String indexSetId) |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public CountResource(Counts counts, IndexSetRegistry indexSetRegistry)
@GET @Path(value="/total") @Timed @Produces(value="application/json") public MessageCountResponse total()
@GET
@Path(value="/{indexSetId}/total")
@Timed
@Produces(value="application/json")
public MessageCountResponse total(@PathParam(value="indexSetId")
String indexSetId)
Copyright © 2012–2017 Graylog, Inc.. All rights reserved.