org.apache.myfaces.context.servlet
Class CookieMap

java.lang.Object
  extended by java.util.AbstractMap<java.lang.String,V>
      extended by org.apache.myfaces.util.AbstractAttributeMap<javax.servlet.http.Cookie>
          extended by org.apache.myfaces.context.servlet.CookieMap
All Implemented Interfaces:
java.util.Map<java.lang.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
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Method Summary
 void clear()
           
 boolean containsValue(java.lang.Object findValue)
           
protected  javax.servlet.http.Cookie getAttribute(java.lang.String key)
           
protected  java.util.Enumeration<java.lang.String> getAttributeNames()
           
 boolean isEmpty()
           
 void putAll(java.util.Map t)
           
protected  void removeAttribute(java.lang.String key)
           
protected  void setAttribute(java.lang.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 java.util.Map<java.lang.String,javax.servlet.http.Cookie>
Overrides:
clear in class AbstractAttributeMap<javax.servlet.http.Cookie>

containsValue

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

isEmpty

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

size

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

putAll

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

getAttribute

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

setAttribute

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

removeAttribute

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

getAttributeNames

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


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