public class HttpServletRequestMap extends StringKeyedMapAdapter<java.lang.Object>
| Constructor and Description |
|---|
HttpServletRequestMap(javax.servlet.http.HttpServletRequest request)
Create a new map wrapping the attributes of given request.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuespublic HttpServletRequestMap(javax.servlet.http.HttpServletRequest request)
protected java.lang.Object getAttribute(java.lang.String key)
StringKeyedMapAdaptergetAttribute in class StringKeyedMapAdapter<java.lang.Object>key - the key to lookupprotected void setAttribute(java.lang.String key,
java.lang.Object value)
StringKeyedMapAdaptersetAttribute in class StringKeyedMapAdapter<java.lang.Object>key - the key to associate the value withvalue - the value to associate with the keyprotected void removeAttribute(java.lang.String key)
StringKeyedMapAdapterremoveAttribute in class StringKeyedMapAdapter<java.lang.Object>key - the key to removeprotected java.util.Iterator<java.lang.String> getAttributeNames()
StringKeyedMapAdaptergetAttributeNames in class StringKeyedMapAdapter<java.lang.Object>