Class SimpleSessionStatus
- java.lang.Object
- org.springframework.web.bind.support.SimpleSessionStatus
- All Implemented Interfaces:
SessionStatus
public class SimpleSessionStatus extends Object implements SessionStatus
Simple implementation of theSessionStatusinterface, keeping thecompleteflag as an instance variable.- Since:
- 2.5
- Author:
- Juergen Hoeller
Constructor Summary
Constructors Constructor Description SimpleSessionStatus()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisComplete()Return whether the current handler's session processing has been marked as complete.voidsetComplete()Mark the current handler's session processing as complete, allowing for cleanup of session attributes.
Constructor Detail
SimpleSessionStatus
public SimpleSessionStatus()
Method Detail
setComplete
public void setComplete()
Description copied from interface:SessionStatusMark the current handler's session processing as complete, allowing for cleanup of session attributes.- Specified by:
setCompletein interfaceSessionStatus
isComplete
public boolean isComplete()
Description copied from interface:SessionStatusReturn whether the current handler's session processing has been marked as complete.- Specified by:
isCompletein interfaceSessionStatus