public class RequestMap extends AbstractMap<String,Object> implements Serializable
Map interface to handle a collection of request attributes.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
| RequestMap(javax.servlet.http.HttpServletRequest request)Saves the request to use as the backing for getting and setting values | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clear()Removes all attributes from the request as well as clears entries in this map. | 
| Set<Map.Entry<String,Object>> | 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(String key,
   Object value)Saves an attribute in the request. | 
| Object | remove(Object key)Removes the specified request attribute. | 
clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic RequestMap(javax.servlet.http.HttpServletRequest request)
request - the http servlet request.public void clear()
public Set<Map.Entry<String,Object>> entrySet()
public Object get(Object key)
Copyright © 2000–2025 Apache Software Foundation. All rights reserved.