public class DefaultSessionKey extends Object implements SessionKey, Serializable
SessionKey
interface, which allows setting and retrieval of a concrete
sessionId
that the SessionManager
implementation can use to look up a
Session
instance.Constructor and Description |
---|
DefaultSessionKey() |
DefaultSessionKey(Serializable sessionId) |
Modifier and Type | Method and Description |
---|---|
Serializable |
getSessionId()
Returns the id of the session to acquire.
|
void |
setSessionId(Serializable sessionId) |
public DefaultSessionKey()
public DefaultSessionKey(Serializable sessionId)
public void setSessionId(Serializable sessionId)
public Serializable getSessionId()
SessionKey
getSessionId
in interface SessionKey
Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.