接口 SessionStatus
- 所有已知实现类:
SimpleSessionStatus
public interface SessionStatus
Simple interface that can be injected into handler methods, allowing them to
signal that their session processing is complete. The handler invoker may
then follow up with appropriate cleanup, e.g. of session attributes which
have been implicitly created during this handler's processing (according to
the
@SessionAttributes annotation).- 从以下版本开始:
- 4.0 2022/4/8 23:24
- 作者:
- Juergen Hoeller, Harry Yang
- 另请参阅:
-
方法概要
修饰符和类型方法说明booleanReturn whether the current handler's session processing has been marked as complete.voidMark the current handler's session processing as complete, allowing for cleanup of session attributes.
-
方法详细资料
-
setComplete
void setComplete()Mark the current handler's session processing as complete, allowing for cleanup of session attributes. -
isComplete
boolean isComplete()Return whether the current handler's session processing has been marked as complete.
-