public class HeaderExtractor extends Object implements EnumeratedValuesExtractor
Constructor and Description |
---|
HeaderExtractor(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Enumeration<String> |
getKeys()
The enumeration of the keys of the stored attributes.
|
String |
getValue(String key)
Returns the value of the attribute with the given key.
|
Enumeration<String> |
getValues(String key)
Returns the values stored at the given key.
|
void |
setValue(String key,
String value)
Sets a value for the given key.
|
public HeaderExtractor(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response)
request
- The request.response
- The response.public Enumeration<String> getKeys()
HasKeys
public String getValue(String key)
HasKeys
public Enumeration<String> getValues(String key)
EnumeratedValuesExtractor
getValues
in interface EnumeratedValuesExtractor
key
- The key of the attribute.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.