public class MessageStorePreResultListener extends Object implements PreResultListener
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).PreResultListener.LegacyAdapter
Modifier and Type | Field and Description |
---|---|
protected MessageStoreInterceptor |
interceptor |
Constructor and Description |
---|
MessageStorePreResultListener() |
Modifier and Type | Method and Description |
---|---|
void |
beforeResult(ActionInvocation invocation,
String resultCode) |
void |
init(MessageStoreInterceptor interceptor) |
protected boolean |
isCommitted() |
protected boolean |
isInvalidated() |
protected boolean |
isRedirect(ActionInvocation invocation,
String resultCode) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adapt, beforeResult
protected MessageStoreInterceptor interceptor
public void init(MessageStoreInterceptor interceptor)
public void beforeResult(ActionInvocation invocation, String resultCode)
protected boolean isCommitted()
protected boolean isInvalidated()
protected boolean isRedirect(ActionInvocation invocation, String resultCode)
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.