|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mortbay.jetty.servlet.AbstractSessionManager.Session
public abstract class AbstractSessionManager.Session
Implements HttpSession
from the javax.servlet
package.
Constructor Summary | |
---|---|
protected |
AbstractSessionManager.Session(HttpServletRequest request)
|
Method Summary | |
---|---|
protected void |
access(long time)
|
protected void |
bindValue(String name,
Object value)
If value implements HttpSessionBindingListener, call valueBound() |
Object |
getAttribute(String name)
|
Enumeration |
getAttributeNames()
|
protected String |
getClusterId()
|
protected Cookie |
getCookie()
|
long |
getCookieSetTime()
|
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 |
isIdChanged()
|
boolean |
isNew()
|
protected 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)
|
protected void |
setCookie(Cookie cookie)
|
void |
setIdChanged(boolean changed)
|
void |
setMaxInactiveInterval(int secs)
|
String |
toString()
|
protected 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 |
Constructor Detail |
---|
protected AbstractSessionManager.Session(HttpServletRequest request)
Method Detail |
---|
public Object getAttribute(String name)
public Enumeration getAttributeNames()
public long getCookieSetTime()
public long getCreationTime() throws IllegalStateException
IllegalStateException
public String getId() throws IllegalStateException
IllegalStateException
public long getLastAccessedTime() throws IllegalStateException
IllegalStateException
public int getMaxInactiveInterval()
public ServletContext getServletContext()
public HttpSessionContext getSessionContext() throws IllegalStateException
IllegalStateException
public Object getValue(String name) throws IllegalStateException
getAttribute(java.lang.String)
IllegalStateException
public String[] getValueNames() throws IllegalStateException
getAttributeNames()
IllegalStateException
public void invalidate() throws IllegalStateException
IllegalStateException
public boolean isIdChanged()
public boolean isNew() throws IllegalStateException
IllegalStateException
public void putValue(String name, Object value) throws IllegalStateException
setAttribute(java.lang.String, java.lang.Object)
IllegalStateException
public void removeAttribute(String name)
public void removeValue(String name) throws IllegalStateException
removeAttribute(java.lang.String)
IllegalStateException
public void setAttribute(String name, Object value)
public void setIdChanged(boolean changed)
public void setMaxInactiveInterval(int secs)
public String toString()
toString
in class Object
protected void access(long time)
protected void bindValue(String name, Object value)
protected String getClusterId()
protected Cookie getCookie()
protected boolean isValid()
protected abstract Map newAttributeMap()
protected void setCookie(Cookie cookie)
protected void unbindValue(String name, Object value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |