public class ApplicationScopeExtractor extends Object implements AttributeExtractor
Constructor and Description |
---|
ApplicationScopeExtractor(ServletContext context)
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 ApplicationScopeExtractor(ServletContext context)
context
- The servlet context.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.