Package net.officefloor.web.session.spi
Interface HttpSessionStore
-
- All Known Implementing Classes:
MemoryHttpSessionStore
public interface HttpSessionStoreProvides a store (or cache) of
HttpSessioninstances.This interfaces allows customising the storage of
HttpSessioninstances. 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateHttpSession(CreateHttpSessionOperation operation)Triggers creating new details for aHttpSession.voidinvalidateHttpSession(InvalidateHttpSessionOperation operation)Triggers invalidating theHttpSession.voidretrieveHttpSession(RetrieveHttpSessionOperation operation)Triggers retrieving theHttpSessiondetails.voidstoreHttpSession(StoreHttpSessionOperation operation)Triggers storing theHttpSessiondetails.
-
-
-
Method Detail
-
createHttpSession
void createHttpSession(CreateHttpSessionOperation operation)
Triggers creating new details for aHttpSession.- Parameters:
operation- Operation to receive results of creation.
-
retrieveHttpSession
void retrieveHttpSession(RetrieveHttpSessionOperation operation)
Triggers retrieving theHttpSessiondetails.- Parameters:
operation- Operation to receive results of the retrieval.
-
storeHttpSession
void storeHttpSession(StoreHttpSessionOperation operation)
Triggers storing theHttpSessiondetails.- Parameters:
operation- Operations to receive the results of the storage.
-
invalidateHttpSession
void invalidateHttpSession(InvalidateHttpSessionOperation operation)
Triggers invalidating theHttpSession.- Parameters:
operation- Operation to invalidate theHttpSession.
-
-