|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.AbstractMap
com.opensymphony.webwork.dispatcher.RequestMap
A simple implementation of the Map interface to handle a collection of request attributes.
| Nested Class Summary |
| Nested classes inherited from class java.util.Map |
Map.Entry |
| Constructor Summary | |
RequestMap(HttpServletRequest request)
Saves the request to use as the backing for getting and setting values |
|
| Method Summary | |
void |
clear()
Removes all attributes from the request as well as clears entries in this map. |
Set |
entrySet()
Returns a Set of attributes from the http request. |
Object |
get(Object key)
Returns the request attribute associated with the given key or null if it doesn't exist. |
Object |
put(Object key,
Object value)
Saves an attribute in the request. |
Object |
remove(Object key)
Removes the specified request attribute. |
| Methods inherited from class java.util.AbstractMap |
clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, size, toString, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RequestMap(HttpServletRequest request)
request - the http servlet request.| Method Detail |
public void clear()
clear in interface Mappublic Set entrySet()
entrySet in interface Mappublic Object get(Object key)
get in interface Mapkey - the name of the request attribute.
public Object put(Object key,
Object value)
put in interface Mapkey - the name of the request attribute.value - the value to set.
public Object remove(Object key)
remove in interface Mapkey - the name of the attribute to remove.
|
WebWork Project Page | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||