org.apache.commons.jxpath.servlet
Class HttpSessionHandler
java.lang.Object
org.apache.commons.jxpath.servlet.ServletContextHandler
org.apache.commons.jxpath.servlet.HttpSessionHandler
- All Implemented Interfaces:
- DynamicPropertyHandler
- Direct Known Subclasses:
- ServletRequestHandler
public class HttpSessionHandler
- extends ServletContextHandler
Implementation of the DynamicPropertyHandler
interface that provides access to attributes of a @{link HttpSession}.
- Version:
- $Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
- Author:
- Dmitri Plotnikov
Method Summary |
protected void |
collectPropertyNames(java.util.HashSet set,
java.lang.Object bean)
Collect the property names from bean, storing in set. |
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 bean,
java.lang.String property,
java.lang.Object value)
Modifies the value of the specified dynamic property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpSessionHandler
public HttpSessionHandler()
collectPropertyNames
protected void collectPropertyNames(java.util.HashSet set,
java.lang.Object bean)
- Description copied from class:
ServletContextHandler
- Collect the property names from bean, storing in set.
- Overrides:
collectPropertyNames
in class ServletContextHandler
- Parameters:
set
- destinationbean
- to read
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 ServletContextHandler
- Parameters:
bean
- to searchproperty
- to retrieve
- Returns:
- Object
setProperty
public void setProperty(java.lang.Object bean,
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 ServletContextHandler
- Parameters:
bean
- to modifyproperty
- to modifyvalue
- to set
Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.