org.springframework.webflow.context.servlet
Class HttpServletRequestMap

java.lang.Object
  extended by org.springframework.binding.collection.StringKeyedMapAdapter
      extended by org.springframework.webflow.context.servlet.HttpServletRequestMap
All Implemented Interfaces:
java.util.Map

public class HttpServletRequestMap
extends org.springframework.binding.collection.StringKeyedMapAdapter

Map backed by the Servlet HTTP request attribute map for accessing request local attributes.

Author:
Keith Donald

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
HttpServletRequestMap(javax.servlet.http.HttpServletRequest request)
          Create a new map wrapping the attributes of given request.
 
Method Summary
protected  java.lang.Object getAttribute(java.lang.String key)
           
protected  java.util.Iterator getAttributeNames()
           
protected  void removeAttribute(java.lang.String key)
           
protected  void setAttribute(java.lang.String key, java.lang.Object value)
           
 
Methods inherited from class org.springframework.binding.collection.StringKeyedMapAdapter
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

HttpServletRequestMap

public HttpServletRequestMap(javax.servlet.http.HttpServletRequest request)
Create a new map wrapping the attributes of given request.

Method Detail

getAttribute

protected java.lang.Object getAttribute(java.lang.String key)
Specified by:
getAttribute in class org.springframework.binding.collection.StringKeyedMapAdapter

setAttribute

protected void setAttribute(java.lang.String key,
                            java.lang.Object value)
Specified by:
setAttribute in class org.springframework.binding.collection.StringKeyedMapAdapter

removeAttribute

protected void removeAttribute(java.lang.String key)
Specified by:
removeAttribute in class org.springframework.binding.collection.StringKeyedMapAdapter

getAttributeNames

protected java.util.Iterator getAttributeNames()
Specified by:
getAttributeNames in class org.springframework.binding.collection.StringKeyedMapAdapter


Copyright © 2004-2007. All Rights Reserved.