Package org.apache.struts2.interceptor
Class MessageStorePreResultListener
java.lang.Object
org.apache.struts2.interceptor.MessageStorePreResultListener
- All Implemented Interfaces:
- PreResultListener
This listener is used by 
MessageStoreInterceptor to store messages in HttpSession
 just before result will be executed. It must be done that way as after result will be executed
 HttpSession cannot be modified (response was already sent to browser).- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidbeforeResult(ActionInvocation invocation, String resultCode) voidinit(MessageStoreInterceptor interceptor) protected booleanprotected booleanprotected booleanisRedirect(ActionInvocation invocation, String resultCode) 
- 
Field Details- 
interceptor
 
- 
- 
Constructor Details- 
MessageStorePreResultListenerpublic MessageStorePreResultListener()
 
- 
- 
Method Details- 
init
- 
beforeResultDescription copied from interface:PreResultListener- Specified by:
- beforeResultin interface- PreResultListener
- Parameters:
- invocation- the action invocation
- resultCode- the result code returned by the action (eg.- success).
 
- 
isCommittedprotected boolean isCommitted()
- 
isInvalidatedprotected boolean isInvalidated()
- 
isRedirect
 
-