public class SessionScopeExtractor extends Object implements AttributeExtractor
Constructor and Description |
---|
SessionScopeExtractor(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(HttpServletRequest request)
request
- The servlet request.public void setValue(String name, Object value)
Addable
public void removeValue(String name)
HasRemovableKeys
removeValue
in interface HasRemovableKeys<Object>
name
- The key of the attribute to remove.public Enumeration<String> getKeys()
HasKeys
Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.