Package com.tangosol.coherence.servlet
Class RandomHttpSessionIdGenerator
java.lang.Object
com.tangosol.coherence.servlet.RandomHttpSessionIdGenerator
- All Implemented Interfaces:
HttpSessionIdGenerator
A default implementation of HttpSessionIdGenerator. It generates session ids
for newly created sessions models.
- Since:
- Coherence 3.6
- Author:
- jk 2009.08.25
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateSessionId(int length) Generate a potential session identifier.
-
Constructor Details
-
RandomHttpSessionIdGenerator
public RandomHttpSessionIdGenerator()Default constructor.
-
-
Method Details
-
generateSessionId
Generate a potential session identifier. The returned identifier may be in use already.- Specified by:
generateSessionIdin interfaceHttpSessionIdGenerator- Parameters:
length- session id length- Returns:
- a potential session identifier
-