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
Implementation of the
DynamicPropertyHandler
interface that provides access to attributes of a @{link HttpSession}.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
collectPropertyNames
(HashSet<String> set, Object bean) Collect the property names from bean, storing in set.getProperty
(Object bean, String property) Returns the value of the specified dynamic property.void
setProperty
(Object bean, String property, Object value) Modifies the value of the specified dynamic property.Methods inherited from class org.apache.commons.jxpath.servlet.ServletContextHandler
getPropertyNames
-
Constructor Details
-
HttpSessionHandler
public HttpSessionHandler()Constructs a new instance.
-
-
Method Details
-
collectPropertyNames
Description copied from class:ServletContextHandler
Collect the property names from bean, storing in set.- Overrides:
collectPropertyNames
in classServletContextHandler
- Parameters:
set
- destinationbean
- to read
-
getProperty
Description copied from interface:DynamicPropertyHandler
Returns the value of the specified dynamic property.- Specified by:
getProperty
in interfaceDynamicPropertyHandler
- Overrides:
getProperty
in classServletContextHandler
- Parameters:
bean
- to searchproperty
- to retrieve- Returns:
- Object
-
setProperty
Description copied from interface:DynamicPropertyHandler
Modifies the value of the specified dynamic property.- Specified by:
setProperty
in interfaceDynamicPropertyHandler
- Overrides:
setProperty
in classServletContextHandler
- Parameters:
bean
- to modifyproperty
- to modifyvalue
- to set
-