|
||||||||||
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 | |
---|---|
Object |
getAttribute(String name)
Returns attribute value by name. |
Enumeration<String> |
getAttributeNames()
Returns attribute enumeration. |
long |
getCreationTime()
Returns time this object was created. |
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. |
Object |
getValue(String name)
Returns the value of the attribute. |
String[] |
getValueNames()
Returns the value names. |
void |
invalidate()
Clears attributes. |
boolean |
isNew()
Returns true. |
void |
putValue(String name,
Object value)
Puts the value. |
void |
removeAttribute(String name)
Removes an attribute by name. |
void |
removeValue(String name)
Removes a value by name. |
void |
setAttribute(String name,
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 Object getAttribute(String name)
getAttribute
in interface javax.servlet.http.HttpSession
public Enumeration<String> getAttributeNames()
getAttributeNames
in interface javax.servlet.http.HttpSession
public long getCreationTime()
getCreationTime
in interface javax.servlet.http.HttpSession
public String getId()
getId
in interface javax.servlet.http.HttpSession
public long getLastAccessedTime()
getLastAccessedTime
in interface javax.servlet.http.HttpSession
public int getMaxInactiveInterval()
getMaxInactiveInterval
in interface javax.servlet.http.HttpSession
public javax.servlet.ServletContext getServletContext()
getServletContext
in interface javax.servlet.http.HttpSession
public javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext
in interface javax.servlet.http.HttpSession
public Object getValue(String name)
getValue
in interface javax.servlet.http.HttpSession
public String[] getValueNames()
getValueNames
in interface javax.servlet.http.HttpSession
public void invalidate()
invalidate
in interface javax.servlet.http.HttpSession
public boolean isNew()
isNew
in interface javax.servlet.http.HttpSession
public void putValue(String name, Object value)
putValue
in interface javax.servlet.http.HttpSession
public void removeAttribute(String name)
removeAttribute
in interface javax.servlet.http.HttpSession
public void removeValue(String name)
removeValue
in interface javax.servlet.http.HttpSession
public void setAttribute(String name, Object arg1)
setAttribute
in interface javax.servlet.http.HttpSession
public 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 |