public interface Session
| Modifier and Type | Method and Description |
|---|---|
<T> Map<String,T> |
getAllAttributes() |
<T> T |
getAttribute(String name)
Returns for the given session attribute name the value
|
String |
getSessionId() |
void |
removeAttribute(String name)
Removes the given attribute from the current session.
|
void |
setAttribute(String name,
Object value)
Sets the given value Object to the Session as attribute with the given name
|
void setAttribute(String name, Object value)
name - the name of the attributevalue - the value to be set<T> T getAttribute(String name)
name - the attribute namenull if no attribute with the given name is stored in the sessionString getSessionId()
void removeAttribute(String name)
name - the attribute nameCopyright © 2017 SAP SE. All Rights Reserved.