Package org.apache.struts2.interceptor
Interface PreResultListener
- All Known Implementing Classes:
AnnotationWorkflowInterceptor
,CoepInterceptor
,CookieProviderInterceptor
,CoopInterceptor
,MessageStorePreResultListener
,ModelDrivenInterceptor.RefreshModelBeforeResult
,ScopeInterceptor
public interface PreResultListener
PreResultListeners may be registered with an
ActionInvocation
to get a callback after the
Action
has been executed but before the Result
is executed.- Author:
- Jason Carreira
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeResult
(ActionInvocation invocation, String resultCode)
-
Method Details
-
beforeResult
- Parameters:
invocation
- the action invocationresultCode
- the result code returned by the action (eg.success
).
-