|
Weaver 3.1.0a1-D1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The WeaverSessionContext interface manages a browser session.
Method Summary | |
Object |
getAttribute(String name)
Get a named session scoped attribute |
long |
getCreationTime()
Gets the time that this session was created. |
long |
getLastAccessedTime()
Get the last time that a request was made in this session. |
long |
getMaxInactiveInterval()
Get the maximum time between requests before this session will time out. |
WeaverSecurityContext |
getSecurityContext()
Gets the security context for this session |
String |
getSessionID()
Get the ID of this session. |
void |
invalidate()
Invalidates this session. |
void |
removeAttribute(String name)
Remove a session scoped attribute. |
void |
setAttribute(String name,
Object value)
Set the value of a named session scoped attribute. |
Method Detail |
public WeaverSecurityContext getSecurityContext()
public Object getAttribute(String name)
name
- The name of the attribute to retrieve.
public void setAttribute(String name, Object value)
name
- The name of the attribute to set.value
- The value to set the attribute to.public void removeAttribute(String name)
name
- The name of the attribute to remove.public long getLastAccessedTime()
public String getSessionID()
public void invalidate()
public long getCreationTime()
public long getMaxInactiveInterval()
|
Copyright ©Paul Harvey | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |