Package net.officefloor.web.session
Interface HttpSessionAdministration
-
public interface HttpSessionAdministration
Administration interface for theHttpSession
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
invalidate(boolean isRequireNewSession)
Triggers invalidating theHttpSession
.boolean
isOperationComplete()
Indicates if the invalidate or store operation are complete.void
store()
Triggers storing theHttpSession
.
-
-
-
Method Detail
-
invalidate
void invalidate(boolean isRequireNewSession) throws java.lang.Throwable
Triggers invalidating theHttpSession
.- Parameters:
isRequireNewSession
-true
to have a newHttpSession
created.- Throws:
java.lang.Throwable
- If immediate failure in invalidating theHttpSession
.
-
store
void store() throws java.lang.Throwable
Triggers storing theHttpSession
.- Throws:
java.lang.Throwable
- If immediate failure in storing theHttpSession
.
-
isOperationComplete
boolean isOperationComplete() throws java.lang.Throwable
Indicates if the invalidate or store operation are complete.
As is an
AsynchronousManagedObject
, the next time a newManagedFunction
is run the operation should be complete. This method enables determining if completed immediately and there were no failures of the operation.- Returns:
true
if the invalidate or store operation is complete.- Throws:
java.lang.Throwable
- Possible failure in invalidating or storing theHttpSession
.
-
-