|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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()
|
java.lang.Object |
getAttribute(java.lang.String name)
|
java.util.Enumeration |
getAttributeNames()
|
long |
getCreationTime()
|
java.lang.String |
getId()
|
long |
getLastAccessedTime()
|
int |
getMaxInactiveInterval()
|
javax.servlet.ServletContext |
getServletContext()
|
javax.servlet.http.HttpSessionContext |
getSessionContext()
Deprecated. |
java.lang.Object |
getValue(java.lang.String name)
Deprecated. As of Version 2.2, this method is replaced by getAttribute(java.lang.String) |
java.lang.String[] |
getValueNames()
Deprecated. As of Version 2.2, this method is replaced by getAttributeNames() |
void |
invalidate()
|
boolean |
isNew()
|
boolean |
isValid()
|
protected abstract java.util.Map |
newAttributeMap()
|
void |
putValue(java.lang.String name,
java.lang.Object value)
Deprecated. As of Version 2.2, this method is replaced by setAttribute(java.lang.String, java.lang.Object) |
void |
removeAttribute(java.lang.String name)
|
void |
removeValue(java.lang.String name)
Deprecated. As of Version 2.2, this method is replaced by removeAttribute(java.lang.String) |
void |
setAttribute(java.lang.String name,
java.lang.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 java.util.Map newAttributeMap()
public void access()
access
in interface SessionManager.Session
public boolean isValid()
isValid
in interface SessionManager.Session
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface javax.servlet.http.HttpSession
public java.lang.String getId() throws java.lang.IllegalStateException
getId
in interface javax.servlet.http.HttpSession
java.lang.IllegalStateException
public long getCreationTime() throws java.lang.IllegalStateException
getCreationTime
in interface javax.servlet.http.HttpSession
java.lang.IllegalStateException
public long getLastAccessedTime() throws java.lang.IllegalStateException
getLastAccessedTime
in interface javax.servlet.http.HttpSession
java.lang.IllegalStateException
public int getMaxInactiveInterval()
getMaxInactiveInterval
in interface javax.servlet.http.HttpSession
public javax.servlet.http.HttpSessionContext getSessionContext() throws java.lang.IllegalStateException
getSessionContext
in interface javax.servlet.http.HttpSession
java.lang.IllegalStateException
public void setMaxInactiveInterval(int secs)
setMaxInactiveInterval
in interface javax.servlet.http.HttpSession
public void invalidate() throws java.lang.IllegalStateException
invalidate
in interface javax.servlet.http.HttpSession
java.lang.IllegalStateException
public boolean isNew() throws java.lang.IllegalStateException
isNew
in interface javax.servlet.http.HttpSession
java.lang.IllegalStateException
public java.lang.Object getAttribute(java.lang.String name)
getAttribute
in interface javax.servlet.http.HttpSession
public java.util.Enumeration getAttributeNames()
getAttributeNames
in interface javax.servlet.http.HttpSession
public void setAttribute(java.lang.String name, java.lang.Object value)
setAttribute
in interface javax.servlet.http.HttpSession
public void removeAttribute(java.lang.String name)
removeAttribute
in interface javax.servlet.http.HttpSession
public java.lang.Object getValue(java.lang.String name) throws java.lang.IllegalStateException
getAttribute(java.lang.String)
getValue
in interface javax.servlet.http.HttpSession
java.lang.IllegalStateException
public java.lang.String[] getValueNames() throws java.lang.IllegalStateException
getAttributeNames()
getValueNames
in interface javax.servlet.http.HttpSession
java.lang.IllegalStateException
public void putValue(java.lang.String name, java.lang.Object value) throws java.lang.IllegalStateException
setAttribute(java.lang.String, java.lang.Object)
putValue
in interface javax.servlet.http.HttpSession
java.lang.IllegalStateException
public void removeValue(java.lang.String name) throws java.lang.IllegalStateException
removeAttribute(java.lang.String)
removeValue
in interface javax.servlet.http.HttpSession
java.lang.IllegalStateException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |