public class ClusteredSessionImpl extends SessionImpl
HttpSession
.Constructor and Description |
---|
ClusteredSessionImpl(HttpServletRequest request,
HttpSession session,
SessionPersistedObjectAnalyzer analyzer) |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String name)
Returns the value previously stored in the session.
|
void |
invalidate()
Invalidates this session then unbinds any objects bound to it.
|
void |
restoreDirtyObjects()
Re-stores dirty objects back into the session.
|
void |
setAttribute(String name,
Object value)
Sets the value of an attribute.
|
getAttributeNames, getAttributeNames, getMaxInactiveInterval, isInvalidated, setMaxInactiveInterval
public ClusteredSessionImpl(HttpServletRequest request, HttpSession session, SessionPersistedObjectAnalyzer analyzer)
public Object getAttribute(String name)
Session
getAttribute
in interface Session
getAttribute
in class SessionImpl
public void setAttribute(String name, Object value)
Session
setAttribute
in interface Session
setAttribute
in class SessionImpl
public void invalidate()
Session
invalidate
in interface Session
invalidate
in class SessionImpl
public void restoreDirtyObjects()
Session
restoreDirtyObjects
in interface Session
restoreDirtyObjects
in class SessionImpl
OptimizedSessionPersistedObject
,
OptimizedSessionPersistedObjectAnalyzer
,
ImmutableSessionPersistedObject
Copyright © 2003-2012 The Apache Software Foundation.