|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.notification.builder.UserSubscriptionNotificationSendingHandler
public class UserSubscriptionNotificationSendingHandler
This class handles the feature that permits to skip the user subscription notification sending.
Constructor Summary | |
---|---|
UserSubscriptionNotificationSendingHandler()
|
Method Summary | |
---|---|
static boolean |
isEnabledForCurrentRequest()
Indicates if the user subscription notification sending is enabled for the current request. |
static void |
setupSilverpeasNotification(SilverpeasNotification silverpeasNotification)
As treatments of asynchronous JMS notifications are executed in an other context of the user request, the indicator of the confirmation of subscription notification sending must be managed here (as this indicator is attached to the user request). |
static void |
verifyRequest(javax.servlet.http.HttpServletRequest request)
Verifies from a request if it is indicated that subscription notification sending must be skipped for the current request (from request parameters or request headers). |
static void |
verifySilverpeasNotification(SilverpeasNotification silverpeasNotification)
Verifies from a silverpeas notification if it is indicated that subscription notification sending must be skipped. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserSubscriptionNotificationSendingHandler()
Method Detail |
---|
public static void setupSilverpeasNotification(SilverpeasNotification silverpeasNotification)
silverpeasNotification
- the notification that will be send on JMS.public static void verifySilverpeasNotification(SilverpeasNotification silverpeasNotification)
silverpeasNotification
- the notification sent on JMS.public static void verifyRequest(javax.servlet.http.HttpServletRequest request)
request
- the current HTTP request.public static boolean isEnabledForCurrentRequest()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |