public class SessionScopeExtractor extends Object implements AttributeExtractor
| Constructor and Description |
|---|
SessionScopeExtractor(javax.servlet.http.HttpServletRequest request)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Enumeration<String> |
getKeys()
The enumeration of the keys of the stored attributes.
|
Object |
getValue(String key)
Returns the value of the attribute with the given key.
|
void |
removeValue(String name)
Removes an attribute.
|
void |
setValue(String name,
Object value)
Sets a value for the given key.
|
public SessionScopeExtractor(javax.servlet.http.HttpServletRequest request)
request - The servlet request.public void setValue(String name, Object value)
Addablepublic void removeValue(String name)
HasRemovableKeysremoveValue in interface HasRemovableKeys<Object>name - The key of the attribute to remove.public Enumeration<String> getKeys()
HasKeysCopyright © 2000–2024 Apache Software Foundation. All rights reserved.