|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.oio.bugkilla.protocol.HttpSession
Represent one Session-Object
Constructor Summary | |
HttpSession()
Construct a new HttpSession |
|
HttpSession(java.lang.String id)
Construct a new HttpSession with a specified Identity-String |
Method Summary | |
java.lang.Object |
getAttribute(java.lang.String name)
Returns the Attribute specified by its name (identifier) |
java.util.Enumeration |
getAttributeNames()
Returns a Enumeration of all names (identifiers) of the Attribute-Hashtable |
java.util.Hashtable |
getAttributes()
Returns the Attributes of the HttpSession |
long |
getCreationTime()
Returns the creation time the the HttpSession |
java.lang.String |
getId()
Returns the Identity of the HttpSession |
long |
getLastAccessedTime()
Returns the last accessed time of the HttpSession |
int |
getMaxInactiveInterval()
Returns the maximum inacitve interval of the HttpSession |
void |
setAttribute(java.lang.String name,
java.lang.Object obj)
Sets one Attribute to the Attribute-Hashtable of the HttpSession |
void |
setAttributes(java.util.Hashtable attributes)
Sets the Attributes of the HttpSession |
void |
setCreationTime(long creationTime)
Sets the creation time of the HttpSession |
void |
setId(java.lang.String id)
Sets the Identity of the HttpSession |
void |
setLastAccessedTime(long lastAccessedTime)
Sets the last accessed time of the HttpSession |
void |
setMaxInactiveInterval(int maxInactiveInterval)
Sets the maximum inacitve interval of the HttpSession |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HttpSession(java.lang.String id)
id
- Identity-Stringpublic HttpSession()
Method Detail |
public long getCreationTime()
public void setCreationTime(long creationTime)
creationTime
- the creation time of the HttpSessionpublic long getLastAccessedTime()
public void setLastAccessedTime(long lastAccessedTime)
lastAccessedTime
- the last accessd time of the HttpSessionpublic int getMaxInactiveInterval()
public void setMaxInactiveInterval(int maxInactiveInterval)
maxInactiveInterval
- the maximum inacitve interval of the HttpSessionpublic java.lang.String getId()
public void setId(java.lang.String id)
id
- the Identity of the HttpSessionpublic void setAttributes(java.util.Hashtable attributes)
attributes
- the Attributes of the HttpSessionpublic java.util.Hashtable getAttributes()
public void setAttribute(java.lang.String name, java.lang.Object obj)
name
- Name (identifier) of the Attributeobj
- Object represents the Attributepublic java.lang.Object getAttribute(java.lang.String name)
name
- the attributes name
public java.util.Enumeration getAttributeNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |