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: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
Author:
Anton Koinov (latest modification by $Author: bommel $)

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 © 2014 The Apache Software Foundation. All Rights Reserved.