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