Top Methods
org.apache.catalina

public Interface SessionIdGenerator

Known Direct Implementers
org.apache.catalina.util.SessionIdGeneratorBase

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the newly generated session id
generateSessionId
()

Generate and return a new session identifier.

public String

Returns:

the newly generated session id
generateSessionId
(String
node identifier to include in generated id
route
)

Generate and return a new session identifier.

public String

Returns:

the node identifier associated with this node which will be included in the generated session ID.
getJvmRoute
()

public int

Returns:

the number of bytes for a session ID
getSessionIdLength
()

public void
setJvmRoute(String
The node identifier
jvmRoute
)

Specify the node identifier associated with this node which will be included in the generated session ID.

public void
setSessionIdLength(int
Number of bytes
sessionIdLength
)

Specify the number of bytes for a session ID

Method Detail

generateSessionIdback to summary
public String generateSessionId()

Generate and return a new session identifier.

Returns:String

the newly generated session id

generateSessionIdback to summary
public String generateSessionId(String route)

Generate and return a new session identifier.

Parameters
route:String

node identifier to include in generated id

Returns:String

the newly generated session id

getJvmRouteback to summary
public String getJvmRoute()
Returns:String

the node identifier associated with this node which will be included in the generated session ID.

getSessionIdLengthback to summary
public int getSessionIdLength()
Returns:int

the number of bytes for a session ID

setJvmRouteback to summary
public void setJvmRoute(String jvmRoute)

Specify the node identifier associated with this node which will be included in the generated session ID.

Parameters
jvmRoute:String

The node identifier

setSessionIdLengthback to summary
public void setSessionIdLength(int sessionIdLength)

Specify the number of bytes for a session ID

Parameters
sessionIdLength:int

Number of bytes