|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjet.servlet.JetSession
public class JetSession
Field Summary | |
---|---|
static java.lang.String |
KEY
key for pooling |
(package private) java.util.TreeMap |
map
mapped data |
private javax.servlet.http.HttpSession |
session
holds the httpsession |
Constructor Summary | |
---|---|
JetSession()
Constructor |
Method Summary | |
---|---|
boolean |
containsSession()
Indicates if a session exists |
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()
|
java.lang.Object |
getValue(java.lang.String name)
|
java.lang.String[] |
getValueNames()
|
void |
init(javax.servlet.http.HttpSession session,
java.util.TreeMap map)
init method |
void |
invalidate()
|
boolean |
isNew()
|
void |
putValue(java.lang.String name,
java.lang.Object object)
|
void |
removeAttribute(java.lang.String name)
|
void |
removeValue(java.lang.String name)
|
void |
reset()
|
void |
setAttribute(java.lang.String string,
java.lang.Object object)
|
void |
setMaxInactiveInterval(int interval)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String KEY
private javax.servlet.http.HttpSession session
java.util.TreeMap map
Constructor Detail |
---|
public JetSession()
Method Detail |
---|
public void init(javax.servlet.http.HttpSession session, java.util.TreeMap map)
session
- http sessionmap
- data mappublic boolean isNew()
isNew
in interface javax.servlet.http.HttpSession
HttpSession.isNew()
public java.lang.Object getAttribute(java.lang.String name)
getAttribute
in interface javax.servlet.http.HttpSession
HttpSession.getAttribute(String)
public java.util.Enumeration getAttributeNames()
getAttributeNames
in interface javax.servlet.http.HttpSession
HttpSession.getAttributeNames()
public long getCreationTime()
getCreationTime
in interface javax.servlet.http.HttpSession
HttpSession.getCreationTime()
public java.lang.String getId()
getId
in interface javax.servlet.http.HttpSession
HttpSession.getId()
public long getLastAccessedTime()
getLastAccessedTime
in interface javax.servlet.http.HttpSession
HttpSession.getLastAccessedTime()
public int getMaxInactiveInterval()
getMaxInactiveInterval
in interface javax.servlet.http.HttpSession
HttpSession.getMaxInactiveInterval()
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface javax.servlet.http.HttpSession
HttpSession.getServletContext()
public javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext
in interface javax.servlet.http.HttpSession
HttpSession.getSessionContext()
public java.lang.Object getValue(java.lang.String name)
getValue
in interface javax.servlet.http.HttpSession
HttpSession.getValue(String)
public java.lang.String[] getValueNames()
getValueNames
in interface javax.servlet.http.HttpSession
HttpSession.getValueNames()
public void invalidate()
invalidate
in interface javax.servlet.http.HttpSession
HttpSession.invalidate()
public void putValue(java.lang.String name, java.lang.Object object)
putValue
in interface javax.servlet.http.HttpSession
HttpSession.putValue(String, Object)
public void removeAttribute(java.lang.String name)
removeAttribute
in interface javax.servlet.http.HttpSession
HttpSession.removeAttribute(String)
public void removeValue(java.lang.String name)
removeValue
in interface javax.servlet.http.HttpSession
HttpSession.removeValue(String)
public void setMaxInactiveInterval(int interval)
setMaxInactiveInterval
in interface javax.servlet.http.HttpSession
HttpSession.setMaxInactiveInterval(int)
public void setAttribute(java.lang.String string, java.lang.Object object)
setAttribute
in interface javax.servlet.http.HttpSession
HttpSession.setAttribute(String, Object)
public void reset()
reset
in interface Resetable
Resetable.reset()
public boolean containsSession()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |