Class CookieMap
- java.lang.Object
-
- java.util.AbstractMap<String,V>
-
- org.apache.myfaces.util.lang.AbstractAttributeMap<Object>
-
- org.apache.myfaces.context.servlet.CookieMap
-
public final class CookieMap extends AbstractAttributeMap<Object>
HttpServletRequest Cookies as Map.- Version:
- $Revision$ $Date$
- Author:
- Dimitry D'hondt, Anton Koinov
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsValue(Object findValue)protected ObjectgetAttribute(String key)protected Enumeration<String>getAttributeNames()booleanisEmpty()voidputAll(Map<? extends String,? extends Object> t)protected voidremoveAttribute(String key)protected voidsetAttribute(String key, Object value)intsize()-
Methods inherited from class org.apache.myfaces.util.lang.AbstractAttributeMap
containsKey, entrySet, get, keySet, put, remove, values
-
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
clear
public void clear()
-
containsValue
public boolean containsValue(Object findValue)
- Specified by:
containsValuein interfaceMap<String,Object>- Overrides:
containsValuein classAbstractAttributeMap<Object>
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
getAttribute
protected Object getAttribute(String key)
- Specified by:
getAttributein classAbstractAttributeMap<Object>
-
setAttribute
protected void setAttribute(String key, Object value)
- Specified by:
setAttributein classAbstractAttributeMap<Object>
-
removeAttribute
protected void removeAttribute(String key)
- Specified by:
removeAttributein classAbstractAttributeMap<Object>
-
getAttributeNames
protected Enumeration<String> getAttributeNames()
- Specified by:
getAttributeNamesin classAbstractAttributeMap<Object>
-
-