| |
|
| java.lang.Object java.util.AbstractMap com.opensymphony.webwork.portlet.PortletRequestMap
PortletRequestMap | public class PortletRequestMap extends AbstractMap (Code) | | A simple implementation of the
java.util.Map interface to handle a collection of request attributes.
author: Nils-Helge Garli |
Method Summary | |
public void | clear() Removes all attributes from the request as well as clears entries in this
map. | public Set | entrySet() Returns a Set of attributes from the portlet request. | public Object | get(Object key) Returns the request attribute associated with the given key or
null if it doesn't exist.
Parameters: key - the name of the request attribute. | public Object | put(Object key, Object value) Saves an attribute in the request.
Parameters: key - the name of the request attribute. Parameters: value - the value to set. | public Object | remove(Object key) Removes the specified request attribute.
Parameters: key - the name of the attribute to remove. |
PortletRequestMap | public PortletRequestMap(PortletRequest request)(Code) | | Saves the request to use as the backing for getting and setting values
Parameters: request - the portlet request. |
clear | public void clear()(Code) | | Removes all attributes from the request as well as clears entries in this
map.
|
entrySet | public Set entrySet()(Code) | | Returns a Set of attributes from the portlet request.
a Set of attributes from the portlet request. |
get | public Object get(Object key)(Code) | | Returns the request attribute associated with the given key or
null if it doesn't exist.
Parameters: key - the name of the request attribute. the request attribute or null if it doesn't exist. |
put | public Object put(Object key, Object value)(Code) | | Saves an attribute in the request.
Parameters: key - the name of the request attribute. Parameters: value - the value to set. the object that was just set. |
remove | public Object remove(Object key)(Code) | | Removes the specified request attribute.
Parameters: key - the name of the attribute to remove. the value that was removed or null if the value wasnot found (and hence, not removed). |
|
|
|