|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.mywork.host.rest.StatusResource
public class StatusResource
This resource returns the status of a user's notifications.
| Constructor Summary | |
|---|---|
StatusResource(LocalNotificationService notificationService,
UserService userService,
TimeoutService timeoutService)
|
|
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
get(javax.servlet.http.HttpServletRequest request)
Retrieves the count of unseen notifications, as well as the current timeout which needs to be respected by polling clients. |
javax.ws.rs.core.Response |
getNewNotificationsCount(javax.servlet.http.HttpServletRequest request)
Retrieves just the count of unseen notifications. |
javax.ws.rs.core.Response |
getNewNotificationsCountWithTimeout(javax.servlet.http.HttpServletRequest request)
Retrieves the count of unseen notifications, as well as the current timeout which needs to be respected by polling clients. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatusResource(LocalNotificationService notificationService,
UserService userService,
TimeoutService timeoutService)
| Method Detail |
|---|
public javax.ws.rs.core.Response get(@Context
javax.servlet.http.HttpServletRequest request)
public javax.ws.rs.core.Response getNewNotificationsCount(@Context
javax.servlet.http.HttpServletRequest request)
public javax.ws.rs.core.Response getNewNotificationsCountWithTimeout(@Context
javax.servlet.http.HttpServletRequest request)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||