|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.binding.collection.StringKeyedMapAdapter
org.springframework.faces.webflow.context.portlet.RequestPropertyMap
public class RequestPropertyMap
Map backed by a PortletContext for accessing Portlet request properties. Request properties can have multiple values.
The setUseArrayForMultiValueAttributes(Boolean) property allows choosing whether the map
will return:
PortletRequest.getProperty(String),
PortletRequest.getProperties(String)| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
RequestPropertyMap(javax.portlet.PortletRequest portletRequest)
|
|
| Method Summary | |
|---|---|
protected java.lang.Object |
getAttribute(java.lang.String key)
Hook method that needs to be implemented by concrete subclasses. |
protected java.util.Iterator<java.lang.String> |
getAttributeNames()
Hook method that needs to be implemented by concrete subclasses. |
protected void |
removeAttribute(java.lang.String key)
Hook method that needs to be implemented by concrete subclasses. |
protected void |
setAttribute(java.lang.String key,
java.lang.Object value)
Hook method that needs to be implemented by concrete subclasses. |
void |
setUseArrayForMultiValueAttributes(java.lang.Boolean useArrayForMultiValueAttributes)
This property allows choosing what kind of attributes the map will return: String - selects the first element in case of multiple values String[] - wraps single-values attributes as array String or String[] - depends on the values of the property The above choices correspond to the following values for useArrayForMultiValueAttributes: False True null |
java.lang.Boolean |
useArrayForMultiValueAttributes()
|
| Methods inherited from class org.springframework.binding.collection.StringKeyedMapAdapter |
|---|
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 |
| Constructor Detail |
|---|
public RequestPropertyMap(javax.portlet.PortletRequest portletRequest)
| Method Detail |
|---|
public void setUseArrayForMultiValueAttributes(java.lang.Boolean useArrayForMultiValueAttributes)
useArrayForMultiValueAttributes - public java.lang.Boolean useArrayForMultiValueAttributes()
protected java.lang.Object getAttribute(java.lang.String key)
StringKeyedMapAdapter
getAttribute in class StringKeyedMapAdapterkey - the key to lookup
protected void setAttribute(java.lang.String key,
java.lang.Object value)
StringKeyedMapAdapter
setAttribute in class StringKeyedMapAdapterkey - the key to associate the value withvalue - the value to associate with the keyprotected void removeAttribute(java.lang.String key)
StringKeyedMapAdapter
removeAttribute in class StringKeyedMapAdapterkey - the key to removeprotected java.util.Iterator<java.lang.String> getAttributeNames()
StringKeyedMapAdapter
getAttributeNames in class StringKeyedMapAdapter
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||