public class sessionInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) Hashtable<String,Vector<String>> |
setvalues |
(package private) Hashtable<String,String> |
values |
| Constructor and Description |
|---|
sessionInfo(String hostname) |
sessionInfo(String hostname,
String cookie) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSetValue(String key,
String value)
adds a value to a set, no duplicates are allowed.
|
String |
clearSet(String key)
delete the values belonging to the key
|
String |
containsSetValue(String key,
String value)
does this set contain the value ?
|
void |
delSetValue(String key,
String value)
deletes a value from the SESSION set.
|
String |
getAvgSet(String key)
return the average of a set of numbers
|
String |
getCookie() |
String |
getHostName()
returns the hostname of a user
|
MMObjectNode |
getNode() |
String |
getSetCount(String key)
return the number of values contained by a session variable
|
String |
getSetString(String key)
returns the session variable values comma separaterd
|
String |
getValue(String wanted) |
void |
putSetValue(String key,
String value)
add a value to a set, duplicates are allowed.
|
String |
removeValue(String key)
Removes (clears) a value from a session.
|
void |
setNode(MMObjectNode node) |
String |
setValue(String key,
String value) |
String |
toString() |
public sessionInfo(String hostname)
public void setNode(MMObjectNode node)
public MMObjectNode getNode()
public String getCookie()
public String removeValue(String key)
key - the key of the attribute to clearpublic void addSetValue(String key, String value)
public void putSetValue(String key, String value)
public String containsSetValue(String key, String value)
public String getSetString(String key)
key - the name of the session variablepublic String getSetCount(String key)
public String getHostName()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}