Package net.officefloor.web.session.spi
Interface HttpSessionStore
- All Known Implementing Classes:
MemoryHttpSessionStore
public interface HttpSessionStore
Provides a store (or cache) of HttpSession instances.
This interfaces allows customising the storage of HttpSession
instances. Different storage strategies can be used to suit the deployment of
the application. For example a different strategy may be chosen if the
application is hosted on a single server or across a cluster.
- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateHttpSession(CreateHttpSessionOperation operation) Triggers creating new details for aHttpSession.voidTriggers invalidating theHttpSession.voidretrieveHttpSession(RetrieveHttpSessionOperation operation) Triggers retrieving theHttpSessiondetails.voidstoreHttpSession(StoreHttpSessionOperation operation) Triggers storing theHttpSessiondetails.
-
Method Details
-
createHttpSession
Triggers creating new details for aHttpSession.- Parameters:
operation- Operation to receive results of creation.
-
retrieveHttpSession
Triggers retrieving theHttpSessiondetails.- Parameters:
operation- Operation to receive results of the retrieval.
-
storeHttpSession
Triggers storing theHttpSessiondetails.- Parameters:
operation- Operations to receive the results of the storage.
-
invalidateHttpSession
Triggers invalidating theHttpSession.- Parameters:
operation- Operation to invalidate theHttpSession.
-