org.apache.myfaces.context.servlet
Class CookieMap

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

public final class CookieMap
extends AbstractAttributeMap<javax.servlet.http.Cookie>

HttpServletRequest Cookies as Map.

Version:
$Revision: 1000662 $ $Date: 2010-09-23 18:11:42 -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 containsValue(Object findValue)
           
protected  javax.servlet.http.Cookie getAttribute(String key)
           
protected  Enumeration<String> getAttributeNames()
           
 boolean isEmpty()
           
 void putAll(Map t)
           
protected  void removeAttribute(String key)
           
protected  void setAttribute(String key, javax.servlet.http.Cookie 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,javax.servlet.http.Cookie>
Overrides:
clear in class AbstractAttributeMap<javax.servlet.http.Cookie>

containsValue

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

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<String,javax.servlet.http.Cookie>
Overrides:
isEmpty in class AbstractAttributeMap<javax.servlet.http.Cookie>

size

public int size()
Specified by:
size in interface Map<String,javax.servlet.http.Cookie>
Overrides:
size in class AbstractAttributeMap<javax.servlet.http.Cookie>

putAll

public void putAll(Map t)
Specified by:
putAll in interface Map<String,javax.servlet.http.Cookie>
Overrides:
putAll in class AbstractAttributeMap<javax.servlet.http.Cookie>

getAttribute

protected javax.servlet.http.Cookie getAttribute(String key)
Specified by:
getAttribute in class AbstractAttributeMap<javax.servlet.http.Cookie>

setAttribute

protected void setAttribute(String key,
                            javax.servlet.http.Cookie value)
Specified by:
setAttribute in class AbstractAttributeMap<javax.servlet.http.Cookie>

removeAttribute

protected void removeAttribute(String key)
Specified by:
removeAttribute in class AbstractAttributeMap<javax.servlet.http.Cookie>

getAttributeNames

protected Enumeration<String> getAttributeNames()
Specified by:
getAttributeNames in class AbstractAttributeMap<javax.servlet.http.Cookie>


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