public class SessionScopeExtractor extends Object implements AttributeExtractor
Constructor and Description |
---|
SessionScopeExtractor(javax.portlet.PortletRequest request,
int scope)
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.portlet.PortletRequest request, int scope)
request
- The request.scope
- The subscope (application or portlet).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.