Package co.novu.api.notifications
Class NotificationHandler
- java.lang.Object
-
- co.novu.api.notifications.NotificationHandler
-
public class NotificationHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description NotificationHandler(RestHandler restHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationResponsegetNotification(String notificationId)NotificationGraphStatsResponsegetNotificationGraphStats()NotificationsResponsegetNotifications(NotificationRequest request)NotificationStatsResponsegetNotificationsStats()
-
-
-
Constructor Detail
-
NotificationHandler
public NotificationHandler(RestHandler restHandler)
-
-
Method Detail
-
getNotifications
public NotificationsResponse getNotifications(NotificationRequest request) throws IOException, NovuNetworkException
- Throws:
IOExceptionNovuNetworkException
-
getNotificationsStats
public NotificationStatsResponse getNotificationsStats() throws IOException, NovuNetworkException
- Throws:
IOExceptionNovuNetworkException
-
getNotificationGraphStats
public NotificationGraphStatsResponse getNotificationGraphStats() throws IOException, NovuNetworkException
- Throws:
IOExceptionNovuNetworkException
-
getNotification
public NotificationResponse getNotification(String notificationId) throws IOException, NovuNetworkException
- Throws:
IOExceptionNovuNetworkException
-
-