Package net.officefloor.web.session
Interface HttpSessionAdministration
public interface HttpSessionAdministration
Administration interface for the
HttpSession.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoidinvalidate(boolean isRequireNewSession) Triggers invalidating theHttpSession.booleanIndicates if the invalidate or store operation are complete.voidstore()Triggers storing theHttpSession.
-
Method Details
-
invalidate
Triggers invalidating theHttpSession.- Parameters:
isRequireNewSession-trueto have a newHttpSessioncreated.- Throws:
Throwable- If immediate failure in invalidating theHttpSession.
-
store
Triggers storing theHttpSession.- Throws:
Throwable- If immediate failure in storing theHttpSession.
-
isOperationComplete
Indicates if the invalidate or store operation are complete.
As is an
AsynchronousManagedObject, the next time a newManagedFunctionis run the operation should be complete. This method enables determining if completed immediately and there were no failures of the operation.- Returns:
trueif the invalidate or store operation is complete.- Throws:
Throwable- Possible failure in invalidating or storing theHttpSession.
-