Package org.apache.catalina
Interface SessionIdGenerator
- 
- All Known Implementing Classes:
- SessionIdGeneratorBase,- StandardSessionIdGenerator
 
 public interface SessionIdGenerator
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgenerateSessionId()Generate and return a new session identifier.java.lang.StringgenerateSessionId(java.lang.String route)Generate and return a new session identifier.java.lang.StringgetJvmRoute()intgetSessionIdLength()voidsetJvmRoute(java.lang.String jvmRoute)Specify the node identifier associated with this node which will be included in the generated session ID.voidsetSessionIdLength(int sessionIdLength)Specify the number of bytes for a session ID
 
- 
- 
- 
Method Detail- 
getJvmRoutejava.lang.String getJvmRoute() - Returns:
- the node identifier associated with this node which will be included in the generated session ID.
 
 - 
setJvmRoutevoid setJvmRoute(java.lang.String jvmRoute) Specify the node identifier associated with this node which will be included in the generated session ID.- Parameters:
- jvmRoute- The node identifier
 
 - 
getSessionIdLengthint getSessionIdLength() - Returns:
- the number of bytes for a session ID
 
 - 
setSessionIdLengthvoid setSessionIdLength(int sessionIdLength) Specify the number of bytes for a session ID- Parameters:
- sessionIdLength- Number of bytes
 
 - 
generateSessionIdjava.lang.String generateSessionId() Generate and return a new session identifier.- Returns:
- the newly generated session id
 
 - 
generateSessionIdjava.lang.String generateSessionId(java.lang.String route) Generate and return a new session identifier.- Parameters:
- route- node identifier to include in generated id
- Returns:
- the newly generated session id
 
 
- 
 
-