@Path(value="/system/notifications") public class NotificationsResource extends RestResource
objectMapper, serverStatus, userService| Constructor and Description |
|---|
NotificationsResource(NotificationService notificationService) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
deleteNotification(java.lang.String notificationType) |
java.lang.String |
listNotifications() |
bytesToValueMap, checkPermission, checkPermission, getCurrentUser, getSubject, guessContentType, isPermitted, isPermitted, json, loadObjectId, page, restrictToMaster, setPrettyPrint@Inject public NotificationsResource(NotificationService notificationService)
@GET @Timed @Produces(value="application/json") public java.lang.String listNotifications()
@DELETE
@Timed
@Path(value="/{notificationType}")
@Produces(value="application/json")
public javax.ws.rs.core.Response deleteNotification(@PathParam(value="notificationType")
java.lang.String notificationType)
Copyright © 2012-2014 TORCH GmbH. All Rights Reserved.