|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.noderunner.http.servlet.BasicHttpSession
public class BasicHttpSession
Basic (mostly dummy) implementation of HTTP session.
| Constructor Summary | |
|---|---|
BasicHttpSession()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Returns attribute value by name. |
java.util.Enumeration<java.lang.String> |
getAttributeNames()
Returns attribute enumeration. |
long |
getCreationTime()
Returns time this object was created. |
java.lang.String |
getId()
Returns ID based on timestamp. |
long |
getLastAccessedTime()
Returns zero. |
int |
getMaxInactiveInterval()
Returns zero. |
javax.servlet.ServletContext |
getServletContext()
Returns null. |
javax.servlet.http.HttpSessionContext |
getSessionContext()
Returns null. |
java.lang.Object |
getValue(java.lang.String name)
Returns the value of the attribute. |
java.lang.String[] |
getValueNames()
Returns the value names. |
void |
invalidate()
Clears attributes. |
boolean |
isNew()
Returns true. |
void |
putValue(java.lang.String name,
java.lang.Object value)
Puts the value. |
void |
removeAttribute(java.lang.String name)
Removes an attribute by name. |
void |
removeValue(java.lang.String name)
Removes a value by name. |
void |
setAttribute(java.lang.String name,
java.lang.Object arg1)
Sets an attribute. |
void |
setMaxInactiveInterval(int arg0)
Sets inactive interval. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicHttpSession()
| Method Detail |
|---|
public java.lang.Object getAttribute(java.lang.String name)
getAttribute in interface javax.servlet.http.HttpSessionpublic java.util.Enumeration<java.lang.String> getAttributeNames()
getAttributeNames in interface javax.servlet.http.HttpSessionpublic long getCreationTime()
getCreationTime in interface javax.servlet.http.HttpSessionpublic java.lang.String getId()
getId in interface javax.servlet.http.HttpSessionpublic long getLastAccessedTime()
getLastAccessedTime in interface javax.servlet.http.HttpSessionpublic int getMaxInactiveInterval()
getMaxInactiveInterval in interface javax.servlet.http.HttpSessionpublic javax.servlet.ServletContext getServletContext()
getServletContext in interface javax.servlet.http.HttpSessionpublic javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext in interface javax.servlet.http.HttpSessionpublic java.lang.Object getValue(java.lang.String name)
getValue in interface javax.servlet.http.HttpSessionpublic java.lang.String[] getValueNames()
getValueNames in interface javax.servlet.http.HttpSessionpublic void invalidate()
invalidate in interface javax.servlet.http.HttpSessionpublic boolean isNew()
isNew in interface javax.servlet.http.HttpSession
public void putValue(java.lang.String name,
java.lang.Object value)
putValue in interface javax.servlet.http.HttpSessionpublic void removeAttribute(java.lang.String name)
removeAttribute in interface javax.servlet.http.HttpSessionpublic void removeValue(java.lang.String name)
removeValue in interface javax.servlet.http.HttpSession
public void setAttribute(java.lang.String name,
java.lang.Object arg1)
setAttribute in interface javax.servlet.http.HttpSessionpublic void setMaxInactiveInterval(int arg0)
setMaxInactiveInterval in interface javax.servlet.http.HttpSession
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||