org.apache.myfaces.context.servlet
Class RequestHeaderMap

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

public final class RequestHeaderMap
extends AbstractAttributeMap<String>

HttpServletRequest headers as Map.

Version:
$Revision: 1000662 $ $Date: 2010-09-23 18:11:42 -0500 (Thu, 23 Sep 2010) $
Author:
Anton Koinov (latest modification by $Author: lu4242 $)

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()
           
protected  String getAttribute(String key)
           
protected  Enumeration<String> getAttributeNames()
           
 void putAll(Map<? extends String,? extends String> t)
           
protected  void removeAttribute(String key)
           
protected  void setAttribute(String key, String value)
           
 
Methods inherited from class org.apache.myfaces.util.AbstractAttributeMap
containsKey, containsValue, entrySet, get, isEmpty, keySet, put, remove, size, 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

getAttribute

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

setAttribute

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

removeAttribute

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

getAttributeNames

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

putAll

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

clear

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


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