org.apache.myfaces.webapp.filter.servlet
Class CookieMap

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

public class CookieMap
extends AbstractAttributeMap

HttpServletRequest Cookies as Map.

NOTE: This class was copied from myfaces impl org.apache.myfaces.context.servlet and it is used by TomahawkFacesContextWrapper. By that reason, it could change in the future.

Since:
1.1.7
Version:
$Revision: 691871 $ $Date: 2008-09-03 23:32:08 -0500 (Wed, 03 Sep 2008) $
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.webapp.filter.servlet.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.