|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.scooterframework.web.controller.FlashMessage
public class FlashMessage
FlashMessage contains information for the next request only.
Constructor Summary | |
---|---|
FlashMessage()
|
Method Summary | |
---|---|
void |
addMessage(java.lang.String type,
Message message)
|
void |
addMessage(java.lang.String type,
java.lang.String message)
|
int |
count()
Counts number of messages. |
java.util.List<Message> |
getAll(java.lang.String type)
Returns all messages for the specific type. |
java.lang.String |
getFirst(java.lang.String type)
Returns the first message for the specific type |
java.lang.String |
getLast(java.lang.String type)
Returns the last message for the specific type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlashMessage()
Method Detail |
---|
public void addMessage(java.lang.String type, java.lang.String message)
public void addMessage(java.lang.String type, Message message)
public java.util.List<Message> getAll(java.lang.String type)
type
-
public java.lang.String getFirst(java.lang.String type)
type
-
public java.lang.String getLast(java.lang.String type)
type
-
public int count()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |