|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tiles.request.portlet.extractor.HeaderExtractor
public class HeaderExtractor
Extracts and puts headers in portlet requests and responses.
Constructor Summary | |
---|---|
HeaderExtractor(PortletRequest request,
PortletResponse response)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HeaderExtractor(PortletRequest request, PortletResponse response)
request
- The request.response
- The response.Method Detail |
---|
public Enumeration<String> getKeys()
HasKeys
getKeys
in interface HasKeys<String>
public String getValue(String key)
HasKeys
getValue
in interface HasKeys<String>
key
- The key of the attribute.
public Enumeration<String> getValues(String key)
EnumeratedValuesExtractor
getValues
in interface EnumeratedValuesExtractor
key
- The key of the attribute.
public void setValue(String key, String value)
Addable
setValue
in interface Addable<String>
key
- The key of the attribute.value
- The value of the attribute.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |