public abstract class StringKeyedMapAdapter
extends java.util.AbstractMap<java.lang.String,java.lang.Object>
String
values.Constructor and Description |
---|
StringKeyedMapAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all attributes from the request as well as clears entries in this map.
|
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> |
entrySet()
Returns a Set of attributes from the http request.
|
java.lang.Object |
get(java.lang.Object key)
Returns the request attribute associated with the given key or
null if it doesn't exist. |
protected abstract java.lang.Object |
getAttribute(java.lang.String key)
Hooks method that needs to be implemented by concrete subclasses.
|
protected abstract java.util.Iterator<java.lang.String> |
getAttributeNames()
Hook method that needs to be implemented by concrete subclasses.
|
java.lang.Object |
put(java.lang.String key,
java.lang.Object value)
Saves an attribute in the request.
|
java.lang.Object |
remove(java.lang.Object key)
Removes the specified request attribute.
|
protected abstract void |
removeAttribute(java.lang.String key)
Hooks method that needs to be implemented by concrete subclasses.
|
protected abstract void |
setAttribute(java.lang.String key,
java.lang.Object value)
Hooks method that needs to be implemented by concrete subclasses.
|
clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, size, toString, values
protected abstract java.lang.Object getAttribute(java.lang.String key)
protected abstract void setAttribute(java.lang.String key, java.lang.Object value)
protected abstract void removeAttribute(java.lang.String key)
protected abstract java.util.Iterator<java.lang.String> getAttributeNames()
public void clear()
clear
in interface java.util.Map<java.lang.String,java.lang.Object>
clear
in class java.util.AbstractMap<java.lang.String,java.lang.Object>
public java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> entrySet()
entrySet
in interface java.util.Map<java.lang.String,java.lang.Object>
entrySet
in class java.util.AbstractMap<java.lang.String,java.lang.Object>
public java.lang.Object get(java.lang.Object key)
null
if it doesn't exist.get
in interface java.util.Map<java.lang.String,java.lang.Object>
get
in class java.util.AbstractMap<java.lang.String,java.lang.Object>
public java.lang.Object put(java.lang.String key, java.lang.Object value)
put
in interface java.util.Map<java.lang.String,java.lang.Object>
put
in class java.util.AbstractMap<java.lang.String,java.lang.Object>
public java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map<java.lang.String,java.lang.Object>
remove
in class java.util.AbstractMap<java.lang.String,java.lang.Object>
Copyright © 2003-present Jodd Team