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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
createHttpSession(CreateHttpSessionOperation operation)
Triggers creating new details for aHttpSession
.void
invalidateHttpSession(InvalidateHttpSessionOperation operation)
Triggers invalidating theHttpSession
.void
retrieveHttpSession(RetrieveHttpSessionOperation operation)
Triggers retrieving theHttpSession
details.void
storeHttpSession(StoreHttpSessionOperation operation)
Triggers storing theHttpSession
details.
-
-
-
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 theHttpSession
details.- Parameters:
operation
- Operation to receive results of the retrieval.
-
storeHttpSession
void storeHttpSession(StoreHttpSessionOperation operation)
Triggers storing theHttpSession
details.- Parameters:
operation
- Operations to receive the results of the storage.
-
invalidateHttpSession
void invalidateHttpSession(InvalidateHttpSessionOperation operation)
Triggers invalidating theHttpSession
.- Parameters:
operation
- Operation to invalidate theHttpSession
.
-
-