|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.portals.bridges.jsf.AbstractAttributeMap
org.apache.portals.bridges.jsf.RequestHeaderValuesMap
This must be the set of properties available via the javax.portlet.PortletRequest methods getProperties() and getPropertyNames(). As such, HTTP headers will only be included if they were provided by the portlet container, and additional properties provided by the portlet container may also be included.
See MyFaces project for servlet implementation.
Nested Class Summary |
Nested classes inherited from class org.apache.portals.bridges.jsf.AbstractAttributeMap |
|
Nested classes inherited from class java.util.Map |
Map.Entry |
Field Summary | |
private javax.portlet.PortletRequest |
portletRequest
The portlet request. |
private Map |
valueCache
Value cache. |
Fields inherited from class org.apache.portals.bridges.jsf.AbstractAttributeMap |
|
Constructor Summary | |
(package private) |
RequestHeaderValuesMap(javax.portlet.PortletRequest portletRequest)
|
Method Summary | |
protected Object |
getAttribute(String key)
Gets an attribute given a key. |
protected Enumeration |
getAttributeNames()
Gets the attributes names. |
protected void |
removeAttribute(String key)
Removes an attribute. |
protected void |
setAttribute(String key,
Object value)
Sets an attribute given a key/value. |
private String[] |
toArray(Enumeration e)
|
Methods inherited from class org.apache.portals.bridges.jsf.AbstractAttributeMap |
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Field Detail |
private final javax.portlet.PortletRequest portletRequest
private final Map valueCache
Constructor Detail |
RequestHeaderValuesMap(javax.portlet.PortletRequest portletRequest)
portletRequest
- The PortletRequest
.Method Detail |
protected Object getAttribute(String key)
AbstractAttributeMap
Gets an attribute given a key.
getAttribute
in class AbstractAttributeMap
key
- The key.
AbstractAttributeMap.getAttribute(java.lang.String)
protected void setAttribute(String key, Object value)
AbstractAttributeMap
Sets an attribute given a key/value.
setAttribute
in class AbstractAttributeMap
key
- The key.value
- The value.AbstractAttributeMap.setAttribute(java.lang.String, java.lang.Object)
protected void removeAttribute(String key)
AbstractAttributeMap
Removes an attribute.
removeAttribute
in class AbstractAttributeMap
key
- The key.AbstractAttributeMap.removeAttribute(java.lang.String)
protected Enumeration getAttributeNames()
AbstractAttributeMap
Gets the attributes names.
getAttributeNames
in class AbstractAttributeMap
AbstractAttributeMap.getAttributeNames()
private String[] toArray(Enumeration e)
e
- The enumeration.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |