Interface SessionStatus
- All Known Implementing Classes:
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).- Since:
- 2.5
- Author:
- Juergen Hoeller
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return whether the current handler's session processing has been marked as complete.void
Mark the current handler's session processing as complete, allowing for cleanup of session attributes.
-
Method Details
-
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.
-