|
![]() |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.droplets.apix.servlet.DropletsHttpSession
Implements HttpSession and is meant to be used by DropletsHttpServletRequest to hold and share Session data.
Copyright: Copyright (c) 2003
Company: Droplets
$Header: /Lib/DropletAppApiJava/src/com/droplets/apix/servlet/DropletsHttpSession.java 2 3/11/03 12:10p Frank $
Constructor Summary | |
DropletsHttpSession()
Constructor for DropletsHttpSession. |
Method Summary | |
java.lang.Object |
getAttribute(java.lang.String name)
Returns the attribute with the given 'name' previously set with setAttribute |
java.util.Enumeration |
getAttributeNames()
Returns an Enumeration of all of the attribute names. |
long |
getCreationTime()
The time that this Session object was created. |
java.lang.String |
getId()
A unique ID for this Session object |
long |
getLastAccessedTime()
Not supported. |
int |
getMaxInactiveInterval()
Supported, but not used. |
javax.servlet.ServletContext |
getServletContext()
Not supported. |
javax.servlet.http.HttpSessionContext |
getSessionContext()
Not supported. |
java.lang.Object |
getValue(java.lang.String name)
Returns the result of getAttribute(name) |
java.lang.String[] |
getValueNames()
Not implemented. |
void |
invalidate()
Not implmented |
boolean |
isNew()
Not implemented. |
void |
logout()
Not implemented |
void |
putValue(java.lang.String name,
java.lang.Object value)
Calls setAttribute(name, value) |
void |
removeAttribute(java.lang.String name)
Removes the attribute from the attribute list |
void |
removeValue(java.lang.String name)
Removes the attribute from the attribute list (by calling removeAttribute) |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Sets an attribute called 'name' to 'value'. |
void |
setMaxInactiveInterval(int interval)
Supported, but not used. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DropletsHttpSession()
getSession()
method.Method Detail |
public long getCreationTime()
getCreationTime
in interface javax.servlet.http.HttpSession
public java.lang.String getId()
getId
in interface javax.servlet.http.HttpSession
public long getLastAccessedTime()
getLastAccessedTime
in interface javax.servlet.http.HttpSession
getCreationTime()
public javax.servlet.ServletContext getServletContext()
public void setMaxInactiveInterval(int interval)
getMaxInactiveInterval()
setMaxInactiveInterval
in interface javax.servlet.http.HttpSession
interval
- used as the return value of getMaxInactiveInterval()
public int getMaxInactiveInterval()
setMaxInactiveInterval()
getMaxInactiveInterval
in interface javax.servlet.http.HttpSession
setMaxInactiveInterval()
public javax.servlet.http.HttpSessionContext getSessionContext()
getSessionContext
in interface javax.servlet.http.HttpSession
public java.lang.Object getAttribute(java.lang.String name)
getAttribute
in interface javax.servlet.http.HttpSession
name
- the name of the requested attributepublic java.lang.Object getValue(java.lang.String name)
getValue
in interface javax.servlet.http.HttpSession
name
- the name of an attributepublic java.util.Enumeration getAttributeNames()
getAttributeNames
in interface javax.servlet.http.HttpSession
public java.lang.String[] getValueNames()
getValueNames
in interface javax.servlet.http.HttpSession
public void setAttribute(java.lang.String name, java.lang.Object value)
setAttribute
in interface javax.servlet.http.HttpSession
name
- the name of an attribute to be setvalue
- the value to set the attribute topublic void putValue(java.lang.String name, java.lang.Object value)
putValue
in interface javax.servlet.http.HttpSession
name
- the name of an attribute to be setvalue
- the value to set the attribute topublic void removeAttribute(java.lang.String name)
removeAttribute
in interface javax.servlet.http.HttpSession
name
- the name of an attribute to removepublic void removeValue(java.lang.String name)
removeValue
in interface javax.servlet.http.HttpSession
name
- the name of an attribute to removepublic void invalidate()
invalidate
in interface javax.servlet.http.HttpSession
public boolean isNew()
isNew
in interface javax.servlet.http.HttpSession
public void logout()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |