@Path(value="/system/notifications") public class NotificationsResource extends RestResource
objectMapper, userService| Constructor and Description |
|---|
NotificationsResource(NotificationService notificationService) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteNotification(String notificationType) |
Map<String,Object> |
listNotifications() |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public NotificationsResource(NotificationService notificationService)
@GET @Timed @Produces(value="application/json") public Map<String,Object> listNotifications()
@DELETE
@Timed
@Path(value="/{notificationType}")
@Produces(value="application/json")
public void deleteNotification(@PathParam(value="notificationType")
String notificationType)
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.