|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mortbay.jetty.servlet.AbstractSessionManager.Session
public abstract class AbstractSessionManager.Session
Field Summary | |
---|---|
(package private) long |
_accessed
|
(package private) long |
_created
|
(package private) String |
_id
|
(package private) boolean |
_invalid
|
(package private) long |
_maxIdleMs
|
(package private) boolean |
_newSession
|
(package private) Map |
_values
|
Constructor Summary | |
---|---|
protected |
AbstractSessionManager.Session(HttpServletRequest request)
|
Method Summary | |
---|---|
void |
access()
|
private void |
bindValue(String name,
Object value)
If value implements HttpSessionBindingListener, call valueBound() |
Object |
getAttribute(String name)
|
Enumeration |
getAttributeNames()
|
long |
getCreationTime()
|
String |
getId()
|
long |
getLastAccessedTime()
|
int |
getMaxInactiveInterval()
|
ServletContext |
getServletContext()
|
HttpSessionContext |
getSessionContext()
Deprecated. |
Object |
getValue(String name)
Deprecated. As of Version 2.2, this method is replaced by getAttribute(java.lang.String) |
String[] |
getValueNames()
Deprecated. As of Version 2.2, this method is replaced by getAttributeNames() |
void |
invalidate()
|
boolean |
isNew()
|
boolean |
isValid()
|
protected abstract Map |
newAttributeMap()
|
void |
putValue(String name,
Object value)
Deprecated. As of Version 2.2, this method is replaced by setAttribute(java.lang.String, java.lang.Object) |
void |
removeAttribute(String name)
|
void |
removeValue(String name)
Deprecated. As of Version 2.2, this method is replaced by removeAttribute(java.lang.String) |
void |
setAttribute(String name,
Object value)
|
void |
setMaxInactiveInterval(int secs)
|
String |
toString()
|
private void |
unbindValue(String name,
Object value)
If value implements HttpSessionBindingListener, call valueUnbound() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
long _created
long _accessed
String _id
boolean _invalid
long _maxIdleMs
boolean _newSession
Map _values
Constructor Detail |
---|
protected AbstractSessionManager.Session(HttpServletRequest request)
Method Detail |
---|
public void access()
access
in interface SessionManager.Session
private void bindValue(String name, Object value)
public Object getAttribute(String name)
getAttribute
in interface HttpSession
public Enumeration getAttributeNames()
getAttributeNames
in interface HttpSession
public long getCreationTime() throws IllegalStateException
getCreationTime
in interface HttpSession
IllegalStateException
public String getId() throws IllegalStateException
getId
in interface HttpSession
IllegalStateException
public long getLastAccessedTime() throws IllegalStateException
getLastAccessedTime
in interface HttpSession
IllegalStateException
public int getMaxInactiveInterval()
getMaxInactiveInterval
in interface HttpSession
public ServletContext getServletContext()
getServletContext
in interface HttpSession
public HttpSessionContext getSessionContext() throws IllegalStateException
getSessionContext
in interface HttpSession
IllegalStateException
public Object getValue(String name) throws IllegalStateException
getAttribute(java.lang.String)
getValue
in interface HttpSession
IllegalStateException
public String[] getValueNames() throws IllegalStateException
getAttributeNames()
getValueNames
in interface HttpSession
IllegalStateException
public void invalidate() throws IllegalStateException
invalidate
in interface HttpSession
IllegalStateException
public boolean isNew() throws IllegalStateException
isNew
in interface HttpSession
IllegalStateException
public boolean isValid()
isValid
in interface SessionManager.Session
protected abstract Map newAttributeMap()
public void putValue(String name, Object value) throws IllegalStateException
setAttribute(java.lang.String, java.lang.Object)
putValue
in interface HttpSession
IllegalStateException
public void removeAttribute(String name)
removeAttribute
in interface HttpSession
public void removeValue(String name) throws IllegalStateException
removeAttribute(java.lang.String)
removeValue
in interface HttpSession
IllegalStateException
public void setAttribute(String name, Object value)
setAttribute
in interface HttpSession
public void setMaxInactiveInterval(int secs)
setMaxInactiveInterval
in interface HttpSession
private void unbindValue(String name, Object value)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |