Package net.officefloor.web.session
Interface HttpSessionAdministration
-
public interface HttpSessionAdministrationAdministration interface for theHttpSession.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinvalidate(boolean isRequireNewSession)Triggers invalidating theHttpSession.booleanisOperationComplete()Indicates if the invalidate or store operation are complete.voidstore()Triggers storing theHttpSession.
-
-
-
Method Detail
-
invalidate
void invalidate(boolean isRequireNewSession) throws java.lang.ThrowableTriggers invalidating theHttpSession.- Parameters:
isRequireNewSession-trueto have a newHttpSessioncreated.- Throws:
java.lang.Throwable- If immediate failure in invalidating theHttpSession.
-
store
void store() throws java.lang.ThrowableTriggers storing theHttpSession.- Throws:
java.lang.Throwable- If immediate failure in storing theHttpSession.
-
isOperationComplete
boolean isOperationComplete() throws java.lang.ThrowableIndicates 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:
java.lang.Throwable- Possible failure in invalidating or storing theHttpSession.
-
-