|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openqa.jetty.jetty.servlet.AbstractSessionManager.Session
public abstract class AbstractSessionManager.Session
| Constructor Summary | |
|---|---|
protected |
AbstractSessionManager.Session(javax.servlet.http.HttpServletRequest request)
|
| Method Summary | |
|---|---|
void |
access()
|
Object |
getAttribute(String name)
|
Enumeration |
getAttributeNames()
|
long |
getCreationTime()
|
String |
getId()
|
long |
getLastAccessedTime()
|
int |
getMaxInactiveInterval()
|
javax.servlet.ServletContext |
getServletContext()
|
javax.servlet.http.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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractSessionManager.Session(javax.servlet.http.HttpServletRequest request)
| Method Detail |
|---|
protected abstract Map newAttributeMap()
public void access()
access in interface SessionManager.Sessionpublic boolean isValid()
isValid in interface SessionManager.Sessionpublic javax.servlet.ServletContext getServletContext()
getServletContext in interface javax.servlet.http.HttpSession
public String getId()
throws IllegalStateException
getId in interface javax.servlet.http.HttpSessionIllegalStateException
public long getCreationTime()
throws IllegalStateException
getCreationTime in interface javax.servlet.http.HttpSessionIllegalStateException
public long getLastAccessedTime()
throws IllegalStateException
getLastAccessedTime in interface javax.servlet.http.HttpSessionIllegalStateExceptionpublic int getMaxInactiveInterval()
getMaxInactiveInterval in interface javax.servlet.http.HttpSession
public javax.servlet.http.HttpSessionContext getSessionContext()
throws IllegalStateException
getSessionContext in interface javax.servlet.http.HttpSessionIllegalStateExceptionpublic void setMaxInactiveInterval(int secs)
setMaxInactiveInterval in interface javax.servlet.http.HttpSession
public void invalidate()
throws IllegalStateException
invalidate in interface javax.servlet.http.HttpSessionIllegalStateException
public boolean isNew()
throws IllegalStateException
isNew in interface javax.servlet.http.HttpSessionIllegalStateExceptionpublic Object getAttribute(String name)
getAttribute in interface javax.servlet.http.HttpSessionpublic Enumeration getAttributeNames()
getAttributeNames in interface javax.servlet.http.HttpSession
public void setAttribute(String name,
Object value)
setAttribute in interface javax.servlet.http.HttpSessionpublic void removeAttribute(String name)
removeAttribute in interface javax.servlet.http.HttpSession
public Object getValue(String name)
throws IllegalStateException
getAttribute(java.lang.String)
getValue in interface javax.servlet.http.HttpSessionIllegalStateException
public String[] getValueNames()
throws IllegalStateException
getAttributeNames()
getValueNames in interface javax.servlet.http.HttpSessionIllegalStateException
public void putValue(String name,
Object value)
throws IllegalStateException
setAttribute(java.lang.String, java.lang.Object)
putValue in interface javax.servlet.http.HttpSessionIllegalStateException
public void removeValue(String name)
throws IllegalStateException
removeAttribute(java.lang.String)
removeValue in interface javax.servlet.http.HttpSessionIllegalStateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||