rwsf::FilterConfigrwsf::Config
#include rwsf/servlet/FilterConfig.h
rwsf::FilterConfig contains the configuration information provided in the deployment descriptor of a given filter. After a filter is initialized, the filter accesses configuration information by using the getFilterConfig() method of rwsf::Filter. This class provides a function that returns the filter name, and inherits functions for working with initialization parameters and the filter context.
The following table lists methods that are either non-standard or not supported at this release.
getInitParameter(std::string) |
In the HydraExpress implementation, this member is included in base class rwsf::Config |
getInitParameterName() |
In the HydraExpress implementation, this member is included in base class rwsf::Config |
getServletContext() |
In the HydraExpress implementation, this member is included in base class rwsf::Config |
FilterConfig();
Creates an empty, invalid instance. Use the assignment operator or copy constructor to create valid instances.
FilterConfig(const FilterConfig & config);
Attaches to and increments the reference count on config's body.
tor or copy constructor to create valid instances.
FilterConfig(rwsf::FilterConfigImp * impl);
Attaches to and increments the reference count on impl.
virtual ~FilterConfig();
Detaches from the current body (if any), decrements its reference count, and deletes it if there are no other references.
std::string getFilterName() const;
Returns the name of this filter as defined by the filter-name element of the deployment descriptor.
rwsf::ServletContext getServletContext() const;
Returns the servlet context for this object. This is a convenience function equivalent to calling getServletConfig().getServletContext().
FilterConfig & operator=(const FilterConfig & second);
Detaches from the current body (if any), decrements its reference count, deletes it if there are no other references, and then attaches to second's body and increments its reference count.
© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.