org.apache.myfaces.context.servlet
Class CookieMap

java.lang.Object
  extended by java.util.AbstractMap<String,V>
      extended by org.apache.myfaces.util.AbstractAttributeMap<Object>
          extended by org.apache.myfaces.context.servlet.CookieMap
All Implemented Interfaces:
Map<String,Object>

public final class CookieMap
extends AbstractAttributeMap<Object>

HttpServletRequest Cookies as Map.

Version:
$Revision: 1188235 $ $Date: 2011-10-24 12:09:33 -0500 (Mon, 24 Oct 2011) $
Author:
Dimitry D'hondt, Anton Koinov

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 void clear()
           
 boolean containsValue(Object findValue)
           
protected  Object getAttribute(String key)
           
protected  Enumeration<String> getAttributeNames()
           
 boolean isEmpty()
           
 void putAll(Map<? extends String,? extends Object> t)
           
protected  void removeAttribute(String key)
           
protected  void setAttribute(String key, Object value)
           
 int size()
           
 
Methods inherited from class org.apache.myfaces.util.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
 

Method Detail

clear

public void clear()
Specified by:
clear in interface Map<String,Object>
Overrides:
clear in class AbstractAttributeMap<Object>

containsValue

public boolean containsValue(Object findValue)
Specified by:
containsValue in interface Map<String,Object>
Overrides:
containsValue in class AbstractAttributeMap<Object>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<String,Object>
Overrides:
isEmpty in class AbstractAttributeMap<Object>

size

public int size()
Specified by:
size in interface Map<String,Object>
Overrides:
size in class AbstractAttributeMap<Object>

putAll

public void putAll(Map<? extends String,? extends Object> t)
Specified by:
putAll in interface Map<String,Object>
Overrides:
putAll in class AbstractAttributeMap<Object>

getAttribute

protected Object getAttribute(String key)
Specified by:
getAttribute in class AbstractAttributeMap<Object>

setAttribute

protected void setAttribute(String key,
                            Object value)
Specified by:
setAttribute in class AbstractAttributeMap<Object>

removeAttribute

protected void removeAttribute(String key)
Specified by:
removeAttribute in class AbstractAttributeMap<Object>

getAttributeNames

protected Enumeration<String> getAttributeNames()
Specified by:
getAttributeNames in class AbstractAttributeMap<Object>


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.