org.apache.tiles.request.servlet.extractor
Class RequestScopeExtractor

java.lang.Object
  extended by org.apache.tiles.request.servlet.extractor.RequestScopeExtractor
All Implemented Interfaces:
Addable<Object>, AttributeExtractor, HasAddableKeys<Object>, HasKeys<Object>, HasRemovableKeys<Object>

public class RequestScopeExtractor
extends Object
implements AttributeExtractor

Extracts attributes from request scope.

Version:
$Rev: 1066499 $ $Date: 2011-02-02 10:33:34 -0500 (Wed, 02 Feb 2011) $

Constructor Summary
RequestScopeExtractor(javax.servlet.http.HttpServletRequest request)
          Constructor.
 
Method Summary
 Enumeration<String> getKeys()
           
 Object getValue(String key)
           
 void removeValue(String name)
           
 void setValue(String name, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestScopeExtractor

public RequestScopeExtractor(javax.servlet.http.HttpServletRequest request)
Constructor.

Parameters:
request - The servlet request.
Method Detail

setValue

public void setValue(String name,
                     Object value)
Specified by:
setValue in interface Addable<Object>

removeValue

public void removeValue(String name)
Specified by:
removeValue in interface HasRemovableKeys<Object>

getKeys

public Enumeration<String> getKeys()
Specified by:
getKeys in interface HasKeys<Object>

getValue

public Object getValue(String key)
Specified by:
getValue in interface HasKeys<Object>


Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.