public interface WebSession
Modifier and Type | Method and Description |
---|---|
long |
getExpires()
Gets the current value of expires
|
java.lang.Long |
getId()
Gets the current value of id
|
java.lang.String |
getKey()
Makes a key for the session.
|
User |
getUser()
Gets the current value of web_user_id
|
java.lang.String |
getValue()
Returns the value
|
java.lang.Long |
getWebUserId()
Gets the current value of web_user_id
|
boolean |
isExpired()
Determine if the session is expired already
|
void |
setExpires(long expIn)
Sets the value of expires to new value
|
void |
setWebUserId(java.lang.Long idIn)
Sets the value of web_user_id to new value
|
java.lang.Long getId()
java.lang.Long getWebUserId()
void setWebUserId(java.lang.Long idIn)
idIn
- User id associated with this Session.User getUser()
long getExpires()
void setExpires(long expIn)
expIn
- lifetime of this session in milliseconds.boolean isExpired()
java.lang.String getValue()
java.lang.String getKey()