org.apache.myfaces.context.servlet
Class CookieMap

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

public class CookieMap
extends AbstractAttributeMap

HttpServletRequest Cookies as Map.

Version:
$Revision: 1000660 $ $Date: 2010-09-23 18:02:43 -0500 (Thu, 23 Sep 2010) $
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 containsKey(Object key)
           
 boolean containsValue(Object findValue)
           
protected  Object getAttribute(String key)
           
protected  Enumeration getAttributeNames()
           
 boolean isEmpty()
           
 void putAll(Map t)
           
protected  void removeAttribute(String key)
           
protected  void setAttribute(String key, Object value)
           
 int size()
           
 
Methods inherited from class org.apache.myfaces.util.AbstractAttributeMap
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
Overrides:
clear in class AbstractAttributeMap

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map
Overrides:
containsKey in class AbstractAttributeMap

containsValue

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

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map
Overrides:
isEmpty in class AbstractAttributeMap

size

public int size()
Specified by:
size in interface Map
Overrides:
size in class AbstractAttributeMap

putAll

public void putAll(Map t)
Specified by:
putAll in interface Map
Overrides:
putAll in class AbstractAttributeMap

getAttribute

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

setAttribute

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

removeAttribute

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

getAttributeNames

protected Enumeration getAttributeNames()
Specified by:
getAttributeNames in class AbstractAttributeMap


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