Class ServletRequestHandler
- java.lang.Object
-
- org.apache.commons.jxpath.servlet.ServletContextHandler
-
- org.apache.commons.jxpath.servlet.HttpSessionHandler
-
- org.apache.commons.jxpath.servlet.ServletRequestHandler
-
- All Implemented Interfaces:
DynamicPropertyHandler
public class ServletRequestHandler extends HttpSessionHandler
Implementation of theDynamicPropertyHandlerinterface that provides access to attributes and parameters of aServletRequest.- Version:
- $Revision: 652848 $ $Date: 2008-05-02 12:53:50 -0500 (Fri, 02 May 2008) $
- Author:
- Dmitri Plotnikov
-
-
Constructor Summary
Constructors Constructor Description ServletRequestHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcollectPropertyNames(java.util.HashSet set, java.lang.Object bean)Collect the property names from bean, storing in set.java.lang.ObjectgetProperty(java.lang.Object bean, java.lang.String property)Returns the value of the specified dynamic property.voidsetProperty(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
-
-
-
-
Method Detail
-
collectPropertyNames
protected void collectPropertyNames(java.util.HashSet set, java.lang.Object bean)Description copied from class:ServletContextHandlerCollect the property names from bean, storing in set.- Overrides:
collectPropertyNamesin classHttpSessionHandler- Parameters:
set- destinationbean- to read
-
getProperty
public java.lang.Object getProperty(java.lang.Object bean, java.lang.String property)Description copied from interface:DynamicPropertyHandlerReturns the value of the specified dynamic property.- Specified by:
getPropertyin interfaceDynamicPropertyHandler- Overrides:
getPropertyin classHttpSessionHandler- Parameters:
bean- to searchproperty- to retrieve- Returns:
- Object
-
setProperty
public void setProperty(java.lang.Object request, java.lang.String property, java.lang.Object value)Description copied from interface:DynamicPropertyHandlerModifies the value of the specified dynamic property.- Specified by:
setPropertyin interfaceDynamicPropertyHandler- Overrides:
setPropertyin classHttpSessionHandler- Parameters:
request- to modifyproperty- to modifyvalue- to set
-
-