public class VisitorsMessageService extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SESSION_KEY |
Modifier and Type | Method and Description |
---|---|
static VisitorsMessageService |
getInstance(javax.servlet.http.HttpSession session) |
boolean |
isAlReadyDisplayed(String key)
check if a message was displayed to the visitor.
|
void |
markAsDisplayed(String key)
mark a message as displayed to the visitors.
|
public static final String SESSION_KEY
public static final VisitorsMessageService getInstance(javax.servlet.http.HttpSession session)
public void markAsDisplayed(String key)
key
- public boolean isAlReadyDisplayed(String key)
key
- the key of the messageCopyright © 2012-2018. All Rights Reserved.