|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.grizzly.http.servlet.HttpSessionImpl
public class HttpSessionImpl
Basic HttpSession
based on GrizzlySession
support.
Constructor Summary | |
---|---|
HttpSessionImpl(ServletContextImpl contextImpl)
Create an HttpSession. |
Method Summary | |
---|---|
protected void |
access()
Reset the timestamp. |
Object |
getAttribute(String key)
|
Enumeration |
getAttributeNames()
|
long |
getCreationTime()
|
String |
getId()
|
long |
getLastAccessedTime()
|
int |
getMaxInactiveInterval()
|
ServletContext |
getServletContext()
|
HttpSessionContext |
getSessionContext()
|
Object |
getValue(String value)
|
String[] |
getValueNames()
|
void |
invalidate()
|
boolean |
isNew()
|
protected void |
notifyNew()
Invoke to notify all registered HttpSessionListener of the
session has just been created. |
void |
putValue(String key,
Object value)
|
void |
removeAttribute(String key)
|
void |
removeValue(String key)
|
void |
setAttribute(String key,
Object value)
|
void |
setMaxInactiveInterval(int sessionTimeout)
|
protected void |
setSession(GrizzlySession session)
Set the GrizzlySession |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpSessionImpl(ServletContextImpl contextImpl)
contextImpl
- Method Detail |
---|
public long getCreationTime()
getCreationTime
in interface HttpSession
public String getId()
getId
in interface HttpSession
public long getLastAccessedTime()
getLastAccessedTime
in interface HttpSession
protected void access()
public ServletContext getServletContext()
getServletContext
in interface HttpSession
public void setMaxInactiveInterval(int sessionTimeout)
setMaxInactiveInterval
in interface HttpSession
public int getMaxInactiveInterval()
getMaxInactiveInterval
in interface HttpSession
public HttpSessionContext getSessionContext()
getSessionContext
in interface HttpSession
public Object getAttribute(String key)
getAttribute
in interface HttpSession
public Object getValue(String value)
getValue
in interface HttpSession
public Enumeration getAttributeNames()
getAttributeNames
in interface HttpSession
public String[] getValueNames()
getValueNames
in interface HttpSession
public void setAttribute(String key, Object value)
setAttribute
in interface HttpSession
public void putValue(String key, Object value)
putValue
in interface HttpSession
public void removeAttribute(String key)
removeAttribute
in interface HttpSession
public void removeValue(String key)
removeValue
in interface HttpSession
public void invalidate()
invalidate
in interface HttpSession
public boolean isNew()
isNew
in interface HttpSession
protected void setSession(GrizzlySession session)
GrizzlySession
protected void notifyNew()
HttpSessionListener
of the
session has just been created.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |