|
|||||||||
| 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()
|
javax.servlet.ServletContext |
getServletContext()
|
javax.servlet.http.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 javax.servlet.http.HttpSessionpublic String getId()
getId in interface javax.servlet.http.HttpSessionpublic long getLastAccessedTime()
getLastAccessedTime in interface javax.servlet.http.HttpSessionprotected void access()
public javax.servlet.ServletContext getServletContext()
getServletContext in interface javax.servlet.http.HttpSessionpublic void setMaxInactiveInterval(int sessionTimeout)
setMaxInactiveInterval in interface javax.servlet.http.HttpSessionpublic int getMaxInactiveInterval()
getMaxInactiveInterval in interface javax.servlet.http.HttpSessionpublic javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext in interface javax.servlet.http.HttpSessionpublic Object getAttribute(String key)
getAttribute in interface javax.servlet.http.HttpSessionpublic Object getValue(String value)
getValue in interface javax.servlet.http.HttpSessionpublic Enumeration getAttributeNames()
getAttributeNames in interface javax.servlet.http.HttpSessionpublic String[] getValueNames()
getValueNames in interface javax.servlet.http.HttpSession
public void setAttribute(String key,
Object value)
setAttribute in interface javax.servlet.http.HttpSession
public void putValue(String key,
Object value)
putValue in interface javax.servlet.http.HttpSessionpublic void removeAttribute(String key)
removeAttribute in interface javax.servlet.http.HttpSessionpublic void removeValue(String key)
removeValue in interface javax.servlet.http.HttpSessionpublic void invalidate()
invalidate in interface javax.servlet.http.HttpSessionpublic boolean isNew()
isNew in interface javax.servlet.http.HttpSessionprotected 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 | ||||||||