org.apache.commons.jxpath.servlet
Class ServletRequestHandler

java.lang.Object
  extended byorg.apache.commons.jxpath.servlet.ServletContextHandler
      extended byorg.apache.commons.jxpath.servlet.HttpSessionHandler
          extended byorg.apache.commons.jxpath.servlet.ServletRequestHandler
All Implemented Interfaces:
DynamicPropertyHandler

public class ServletRequestHandler
extends HttpSessionHandler

Implementation of the DynamicPropertyHandler interface that provides access to attributes and parameters of a ServletRequest.

Version:
$Revision: 1.6 $ $Date: 2004/05/08 15:10:49 $
Author:
Dmitri Plotnikov

Field Summary
 
Fields inherited from class org.apache.commons.jxpath.servlet.ServletContextHandler
 
Constructor Summary
ServletRequestHandler()
           
 
Method Summary
protected  void collectPropertyNames(java.util.HashSet set, java.lang.Object bean)
           
 java.lang.Object getProperty(java.lang.Object bean, java.lang.String property)
          Returns the value of the specified dynamic property.
 void setProperty(java.lang.Object request, java.lang.String property, java.lang.Object value)
          Modifies the value of the specified dynamic property.
 
Methods inherited from class org.apache.commons.jxpath.servlet.ServletContextHandler
getPropertyNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletRequestHandler

public ServletRequestHandler()
Method Detail

collectPropertyNames

protected void collectPropertyNames(java.util.HashSet set,
                                    java.lang.Object bean)
Overrides:
collectPropertyNames in class HttpSessionHandler

getProperty

public java.lang.Object getProperty(java.lang.Object bean,
                                    java.lang.String property)
Description copied from interface: DynamicPropertyHandler
Returns the value of the specified dynamic property.

Specified by:
getProperty in interface DynamicPropertyHandler
Overrides:
getProperty in class HttpSessionHandler

setProperty

public void setProperty(java.lang.Object request,
                        java.lang.String property,
                        java.lang.Object value)
Description copied from interface: DynamicPropertyHandler
Modifies the value of the specified dynamic property.

Specified by:
setProperty in interface DynamicPropertyHandler
Overrides:
setProperty in class HttpSessionHandler