Class NotificationResource
java.lang.Object
no.priv.bang.ukelonn.api.resources.NotificationResource
@Path("")
@Produces("application/json")
@RequiresUser
public class NotificationResource
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<no.priv.bang.ukelonn.beans.Notification> notificationsTo(String username) voidnotificationTo(String username, no.priv.bang.ukelonn.beans.Notification notification)
-
Field Details
-
ukelonn
@Inject no.priv.bang.ukelonn.UkelonnService ukelonn
-
-
Constructor Details
-
NotificationResource
public NotificationResource()
-
-
Method Details
-
notificationsTo
-
notificationTo
@POST @Path("/notificationto/{username}") @Consumes("application/json") public void notificationTo(@PathParam("username") String username, no.priv.bang.ukelonn.beans.Notification notification)
-